Basic CSS: Change the Color of Text
See original GitHub issue
Doing the Basic CSS: Change the Color of Text practice, this code:
<h2 style="color:red;">CatPhotoApp</h2>
is wrong in Firefox but in Chrome it works. In Firefox, you get a pass on the last challenge but not the red challenge.
Update: Use CSS Selectors to Style Elements is having the same problem. This code:
<style>
h2 {color:blue;}
</style>
works in Chrome but when using Firefox all challenges but “Your h2 element should be blue.” pass.
Edit: Added the pictures of both challenges from Chrome and Firefox.
Chrome version 67.0.3396.799 Firefox version 60.0.2
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
CSS Text - W3Schools
The color property is used to set the color of the text. The color is specified by: ... Look at CSS Color Values...
Read more >How do you change the font color using CSS? - Educative.io
In CSS, we use the color property to set the foreground color of the text content for an element. ... The code snippet...
Read more >How to Change Font and Text Color Using CSS - Scaler Topics
To change text color in CSS, you can use the color keywords to achieve this. ... The font color will successfully be changed...
Read more >color - CSS: Cascading Style Sheets - MDN Web Docs - Mozilla
The color CSS property sets the foreground color value of an element's text and text decorations, and sets the currentcolor value.
Read more >CSS Font Color – How to Style Text in HTML - freeCodeCamp
Hex values are used to represent colors with a total of 6 characters. They start with the pound/number sign (#), then any number...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I had the same issue. This should be, hopefully, made explicit in some place:
searched in the forum and did not find references to this issue
searched in Github and did find this issue after a while
Also, I use the
night mode
, so was not really straightforward to think about an extension 😃Could you close this issue if your problem has been solve.