What am I doing wrong here


#1


https://www.codecademy.com/en/courses/web-beginner-en-HZA3b/2/5?curriculum_id=50579fb998b470000202dc8b


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


<!DOCTYPE html>
<html>
	<head>
		<title></title>
	</head>
	<body>
		<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>
		
	</body>
</html>


#3

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.


#5

Hello,
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]

#6

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