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 trial


Huns K
Huns K
2,854 Points

Challenge 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.

Elijah Gartin
Elijah Gartin
13,182 Points

Are 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?


1 Answer

Omer Asadullah
Omer Asadullah
10,415 Points

Many 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.