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

Tell us what’s happening:

My code doesn’t pass the test, it shows an error : that it should include the src attribute in the img element. I don’t understand the error, i have added the src attribute in the img element and i don’t notice any spelling errors either.

Your code so far

<!DOCTYPE html>
<html lang="en">

<!-- User Editable Region -->

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

<!-- User Editable Region -->

</html>

Your browser information:

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

Challenge Information:

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

extra dot at the end of the url that should not be there

3 Likes