fix: remove end of line chars after code blocks (#41498)

This commit is contained in:
Randell Dawson
2021-03-16 08:49:43 -06:00
committed by GitHub
parent 843eb81632
commit d2f4b70ea6
4 changed files with 17 additions and 6 deletions

View File

@@ -19,8 +19,11 @@ To import a Google Font, you can copy the font's URL from the Google Fonts libra
`<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">`
Now you can use the `Lobster` font in your CSS by using `Lobster` as the FAMILY_NAME as in the following example:
`font-family: FAMILY_NAME, GENERIC_NAME;`.
Now you can use the `Lobster` font in your CSS by using `Lobster` as the FAMILY_NAME as in the following example:
```css
font-family: FAMILY_NAME, GENERIC_NAME;
```
The GENERIC_NAME is optional, and is a fallback font in case the other specified font is not available. This is covered in the next challenge.

View File

@@ -13,7 +13,9 @@ Placeholder text is what is displayed in your `input` element before your user h
You can create placeholder text like so:
`<input type="text" placeholder="this is placeholder text">`
```html
<input type="text" placeholder="this is placeholder text">
```
**Note:** Remember that `input` elements are self-closing.