Tell us what’s happening:
I’m not sure how to add a picture in a way that the test will accept please help
My code so far
<meta name="description" content="Free Web tutorials">
<meta name="author" content="John Doe">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title> Tribute Page</title>
<p> This page will be about fish </p>
<img id= imagesrc="pictures/fishsticks.jpg" alt="Fish sticks">
<p> Delicious looking fish sticks </p>
<p> This page is all about fish sticks. </p>
<a id="tribute-link" href="https://www.asweetpeachef.com/salmon-fish-sticks/" target="_blank">Visit a sweet pea!</a>
Your browser information:
User Agent is:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36.
Link to the challenge:
When needing to post an entire project, we recommend using a site like Codepen or JSFiddle and then share the link on the forum. That way, we can all remain on the same page if you make any adjustments to your code as we give you suggestions.
Yeah, I got frustrated on this test as well. I think I had to add a display: ??? for it to get it to pass the 8th user story. I don’t remember what, but it definitely was not grid. I think it was either flex or block.
Just one small thing here… looks like you are missing a slash at the end of your img tag. It should look like this:
<img id="image" src="pictures/fishsticks.jpg" alt="Fish sticks" />
First of all, you are not correctly assigning a value to the src attribute, because your id attribute’s value should be surrounded by double quotes like id=“image” and then put a space between id=“image” and src=
The img tag is a Void Element which is not required to be self-closing. The forward slash is optional. Other Void Elements include area, base, br, col, command, embed, hr, input, keygen, link, meta, param, source, track, wbr.