Tell us what’s happening:
Describe your issue in detail here.
Your code so far
Hey dear community,
Can you help me out with this one?
The challenge is:
“Add a target attribute with the value _blank to the anchor (a) element’s opening tag, so that the link opens in a new tab.”
I didn’t figure out whats wrong with my code.
“Your p element should have a nested anchor (a) element with the text cat photos. You may have deleted it or have a typo.” , is the hint.
It’s nested already and I checked other online help forums and cheat cheets.
<html> <body> <main> <h1>CatPhotoApp</h1> <h2>Cat Photos</h2> <!-- TODO: Add link to cat photos --> <p> Click here to view more <a target="_blank" href="https://freecatphotoapp.com"> cat photos.</a> </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 browser information:
User Agent is:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/188.8.131.52 Safari/537.36
Challenge: Learn HTML by Building a Cat Photo App - Step 14
Link to the challenge: