-
-
Notifications
You must be signed in to change notification settings - Fork 36k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Give Background Color to Div Element Not Accepting Correct Answer #10535
Comments
@LukaszKolo thanks for the issue but can you be more specific on what bug you are experiencing? Your code is correct so I'm not sure how to help you. |
So thats a problem, that code is correct :) and the program says its not correct |
"Give your div element the class silver-background. The second element is not fullfilled |
@erictleung Any ideas what to do with this problem?
|
@LukaszKolo I would either suggest trying a different browser or jump to a different challenge by navigating through the Challenge Map. I'm not sure how to reproduce your issue. But it looks like you're using Firefox. I'm unable to reproduce your issue on Chrome. Let's see if someone else is able to reproduce the issue on Firefox. |
@erictleung thank you very much :) ill try this way |
I encountered the same problem in the latest Firefox 64 bit, Windows 10 64bit 1607. |
I am facing a similar problem |
Try freecode with Google Chrome. I passed this challenge with Chrome. |
I'm facing the same issue on Google Chrome browser on an Android. |
Opera, IE maybe then? |
I've tried Chrome on Android, Chrome on win 10, and now Firefox. =( |
Got it to work only on Edge. |
I am using Edge and background does not turn silver, and I have the same code as shown above |
Never mind - did a reset and typed in everything again manually instead of copying and pasting - worked! |
<style>
.red-text {
color: red;
}
div .background-color{background-color:silver;}
h2 {
font-family: Lobster, Monospace;
}
p {
font-size: 16px;
font-family: Monospace;
}
.thick-green-border {
border-color: green;
border-width: 10px;
border-style: solid;
border-radius: 50%;
}
.smaller-image {
width: 100px;
}
</style>
CatPhotoAppClick here for cat photos. Things cats love:
Top 3 things cats hate:
i mentioned it in css style and wrote the class more precisely and i am still not able to change my background color, and i use chrome. |
Closing in favour of #10749 |
Make sure you spelled everything correct. |
thank you @martian1431 see you answered i did it |
Thankyou @alexiss23! I was too busy trying to assign the background class to my "div" element within the style tags above but overlooked the need to add it within the "div" tags below. . I have to keep reminding myself, "as above, so below!" |
Thanks @alexiss23 !! you saved my time :) |
Reproducible in Chrome for Android (latest version, 58.0.3029.83 as of now). |
Mine does NOT work in latest Firefox. DOES work in latest Chrome. I ran it in Chrome and then went back to Firefox to carry on. |
Don't work on my site as well :( <style>.silver-backgroung { .red-text { h2 { p { .thick-green-border { .smaller-image { CatPhotoAppClick here to view more cat photos. Things cats love:
Top 3 things cats hate:
Loving Lazy Energetic Submit |
Challenge give-a-background-color-to-a-div-element has an issue.
User Agent is:
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:48.0) Gecko/20100101 Firefox/48.0
.Please describe how to reproduce this issue, and include links to screenshots if possible.
The text was updated successfully, but these errors were encountered: