Step 8 challenge

challenge step 8:
am given a hint that a space should exist between the element and src but after doing so still i can not move to the next step.

  **Your code so far**

    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p>Click here to view more cat photos.</p>
    src= "">
  **Your browser information:**

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

Challenge: Step 8

Link to the challenge:

src= "">

You are not able to move to next step, because your duplicating the img element.

You should remove one of img attribute in the above syntax.

1 Like

Ditto to ksl1816. Unlike <p> and <body> and <html>. <img> doesn’t need another tag to close it. Like you need <p>Hello</p>. Image you just need one <img>. Google “self closing tags HTML” to get a list.

1 Like

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