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 trialHuns K
2,854 PointsChallenge task code to fix in website unordered list
I just wrote the first tags ul with two li and /li without the closing /ul and it was telling me correct.
1 Answer
Omer Asadullah
10,415 PointsMany times things work in html and css without following the rules and tags can work without closing them. However, in order to write quality code we have to follow the rules so that others could comprehend what we have written. As a side note, things may work now by breaking rules but later on poor coding will create problems when the site is launched or when it becomes more complicated and sophisticated. The challenge task is saying it correct because it is getting the required results.
Elijah Gartin
13,182 PointsElijah Gartin
13,182 PointsAre you mentioning this because it is something that need to be fixed?
I'm guessing your code looked like this without the closing tag for the unordered list?