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

Corinne Boswell
Corinne Boswell
5,095 Points

Got stuck on adding "alt" alternative to image.

This is what I put which I copied from the video. What am I missing?

<img src="img/featured-cupcake.jpg" alt="Avacado Choclate Cupcake">

What do you have..?

Looks like your code isn't showing up, here's a quick primer on how to type code in the forum

3 Answers

Corinne Boswell
Corinne Boswell
5,095 Points

Thanks for the answers. I didn't realize that my code wasn't showing up. Here it is again...

<div> <img src="img./featured-cupcake.jpg" alt="Avacado Choclate Cupcake" </div>

Corinne Boswell
Corinne Boswell
5,095 Points

I'm still trying to figure out why my code isn't working. Does anyone have a suggestion of what it's supposed to look like? I believe it should be like: <div> <img src="img/featured-cupcakes.jpg" alt="Avocado Chocolate Cupcake" </div>

Am I missing something?

Yes, you need to specify a code block with three backticks above and below

code

here, let's try....

...code...

Corinne Boswell
Corinne Boswell
5,095 Points

I just realized my mistake. No further input needed. Thanks to those that tried to help!