12 Review (Positioning)


#1

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

When I try to submit the code the exercise keeps asking me if I set the border to 1px wide. Didn't I?

.div
    {
        border: 1px solid black;
        background color: #CC0000;
        margin-top: 10px 5px 5px 5px;
        padding-top: 0px 30px 0px 10px;
    }

#2

remove . before div

div is not class name :slight_smile: div is html tag
to select class you need . before class name


#3

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