Please click on the reset button (it may look like a circular arrow button) in order to retrieve the original code for this step.
Once you’ve done that, the original code will look like this:
<html>
<body>
<main>
<h1>CatPhotoApp</h1>
<h2>Cat Photos</h2>
<p>Everyone loves <a href="https://cdn.freecodecamp.org/curriculum/cat-photo-app/running-cats.jpg">cute cats</a> online!</p>
<p>See more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a> in our gallery.</p>
<img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back.">
</main>
</body>
</html>
Your goal is to add an anchor element.
The anchor element is supposed to encase the img element so that the img becomes clickable.
Here’s an example of a valid anchor element: <a href="www.google.com">Some Content Here</a>
Notice how the anchor element has an opening tag and a closing tag that surrounds Some Content Here which is the part we want to become a link?
Also notice that the opening tag has an href attribute?
The href attribute contains the value of the URL we want to go to when someone clicks our new link.
And notice the placement of the angled brackets? Each tag starts with a < and ends with a > (so in that example we have 4 angled brackets in total).
Make sure that when you add the new anchor tags, you write them in full with all their brackets and the href attribute