freeCodeCamp Challenge Guide: Set the Font Family of an Element

freeCodeCamp Challenge Guide: Set the Font Family of an Element
0.0 0

#1

Font family is controlled by the font-family CSS attribute, like this h1 {font-family: Sans-serif;}

It allows you to pick a font to display to the user.

More font-family examples can be viewed at MDN

Note: Keep in mind that different computers and browsers will have different fonts enabled. Commonly available fonts are called Web Safe

 p {
    font-size: 16px;
    font-family: Monospace;
  }

#2

Hi I am stuck again why does it keep doing this… im putting in the right code and wont let me thru… Can some one help…? ?


#3

Hi I tried this code and it wont work… I even did one of each and nothing… I know its correct but yet system wont take… bug alert can someone debug Freecodecamp… ???


#4

I am stuck too:flushed:


#5

Uploading…
My code looks right but still giving error …
And stopping from going to next lesson


#6

Thanks, good explanation it works.


#7

I am stuck as well please fix bug if there even is one


#8

nevermind i figured it out there was no bug