Learn the CSS Box Model by Building a Rothko Painting - Step 2

Tell us what’s happening:
Describe your issue in detail here.
Why it the system does not let me pass even though my code looks like right to me? Can anyone help me? I’ve been stuck here. Thank you !

Your code so far

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8"/>
    <title>Rothko Painting<title/>
      <img scr="https://cdn.freecodecamp.org/curriculum/css-box-model/diagram-1.png"/>
  </head>
  <body>
  </body>
</html>

Your browser information:

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

Challenge: Learn the CSS Box Model by Building a Rothko Painting - Step 2

Link to the challenge:

src not scr
maybe fix that?

Some things to look into:

  1. Not sure if a forward slash (/) is needed for the meta tag (someone pls correct me if I’m off). Same with the title tag.

  2. Also, the < img > link needs to be inside the < body > tags, not the < head >.

Self closing tags don’t need the closing slash but it is not incorrect and doesn’t need to be corrected in this case.

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