fix(challenges): broken link
This commit is contained in:
committed by
Kristofer Koishigawa
parent
99f4b9f1ff
commit
64b93dfb64
@ -2880,7 +2880,7 @@
|
|||||||
"title": "Introducing Inline Styles",
|
"title": "Introducing Inline Styles",
|
||||||
"releasedOn": "December 25, 2017",
|
"releasedOn": "December 25, 2017",
|
||||||
"description": [
|
"description": [
|
||||||
"There are other complex concepts that add powerful capabilities to your React code. But you may be wondering about the more simple problem of how to style those JSX elements you create in React. You likely know that it won't be exactly the same as working with HTML because of <a target=\"_blank\" href=\"define-an-html-class-in-jsx\"> the way you apply classes to JSX elements</a>.",
|
"There are other complex concepts that add powerful capabilities to your React code. But you may be wondering about the more simple problem of how to style those JSX elements you create in React. You likely know that it won't be exactly the same as working with HTML because of <a target=\"_blank\" href=\"front-end-libraries/react/define-an-html-class-in-jsx\"> the way you apply classes to JSX elements</a>.",
|
||||||
"If you import styles from a stylesheet, it isn't much different at all. You apply a class to your JSX element using the <code>className</code> attribute, and apply styles to the class in your stylesheet. Another option is to apply <strong><em>inline</em></strong> styles, which are very common in ReactJS development.",
|
"If you import styles from a stylesheet, it isn't much different at all. You apply a class to your JSX element using the <code>className</code> attribute, and apply styles to the class in your stylesheet. Another option is to apply <strong><em>inline</em></strong> styles, which are very common in ReactJS development.",
|
||||||
"You apply inline styles to JSX elements similar to how you do it in HTML, but with a few JSX differences. Here's an example of an inline style in HTML:",
|
"You apply inline styles to JSX elements similar to how you do it in HTML, but with a few JSX differences. Here's an example of an inline style in HTML:",
|
||||||
"<code><div style=\"color: yellow; font-size: 16px\">Mellow Yellow</div></code>",
|
"<code><div style=\"color: yellow; font-size: 16px\">Mellow Yellow</div></code>",
|
||||||
|
Reference in New Issue
Block a user