HTML Academy
Previous task
Introduction to HTML and CSS1/4
Back to the list of challenges
  • 1. Setting the Classes
  • 2. The Classes Strike Back
  • 3. Challenge: Look for errors in the HTML
  • 4. Challenge: Look for errors in the CSS
The Classes Strike Back
  • Sign up
  • Log in

Register to take up challenges

Registration will only take a minute and let you save your study progress. You can register with your email and password or login via social networks.

or
Log in and continue
  • index.html
  • style.css
HTML
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Setting the Classes</title> <link rel="stylesheet" href="style.css"> </head> <body> <h1>Why choose me?</h1> <p class="">I myself was once a kitten. But look at me now.</p> <p class="">I have got the master fully trained.</p> <p class="">I have been a full-time professional cat for more than 5 years now.</p> </body> </html>
CSS
body { width: 250px; padding: 0; font-family: "Arial", sans-serif; font-size: 16px; line-height: 26px; color: #000000; } .large { font-size: 20px; } .red { color: red; } .uppercase { text-transform: uppercase; } .bordered { padding: 5px; border: 1px solid #000000; }

What didn’t you like in this task?

Thanks! We’ll fix everything at once!

100%
  • Goal
  • Result
  • Overlay
  • Differences
  • ?

Press Compare to send your code for review.

Failed to load the goal. Try later.

Goal — the interface you need to get.

Result — the way the server sees your code. Can differ from what you see in the mini-browser. The comparison is made between this result and the goal.

Overlay — semi-transparent result is shown above the goal.

Differences — the map of differences between the goal and the result.

Done 0%.
The code has been changed

Cookies ∙ Privacy ∙ License Agreement ∙ About ∙ Contacts ∙ © HTML Academy OÜ, 2019−2025

VISAMastercard