Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialMalcolm Stretten
3,814 PointsThis code is RIGHT. I am getting angry because this stupid platform doesn't appear to allow you to move forward. It aske
Code challenge asked me to give emphasis to the words 'HTML Basics' by putting them in italics - THAT'S WHAT I DID. There is something wrong with the script and I don't want to hear some stupid bloody voice telling me what to do. Here is the code:
<!DOCTYPE html> <html> <head> <title>HTML Text</title> </head> <body> <p>Mike's favorite course is <i>HTML Basics</i></p> <p> <strong>Mike T. Frog</strong><br> 100 Lilypad Way<br> Portland, OR 97227 </p> </body> </html>
<!DOCTYPE html>
<html>
<head>
<title>HTML Text</title>
</head>
<body>
<p>Mike's favorite course is <i>HTML Basics</i></p>
<p>
<strong>Mike T. Frog</strong><br>
100 Lilypad Way<br>
Portland, OR 97227
</p>
</body>
</html>
3 Answers
Steven Parker
231,269 PointsI can see how this might seem right, since most browsers still display the old "<i>" element in italics. But the clue in the instructions as to what the challenge is looking for is the word "emphasis". According to MDN:
A browser will typically still display the contents of the <i> element in italic type, but is, by definition, no longer required to.
...
Use <em> to indicate stress emphasis.
Give it another try with this in mind.
Guil Hernandez
Treehouse TeacherHi there, Malcolm Stretten. The course teaches you to use the <em>
element to stress emphasis. Hope this helps. :)
Malcolm Stretten
3,814 PointsOk, fair enough but surely the script should allow either to pass or at least say that although <i> does work that the preferred tag is <em>? But my main gripe is that the script will not let you proceed - you cannot skip the quiz even if you want to.
Steven Parker
231,269 PointsYou can always skip a quiz, or any course step. Look at the stage progress bar at the top of the page with the circles on it, the circle representing the current step has a ring around it. Just click on the next circle.