question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Basic CSS: Change the Color of Text

See original GitHub issue

firefox_2018-06-13_15-26-20 chrome_2018-06-13_15-27-15 firefox_2018-06-13_15-28-45 chrome_2018-06-13_15-29-06

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:closed
  • Created 5 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
maxdevjscommented, Aug 31, 2018

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 😃

0reactions
Nirajn2311commented, Jun 17, 2018

Could you close this issue if your problem has been solve.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found