Tell us what’s happening:
Describe your issue in detail here.
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
I got the “cat photos” in line 7 to become a link. The next step is where I am having trouble. It says to remove the “a” element but when I was messing with the a elements on line 8, I could not get rid of either “<a href” or “” without it looking off in the preview.
I am very new to coding and know little to nothing about this and have been stuck on this step for 2 days now. Any help would be appreciated!
**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 <a href="cat photos"</p> <a href="https://freecatphotoapp.com">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 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.61 Safari/537.36
Challenge: Step 12
Link to the challenge: