Im having trouble with the syntax for the height


im having trouble with the syntax for the height



google search


I have the same problem and I don't understand the solution provided by @leonhard_wettengmx_n (sorry, dude).

My code:
div { height:50px;
border-color: #6495ED;
background-color: #BCD2EE;
border-style: solid;
border-width: 2px;

And the warning:
" Oops, try again. Did you remember to give your div a height of 50px? It looks like it's 50.33334000000001px."


@williams_armani_wiza do the following:

Put your code like this:
div {
height: 50px;
width: 120px;
border-color: #6495ed;
background-color: #BCD2EE;

"Your border-style can be any type (dashed, solid, and so on) and you can use any border-width you want. (We like 2px.)"


I'm using Chrome.
font-size is 16.3636360168457px instead of 16px.
You have to enter the 'Settings' => 'Advanced settings' (in the very bottom)
and to chose 100% in the Page scale (in my browser it was 125%).


I am using Chrome.

I was having the same exact problem.

I reduced the size of the page, and then enlarged it (and continued trying to submit my work) until it worked.

Very strange, but now functioning properly.

Hope this helps ya out!
-james scott