What is wrong?


#1

The Oops error keeps popping up when I submit the code saying that I don't have the border color set to #6495ED.

img {
display: block;
height: 100px;
width: 300px;
margin: auto;
}

p {
text-align: center;
font-family: Garamond, serif;
font-size: 18px;
}

/*Start adding your CSS below!*/

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


#3

There are two proper ways to create a border, with the border property which has 3 values, separated by spaces:

border: 4px dashed red;

or with the individual property's, which have one value each:

border-width: 4px;
border-style: dashed;
border-color: red;

you seemed to have made some kind of non existing mixture