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

Please I need help with this code. I can’t figure out what is wrong with it.

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

<!-- User Editable Region -->

  <head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title> Rothko Painting</title>
  </head>
  <body>
    <img src="https://cdn.freecodecamp.org/curriculum/css-box-model/diagram-1.pn" alt="">
  </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/109.0.0.0 Safari/537.36

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

Link to the challenge:

Your url address is not complete. The format of the image is .png. Take a look at the end of your src line, before the double quote. You have .on instead of .png.

Firstly, the value of the src attribute is missing a g after -1.pn" , before the ".
Secondly, at this stage, you’re not required to add the alt attribute, so delete alt=“”
I hope this helps.
Thank you.

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