Skip to content

Commit

Permalink
chore(docs): Added a couple of words to tutorial (#17876)
Browse files Browse the repository at this point in the history
In this paragraph:

"Take the example of creating a custom button. In the past, you would create a CSS class (perhaps .primary-button) with your custom styles and then whenever you want to apply those styles e.g."

It doesn't read clearly - "and then whenever you want to apply those styles e.g"

Have added a couple of words for clarity, and changed "e.g." to "for example" (Latinate abbreviations aren't very friendly to people with English as a second language, and raise the reading level required for native speakers as well)
  • Loading branch information
Deborah authored and LekoArts committed Sep 26, 2019
1 parent 3af5076 commit 3b71c60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tutorial/part-one/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ One of the big mental shifts you make when starting to build with components (if

While a seemingly simple change, this has profound implications for how you think about building websites.

Take the example of creating a custom button. In the past, you would create a CSS class (perhaps `.primary-button`) with your custom styles and then whenever you want to apply those styles e.g.
Take the example of creating a custom button. In the past, you would create a CSS class (perhaps `.primary-button`) with your custom styles and then use it whenever you want to apply those styles. For example:

```html
<button class="primary-button">Click me</button>
Expand Down

0 comments on commit 3b71c60

Please sign in to comment.