This forum is now read-only. Please use our new forums! Go to forums
Multiple Selectors (CSS Selectors 2/23) - Please tell me where I'm wrong!
I have completed all lessons in the HTML course except for this one. I have tried all kinds of variations here without getting the green light. I however still believe I have written the correct code in the CSS file. The result also seems correct to me since only the last line of text turns out red.
Here is what I have in my CSS tab:
div div div h3
{
color: red;
}
Can someone please tell me where I am going wrong. I don’t see it!
Additional information: On the first row of code in my stylesheet there is a small i-symbol. Hovering the pointer over it shows a text saying “Heading (h3) should not be qualified”. What does this mean exactly? Does it mean that I should drop the h3 from my code? I have done this but still no luck!
Answer 5252e510abf821afaa0006f8
this worked for me: div div div { color: red; }
just take out the h3
Answer 52581afa548c35fb100041a7
div div div h3{ color: red; }
This is how I wrote it and it worked for me.
4 comments
I have tried this also but no luck. To be honest it is only a different formatting from what I already have but I am willing to try anything that solves this task!
yes, it is working, i tried :)
i think it was fixed - as i commented before, it didn’t work before, but is working now
Thank you sooooooooo much.no really
Answer 5264e28780ff33fc6800a475
Same problem here.
My code is just like thuswms from first post but i’m geting “ Oops, try again! It looks like you accidentally turned the first h3 red! “ which isn’t red on preview window.
None of the suggestions worked for me.
Please fix this.
Answer 52531124f10c600673001c29
read first paragraph states asterisk covers all of them
1 comments
Yes, but the task is to only make the nested (inside the third div) red.
Answer 525d21cbf10c6089e1002734
I get the same error. Tried all the suggestions, but still… Seems to be a bug. :o(
1 comments
I tried the same code in Chrome instead of Firefox and it worked.
Answer 5263afe4548c3568cf007442
Don’t put the /**/ stuff, like they show in the lesson. That thing is a comentt, it is not part of the code! Sorry for the bad english!;)
3 comments
I understand your English fine! I have no comments in my code so it can’t be that causing my problems.
I was stucked in this exercise too, so I put this way: div div div h3 { color: red; }
Are you considering the ; ?
Answer 52b93853631fe9dd4d001bd8
Answer 52c848f59c4e9d081e0026d6
Answer 5264595cabf82185e9003e7f
I know how frustrating this exercise can be, so here is some code that works:
<h3>I'm plain old font!</h3>
<div>
<h3>Me, too!</h3>
<div>
<h3>Me three!</h3>
<div>
<h3>Forget you guys. I'm about to be red!</h3>
</div>
</div>
</div>
1 comments
this is wrong 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
I have tried this but it does not give me the green light.