I am working on relational selections in the The Ultimate HTML5 & CSS3 Series, and when I apply color to the text in the CSS file it doesn’t change. Here is my code.
Hi.
Should your HTML file indeed looks like what I see, no wonder the style is not applied.
There is no HTML at all.
You need to wrap the content in proper HTML tags to selects elements from the DOM.
I sense frustration, so I’m going to start over from scratch following the video step by step and if I don’t get a different result, I will ask for more help. Thank you for the help you have provided me so far.
Remeber, that this is not something you are going to learn over night, you have the course for a lifetime. The best way to learn is to keep starting over, you got this!
Thanks for the encouragement. I started over with the basic selector lesson, and my color is still not being applied. I am doing the exact same thing that I see in the video. Could it be a setting in my text editor? Please take a look at my html and css code.I have include my result as an attachment, which is clearly not orange.
This is something that everybody should learn to do.
Help others help you.
When you ask for help when there is code please take care to represent it well.
The comment editor is both WYSIWYM and WYSIWYG. (You may hover/tap those words if you need explanation)
For the 1st flavour it is essentially markdown fenced code blocks but you shall not precise the snippet language for proper syntatic coloration. So on 2 lines you add 3 back-ticks `. Then your code in between
The second means you can select a portion of test and just click the </> button in the toolbar on top of the editor.
I remember learnng about this in the course! You have to be speccifc on the selector, the selector tells the browser excatky what took for, this may be what you are missing.