Did you remember to give your div a width of 120px? It looks like it's 1264px


#1



https://www.codecademy.com/courses/web-beginner-en-UuBLw/0/2?curriculum_id=50579fb998b470000202dc8b


I keep getting the message, "Did you remember to give your div a width of 120px? It looks like it's 1264px." Originally I got the same message about height but it said it looked like it was 54px, so I changed to 46px and that fixed it. However, no matter what number I put for the width, it thinks I have 1234px.


 
<!DOCTYPE html>
<html>
    <head>
        <link type="text/css" rel="stylesheet" href="stylesheet.css"/>
        <title>About Me</title>
    </head>
    <body>
        <img src="https://s3.amazonaws.com/codecademy-blog/assets/46838757.png"/>
        <p>We're Codecademy! We're here to help you learn to code.</p><br/><br/>
        <div>
        <div style="width:120px; height:46px; border-color:#6495ED; background-color:#BCD2EE; border-style:dashed; border-width:2px"></div>    
        </div>
        
    </body>
</html>


#2

In this lesson you were required to change the width, height, ect. using CSS, not in the HTML file. Also, you weren't supposed to have a div within your first div, so delete the nested div. To add the style, go to your CSS page and enter the following:

div {
  width: 120px;
  height: 46px;
  border-color: #6495ED;
  background-color: #BCD2EE;
  border-style: dashed;
  border-width: 2px;
}

Does that make sense?


#3

Why did you nest a div inside a div? This is not required