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 trialchloevarner
Courses Plus Student 285 PointsMore problems with imgs/links
<section> <ul> <li><a href="img/numbers-01.jpg"> <img src="img/numbers-01.jpg" alt=""></a></li> <li><a href="img/numbers-02.jpg"> <img src="img/numbers-02.jpg" alt=""></a></li> <li><a href="img/numbers-06.jpg"> <img src="img/numbers-06.jpg" alt=""></a></li> </ul> </section>
1 Answer
Luke Glazebrook
13,564 PointsHey Chloe!
The code you will need to insert an image is as follows.
<img src="img/numbers-01.jpg" alt="">
And then this is the code for links.
<a href="http://www.google.com">Link to Google</a>
Please note that you will have to change the file-path of the img element and the href attribute of the anchor element to what you want for your project. Otherwise they will try to link to what I have set them to.
-Luke