I need help with step 12 :it keeps sayig the anchor a element should be nested within the p element

Tell us what’s happening:
Describe your issue in detail here.

  **Your code so far**
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p>Click here to view more "https://freecatphotoapp.com".</p>
    <a href="https://freecatphotoapp.com".></a>
    <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back.">
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.63 Safari/537.36

Challenge: Step 12

Link to the challenge:

the task asked you to make the word cat photos into a link…
some elements called inline and thats like <strong> that makes font bold
so i have this
<p> click here to know more </p>
appears like this :

click here to know more

i want the word ‘here’ to be bold so i add strong element around the word here
<p> click <strong>here</strong> to know more </p>
which will appear like this :

click here to know more

now <a href=""> is the same.
inside the “” you write ur website URL and between your opening tag <a href=""> and closing tag </a> … you write the content the word u want to be link
<p> click <a href="">here</a> to know more </p>
which will appear like this:

click here to know more

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