This forum is now read-only. Please use our new forums! Go to forums
Background color code not working, someone please point out my mistake
Here is my code that isn’t working: (hashtags inserted for clarity, I realize they don’t belong in the code)
<#!DOCTYPE html> <#html> <#head> <#title>Sexy background color! <#body style:”background-color: brown”> <#h3>Favorite Football Teams<#/h3> <#ol style:”background-color: yellow”> <#li>The Hawthorn Football Club<#/li> <#li>San Franscisco 49ers<#/li> <#li>Barcelona FC<#/li> <#/ol> <#/body> <#/html>
Answer 50f575762292665465004285
Answer 50fdb11c699bd0027100127c
my problem is my brown isnt brown!! its like a maroon/ bacon colour!!!!
2 comments
I know, it’s so weird! I think it’s supposed to be like that.
I have exactly the same problem in firefox 18.0.01. My suggestion: Change the tutorial to colors which arent near to each other. red is really near to brown. There are many users complaining about that
Answer 50feb4587b7d7a886d0009b5
Ok, I finally got it to work… put quotes around the “background-color:brown” & “color:brown” sections. You shouldn’t have to do that in real code, but it works for this exercise.
Answer 50f503a53ea39ecd0f000c31
1 comments
You have to delete the # in the beginning of the body tag.
Answer 50f95cbcc072335887004618
I am having the same issue. It keeps pushing an error, but there is not one in my code.
Answer 50fe44d47ac82851430043ec
Answer 50fed5e42ea8e21c5a000144
Answer 516ed1f08f1f827ac40005a3
same problem and i believe my code has
Answer 51ca9f7d631fe94c45003419
Answer 51f3762d282ae3cdb1001ae9
1 comments
I don’t really understand what I have to change, there’s no “;” in my code
Popular free courses
- Free Course
Learn SQL
In this SQL course, you'll learn how to manage large datasets and analyze real data using the standard data management language.Beginner friendly,4 LessonsLanguage Fluency - Free Course
Learn JavaScript
Learn how to use JavaScript — a powerful and flexible programming language for adding website interactivity.Beginner friendly,11 LessonsLanguage Fluency - Free Course
Learn HTML
Start at the beginning by learning HTML basics — an important foundation for building and editing web pages.Beginner friendly,6 LessonsLanguage Fluency
1 comments
Thanks a lot. I caught the mistake right after I posted last night haha! But then the site went down or something so I just got back to remove it.