Inline styling is not different than CSS
See original GitHub issueChallenge Use CSS Selectors to Style Elements has an issue.
When you entered
<h2 style="color: red">CatPhotoApp</h2>
, you were giving that individual h2 element an inline style. That’s one way to add style to an element, but a better way is by using CSS, which stands for Cascading Style Sheets.
According to the description, inline styling is defined as a separate thing than CSS. But in reality inline styling is actually a source of CSS having the second priority.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:10 (10 by maintainers)
Top Results From Across the Web
inline styles - What's so bad about in-line CSS? - Stack Overflow
No inline style attribute. Never create your css inline, by which I mean: <element style='color:red'> or even <img style ...
Read more >Avoiding Inline Styles for CSS Design - ThoughtCo
Inline styles don't separate content from design : Inline styles are exactly the same as embedded font and other clunky design tags that...
Read more >No, Utility Classes Aren't the Same As Inline Styles | frontstuff
Inline styles only apply to the elements they're declared on. Perhaps the biggest limitation with inline styles is that they can only affect ......
Read more >Inline Styles in HTML - Codecademy
HTML is meant for conveying structured information. CSS is built to style that structured information. When inline styles are used, this clear separation ......
Read more >Raw CSS Versus Inline Styles in React - Pluralsight
Inline CSS is one of the most conventional approaches to assign styles to various elements in a component, but inline CSS in React...
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 It’s a beta version of freeCodeCamp, running on similar infrastructure as the production-site to help us test new features and curriculum-updates.
Feel free to hunt some bugs and report them here as usual! You can also drop by https://gitter.im/FreeCodeCamp/Contributors if you want to hang out with other contributors 😊
I had targeted my own fork for the PR, sorry. Please let me know if there are any other issues.