Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

HTML

Need Help

So, I've completed all of "How to Make a Website" on the Rails Development track, except for 2 objectives under "Creating HTML Content" which I keep getting stumped on.

The first task asks me to create an unordered list, and to leave it blank (for the image gallery), which I get through fine. The second task then asks me to add images in each list item, and to leave alt tags empty, so I add image tags in between the list tags:

<img src="img/numbers-01.jpg" alt=""

(I took out the ">" because otherwise the HTML wouldn't show up in the forum)

The issue is that when I try to move on, it gives me the error "task 1 is no longer passing."

Any help is appreciated

Thank you

7 Answers

Try removing the nav tags surrounding your unordered list. They shouldn't be there.

Thank you!

Hi Marlo,

From your example above, there seems to be nothing wrong with your img tag. Where are you placing the img tag within the list tag? Give me an example of the code you are entering.

What you have looks right, but could you show us the code you used? Just based on what you said, It could be something as simple as removing something by accident (bracket, tag, etc). Look back over your code and make sure nothing is missing.

http://postimg.org/image/6t2ref8e1/

Here's a link of a screenshot, this should help.

Thank you

Remove the nav tags from inside your section element. If this case, you only want the nav tag for your navigation menu.

Chet is correct, nav is strictly to define a set of navigation links and intended for major blocks of navigation. You don't need to use it for any lists that go outside of this criteria.

Not a problem, happy to help :)