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

HTML

bahman sadeghi
bahman sadeghi
4,810 Points

correct answer but site says its incorrect

hi i am very excited to join this website. i did one of exercise correct but i find two problem, first site says it incorrect , second i couldn'tt do the 3 following question. my problem is in text editor and html part, 4 objective. say it smell like bakin and... is not exact what is should be , but i just copy it and know that it is exact one. and more important i couldt do next exercise .

2 Answers

bahman sadeghi
bahman sadeghi
4,810 Points

my first problem solve, but second remain,it means when one code is false we cant do next code.

Arsallan Shirvani
Arsallan Shirvani
3,852 Points

Hi!

I assume you mean the code challenge "Images and Lists"...

First of all you should never delete the code for the previous task. Second, read the objective very carefully and do exactly as it says. When it says add a title "Smells Like Bakin' Cupcake Company", you should write Smells Like Bakin' Cupcake Company. Notice how the double quotes are gone but the single quote is still there.

Next one, add a image, it says add the image cupcake.jpg from the folder img. You should write in the body <img src="img/cupcake.jpg">. Don't add the alt attribute if it doesn't say so.

The third objective, add empty unordered list, write <ul></ul> after the image element.

Last one, add three list items, you should write <li>About</li> etc. inside of the ul tags.

It is easy to misspell, miss to close tags properly and so on. Always check carefully for typos etc.

I know I shouldn't give you the answers for the challenge, but I did this so you will know how to handle the code challenges in the future. It is easy to misunderstand them. Just read carefully and do exactly as it says. Don't add anything extra if it doesn't say so, i.e. like the alt attribute in the img tag.