Add height to the button failed


#1

<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>
2. Drawin your button

<In what way does your code behave incorrectly? Include ALL error messages.>
“Oops, try again. Did you remember to give your div a height of 50px? It looks like it’s 0px.”

```

div {
height: 50 px;
width: 120 px;
border-color: #6495ED;
background-color: #BCD2EE;
border-style: 1 solid #cde000;
border-width: 2 px;
}

<do not remove the three backticks above>

#2

@textrunner12605,
Have a read
https://developer.mozilla.org/en-US/docs/Web/CSS/border-style
for the other CSS rules use
[your-question] site:developer.mozilla.org

Out of interest
could you provide the FULL css definitions you are uing…


#3

Try writing it without spaces. Like 50px and not 50 px


#4

50px, 120px, 1px (px is missing, in your border-style property) and 2px, it is one argument, it can’t have a space in it. Also, be aware the are two proper ways to define a border, using border property which has 3 values (you have the border-style property with 3 values), or use the individual property’s (border-style, border-width and border-color)