<PLEASE USE THIS TEMPLATE TO HELP YOU CREATE A GREAT POST!>
<Below this line, add a link to the EXACT exercise that you are stuck at.>
I dont undestand what is wrong.
<Below this line, in what way does your code behave incorrectly? Include ALL error messages.>
Sexy background color!
Favorite Football Teams
- The Hawthorn Football Club
- San Franscisco 49ers
- Barcelona FC
<do not remove the three backticks above>
First of all, you are wrong at the style attribute.
You typed background but, background what?
background size? color? look at the example you have there and check what is wrong with your code
Plus, you need the semi-colons before the quote mark like:
<ol style="STYLE-ATTRIBUTE: yellow;">
or you can type it with no semi-colons at all like:
<ol style="STYLE-ATTRIBUTE: yellow">
Background actually does work, it is just a shorthand so that you don’t have to specify what type of background you want to use.
Just thought that you might want to know this as it may save you time with writing css in the future
Before i answered this thread, i tried to type just background and it didnt work.
plus, i never heard or saw from the lessons that i can use this shorthand because there’s no such thing
You can go create a new code bit or use a text editor to try it out There are lots of things that the lessons don’t teach, because there is a lot of stuff to learn about it.
I would suggest expanding your learning in html and css to other websites as well. There is one very good YouTube channel named TheNewBoston that will help with that
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.