Stuck on #4 inline


#1

https://www.codecademy.com/en/courses/web-beginner-en-6merh/0/4?curriculum_id=50579fb998b470000202dc8b

Keep getting error message, couldn't find much help on Q&A

  • {
    border: 1px dashed blue;
    }

div {
height: 50px;
width: 100px;
border: 2px solid black;
border-radius: 5px;
display: inline-block;
}

one {

background-color: #FF0000;

}

two {

background-color: #0000FF;

}

three {

background-color: #FFD700;

}

four {

background-color: #308014;

}

`


#2

Your div needs a display of inline not inline-block.


#3

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