Ask coding questions

← Back to all posts
baffournana (0)

I place a code in the syle.css but it is not running. It keeps saying there is an error. What do I do?

Answered by eankeen (1407) [earned 5 cycles]
View Answer
eankeen (1407)

Hey! It looks like your style.css isn't formatted properly. You've gotta add ending curly braces }. Kind of like this

body {
    background-color: lightsteelblue;
    border: 2px solid lightslategray;

And make sure you also finish the style you were trying to make with border: :P

Hopefully I could help