Learn Basic CSS by Building a Cafe Menu - Step 18

I am trying to edit the background-color of the body element and its giving me an error saying i should use the body selector .Please help how do I fix this error.

Your code so far

/* file: index.Ext.html */

h1, h2, p {
  text-align: center;
}
<style>
body {
background color: brown;
}
</style>
    
/* file: styles.Ext.css */

h1, h2, p {
  text-align: center;
}
<style>
body {
background color: brown;
}
</style>
    

Your mobile information:

SM-A032F - Android 11 - Android SDK 30

Challenge: Learn Basic CSS by Building a Cafe Menu - Step 18

Link to the challenge:

You appear to have created this post without editing the template. Please edit your post to Tell us what’s happening in your own words.
Learning to describe problems is hard, but it is an important part of learning how to code.
Also, the more you say, the more we can help!

Welcome to fCC Forum @Tate !

Suggestion: Remove the < style> < /style> and see what happens.

Keep up the good progress.

Thank you . After removing the styles now its giving me this hint “You should set the background-color property to brown.”

I think it should be background-color not background color.

Keep up the good progress.

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