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.

There are more (common) ways of using CSS

See original GitHub issue

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

github_iconTop GitHub Comments

1reaction
HKuzcommented, Feb 5, 2017

@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…

0reactions
Greenheartcommented, Feb 5, 2017

@HKuz Haha thanks! I figured the fastest way to get these challenges ready is to help finish them 😄 👍

Read more comments on GitHub >

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

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