fix(learn): added a missing period and removed single quotes (#41377)

* Added missing period

On line 24, just before "Note that in your CSS..." a period was missing.

* Removed single quotes and added a missing period

On line 24, just before "Note that in your CSS..." there is a missing period. 
On line 30, the text "red-text" within a code tag is enclosed in single quotes.
This commit is contained in:
Ricardo Passos
2021-03-05 12:16:30 -03:00
committed by GitHub
parent c6ac8248f7
commit ae79525493

View File

@ -21,13 +21,13 @@ Here's an example CSS class declaration:
</style>
```
You can see that we've created a CSS class called `blue-text` within the `<style>` tag. You can apply a class to an HTML element like this: `<h2 class="blue-text">CatPhotoApp</h2>` Note that in your CSS `style` element, class names start with a period. In your HTML elements' class attribute, the class name does not include the period.
You can see that we've created a CSS class called `blue-text` within the `<style>` tag. You can apply a class to an HTML element like this: `<h2 class="blue-text">CatPhotoApp</h2>`. Note that in your CSS `style` element, class names start with a period. In your HTML elements' class attribute, the class name does not include the period.
# --instructions--
Inside your `style` element, change the `h2` selector to `.red-text` and update the color's value from `blue` to `red`.
Give your `h2` element the `class` attribute with a value of `'red-text'`.
Give your `h2` element the `class` attribute with a value of `red-text`.
# --hints--