There are more (common) ways of using CSS
See original GitHub issueChallenge introduction-to-basic-css has an issue.
CSS can be applied both as inline styles—typed directly within HTML style tags—or external style sheets—typed in a separate file that is referenced from your HTML file.
The text implies there are two ways of using CSS, and ignores using CSS via style
attribute.
As W3 describes:
Flexibility. CSS can be applied to content in several ways. The key feature is the ability to cascade style information specified in the default (user agent) style sheet, user style sheets, linked style sheets, the document head, and in attributes for the elements forming the document body.
This bug is targeted for the beta version.
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
CSS: Cascading Style Sheets - MDN Web Docs
With the basics of the CSS language covered, the next CSS topic for you to concentrate on is styling text — one of...
Read more >Six ways to use CSS with HTML - CSSDeck
Six ways to use CSS with HTML · 1. The Link Tag. The link tag is the most common way to include an...
Read more >Types of CSS: Inline, Internal and External CSS Explained
There are three ways you can use to implement CSS into your HTML: internal, external, and inline styles. Let's break them down.
Read more >Different ways of writing styles in CSS | by Jayanth babu
Inline styles are written inside the HTML tags by using the style attribute. Every property is separated by semicolon ; symbol. Internal Styles....
Read more >Advantages and Disadvantages of CSS - GeeksforGeeks
CSS works differently on different browsers. IE and Opera supports CSS as different logic. There might be cross-browser issues while using CSS.
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
@Hapoofesgeli - thanks for pointing this out, we can clarify this sentence 👍
@Greenheart - I can open a quick PR for this, I’m going to take your 3rd option and tweak it a little bit 😄 stay tuned…
@HKuz Haha thanks! I figured the fastest way to get these challenges ready is to help finish them 😄 👍