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 trialMarius Furnica
9,195 PointsHi guys why is written with red in the end of my html page[see the 3 img] even commentaries .[i use visual studio code]
Hi guys why is written with red in the end of my html page i mean the tags [see the third image] even commentaries .[i use visual studio code] https://imgur.com/a/uSz1Q https://imgur.com/a/Qb4xh https://imgur.com/a/zW3Xi
Like you see in the last image...i don't see the point i was thinking is about missing some div or something but is not..
2 Answers
Kieran Barker
15,028 PointsHi, Marius!
You need to replace this line of your code...
<input type="submit" class="btn-register value="Inregistrare">
...with this:
<input type="submit" class="btn-register" value="Inregistrare">
You missed out a quote mark after btn-register
.
Also, in your unordered list starting on line 52, you have a couple of <a>
tags as direct children. This is invalid, as if you view the MDN page, you'll see that the only permitted content as direct children is <li>
tags. If you want the <a>
tags, you should put them inside <li>
tags first. You can put anything in this category inside an <li>
tag.
I hope this helps!
Marius Furnica
9,195 Pointsgreat, thanks a lot