Skip to content

Commit

Permalink
Merge pull request freeCodeCamp#13448 from rarmatei/fix/challenge-rew…
Browse files Browse the repository at this point in the history
…ording

Reword challenge on font degradation
  • Loading branch information
Greenheart authored Feb 19, 2017
2 parents 771ee34 + 8430684 commit 5297fed
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions seed/challenges/01-responsive-web-design/basic-css.json
Original file line number Diff line number Diff line change
Expand Up @@ -812,8 +812,8 @@
"For example, if you wanted an element to use the <code>Helvetica</code> font, but also degrade to the <code>Sans-Serif</code> font when <code>Helvetica</code> wasn't available, you could use this CSS style:",
"<blockquote>p {<br>&nbsp;&nbsp;font-family: Helvetica, Sans-Serif;<br>}</blockquote>",
"<hr>",
"Now comment out your call to Google Fonts, so that the <code>Lobster</code> font isn't available. Notice how it degrades to the <code>Monospace</code> font.",
"<strong>Note</strong><br>If you have the Lobster font installed on your computer, you wont see the degradation because your browser is able to find the font."
"Now comment out your call to Google Fonts, so that the <code>Lobster</code> font isn't available. You'll also have to make sure the heading font gets degraded to <code>Monospace</code>. Some CSS changes will be necessary for this.",
"<strong>Note</strong><br>If you have the Lobster font installed on your computer, you won't see the degradation because your browser is able to find the font."
],
"challengeSeed": [
"<link href=\"https://fonts.googleapis.com/css?family=Lobster\" rel=\"stylesheet\" type=\"text/css\">",
Expand All @@ -823,7 +823,7 @@
" }",
"",
" h2 {",
" font-family: Lobster, Monospace;",
" font-family: Lobster;",
" }",
"",
" p {",
Expand Down

0 comments on commit 5297fed

Please sign in to comment.