What am I doing wrong here



Oops, try again. Make sure at least one of your images is also a link

<!DOCTYPE html>
		<img src="amazonaws.com/codecademy-blog/assets/f3a16fb6.jpg"/>
		<img src="https://s3.amazonaws.com/codecademy-blog/assets/ninja_zpsa5dbe37a.jpg" />
		<a href="https://www.codecademy.com"></a>


Hi harryslaughter615,

In the exercise they have mentioned that one of the image should also be a link. That means you have to nest one of the image tag inside anchor tag as shown below.

<a href="url"><img src="url" /> </a>

You have two image tags in your code. Wrap one of the tag with anchor tag.


You seem to be mistaking how to add a link to an image.
For example this is how it will be originally

<a href="url">You can add text here if you wish without quotes<img src="url"/>Also here but not</a>
[details=Summary]<a href="https://www.codecademy.com"><img src="https://s3.amazonaws.com/codecademy-blog/assets/ninja_zpsa5dbe37a.jpg"/></a>[/details]


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.