I’m trying to learn how to code & I’m going through the beginning stages & I’m on Step 12 & I cannot figure out the correct code to move along. Can someone assist me? Thanks!
Turn the words
cat photos located inside
p element into a link using the same value for the
href attribute as the link below the
p element. The
p element should show the same text in the browser, but the words
cat photos should now be a link. Make sure to remove the
a element with the text
cat photos on the line below the
Click here to view more cat photos.
The code above needs to be written correctly.
Tell us what’s happening:*
Describe your issue in detail here.
**Your code so far**
<html> <body> <h1>CatPhotoApp</h1> <main> <h2>Cat Photos</h2> <!-- TODO: Add link to cat photos --> <p>Click here to view more cat photos.</p> <a href="cat photos"></a> <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 browser information:**
User Agent is:
Mozilla/5.0 (X11; CrOS x86_64 14695.85.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.96.36.199 Safari/537.36
Challenge: Step 12
Link to the challenge: