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 trialSavannah Jones
2,135 PointsKeeps saying "bummer. You need to set the "href" attribute of the 2nd <a> elements to 'pies.html'
In HTML basic challenge task 2 of 2. It says to make the text inside each item a link. the first item should link to cakes.html, the second to pies.html, and the third to candy.html. I'm writing all answers the same but it repeatedly says "bummer. You need to set the "href" attribute of the 2nd <a> elements to 'pies.html' I'm writing it like <a href="pies.html">pies</a> not sure what else to put.
2 Answers
Michael Kobela
Full Stack JavaScript Techdegree Graduate 19,570 PointsDid you try the preview feature to see that it worked OK before submitting? I just tried this:
<!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>
and it worked ok. Check what you have missing.
Jason Anders
Treehouse Moderator 145,860 PointsAlso check your case. The code checker is case-sensitive, so pies is not the same as Pies and will fail.
:)