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 trialAlfred Colmenares
789 Pointsneed help with this i need to create links for the list items below and it is not taking my answers.
i am stuck in this challenge please help.
<!DOCTYPE html>
<html>
<head>
<title>Lists and Links</title>
</head>
<body>
<ul>
<li><a href="cakes.html">Cakes</a></li>
<li><a href="pies.html">Pies</a></li>
<li><a href="candy.html">Candy</a></li>
</ul>
</body>
</html>
Alfred Colmenares
789 Pointsi did this and still not working <li><a href="cakes.html">cakes<a/></li>
i think it is something else?
this is the challenge question Challenge Task 2 of 2 Make the text inside each list item a link. The first item should link to cakes.html, the second to pies.html and the third to candy.html.
help guys
Goh Khee Hao
Front End Web Development Techdegree Graduate 21,877 PointsHi Alfred, the closing tag for <a> should be </a>, NOT like this <a/>. You just need to change the " / "position
Stanley Nkosi
4,233 PointsHi Goh, T hank you for the answer.I have done exactly what you have done. I think,its something else and I want to move.I cannot wait here for ages and ages .All the same,Goh thanks.
4 Answers
Gerald Ford
7,104 PointsHey Alfred! You are actually correct. You can refresh the page because I did so and it accepted the code.
Alfred Colmenares
789 Pointsthanks mate
Alfred Colmenares
789 PointsHi my friend. I did but still not working. Do you see anything else
Goh Khee Hao
Front End Web Development Techdegree Graduate 21,877 PointsTry this answer, I have redo the task for you already. Try compare my answer, hope can fix your problem
<!DOCTYPE html> <html> <head> <title>Lists and Links</title> </head> <body> <ul> <li><a href="cakes.html">Cakes</a></li> <li><a href="pies.html">Pies</a></li> <li><a href="candy.html">Candy</a></li> </ul>
</body> </html>
Alfred Colmenares
789 Pointsstill not letting me pass the challenge, would it be a glithch possibly? look at the above script that is how i have it and i have done everything correctly and stil not letting me.
Gerald Ford
7,104 PointsYou welcome Alfred.
Goh Khee Hao
Front End Web Development Techdegree Graduate 21,877 PointsGoh Khee Hao
Front End Web Development Techdegree Graduate 21,877 PointsHi, I think you're missing </a>, the closing tag for the <a>. Try add like this (*after the Cakes, Pies, and Candy) :
<li><a href="cakes.html">Cakes</a></li> <li><a href="pies.html">Pies</a></li> <li><a href="candy.html">Candy</a></li>