<!DOCTYPE html> <html> <head> <title>Sexy background color!</title> </head> <body style="background-color: brown;"> <h3>Favorite Football Teams</h3> <ol style="color: #FFFF00;"> <li>The Hawthorn Football Club</li> <li>San Franscisco 49ers</li> <li>Barcelona FC</li> </ol> </body> </html>
Without seeing the actual HTML code, I can't be certain of the exact syntax error you've made, but line 8 in the Codecademy code editor for this lesson probably looks something like this:
<ol style="background-color":> yellow;">
Can you see the stray angle bracket before the word
yellow? That's probably what is causing the output you're getting too (or something very similar).
yellow word and not the hex value
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.