Override Styles in Subsequent CSS
See original GitHub issueSame issue as previous submission… FireShot Capture 43 - Override Style__ - https___www.freecodecamp.com_chall.pdf FireShot Capture 45 - HTML - http___www.littlewebhut.com_html_.pdf calling bullshit on this site, this is ridiculousness…
<html>
<head>
<title>HTML Test</title>
</head>
<body>
</body>
</html>
<style>
body {
background-color: black;
font-family: Monospace;
color: green;
}
.pink-text {
color: pink;
}
.blue-text {
color: blue;
}
</style>
<h1 class="blue-text" class="pink-text">Hello World!</h1>
the above worked/functioned just fine on two separate trials and meet the specified criteria, this is again aggravating
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (2 by maintainers)
Top Results From Across the Web
Override Styles in Subsequent CSS Basic CSS vie ... - YouTube
FOLLOW ALONG LINK: https://www.freecodecamp.org/learn/responsive-web-design/basic- css / override - styles-in-subsequent -cssCheck out the ...
Read more >Override Styles in Subsequent CSS - The freeCodeCamp Forum
What do I do wrong ? Your code so far <style> body { background-color: black; font-family: monospace; color: green; } .pink-text { color: ......
Read more >Override Styles in Subsequent CSS - Scrimba.com
Our courses and tutorials will teach you React, Vue, Angular, JavaScript, HTML, CSS, and more. Scrimba is the fun and easy way to...
Read more >Solve problem "Override Styles in Subsequent CSS" online
Override Styles in Subsequent CSS ... Our "pink-text" class overrode our body element's CSS declaration! We just proved that our classes will override...
Read more >How CSS style overriding works ? - GeeksforGeeks
For example, if you have provided some style to an element by using the external CSS and after that, you need to change...
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
Multiple classes in one tag take the form
class="class1 class2"
- not in separate invocations like in your code -<h1 class="blue-text" class="pink-text>Hellow World!</h1>
- Correct form would be<h1 class="pink-text blue-text">Hello World!</h1>
. A lot of things will render (like in the site you used) as fallback when encountering something, weird. (doesn’t make stuff correct). Help is a great place for questions like this.