Responsive Web Design: Added hint to Change the Font Size of an Element (#19603)

Added hint to Change the Font Size of an Element (https://guide.freecodecamp.org/certifications/responsive-web-design/basic-css/change-the-font-size-of-an-element)
pull/19593/merge
greggubarev 2018-10-17 15:21:37 +04:00 committed by Aditya
parent a5840c96d9
commit 2d1e125087
1 changed files with 17 additions and 4 deletions

View File

@ -3,8 +3,21 @@ title: Change the Font Size of an Element
---
## Change the Font Size of an Element
This is a stub. <a href='https://github.com/freecodecamp/guides/tree/master/src/pages/certifications/responsive-web-design/basic-css/change-the-font-size-of-an-element/index.md' target='_blank' rel='nofollow'>Help our community expand it</a>.
<a href='https://github.com/freecodecamp/guides/blob/master/README.md' target='_blank' rel='nofollow'>This quick style guide will help ensure your pull request gets accepted</a>.
<!-- The article goes here, in GitHub-flavored Markdown. Feel free to add YouTube videos, images, and CodePen/JSBin embeds -->
We need to create an entry for ```p``` elements and set the ```font-size``` to 16 pixels (```16px```), Inside the same ```<style>``` tag that contains your ```red-text``` class.
### Example
```css
h1 {
font-size: 30px;
}
```
### Solution
```css
p {
font-size: 16px;
}
```