Set font family of element,and Import Google font

if you look at line 8, on Import Google font it has online 8. font-family: monospace;, this is what and where I put my anwser in the last problem,and it’s the same thing, but it would not except. I had to put this on line 2. so it looked like this,

  1. p {
  2.  font-family: monospace;
    
  3. }
  4. . red-text {
  5. etc.
    I was wanting to now why it wouldn’t except it, but on the next problem (Import a google font) it’s there just like i had it, before it excepted the anwser it did ,so this is what I had before
    1.
  6. .red-text {
  7.   color: red;
    
  8. }
  9. p {
  10.     font-size: 16px;
    
  11.     font-family: monospace;
    
  12. }

10.etc.
just wondering, why it would take one but not the other, thanks

Go ahead, and Copy and paste the entire code from the Tutorial that you are working through Here, and pre format it.

To share code, you can use the Preformatted text button.
This allows you to share raw code :

Just select the code that you want to keep raw, and press the button.

top

The image on the right is raw code .

Then leave a link to the Tutorial that you are on.



Your Code can also be posted to the forum in this way:

From the freeCodeCamp Tutorial:

CLICK ON THE GET HELP BUTTON:

Screenshot 2022-03-17 7.11.41 PM

CLICK ON CREATE A HELP POST:

Screenshot 2022-03-17 7.03.15 PM

THIS WILL PRE-FILL THE QUESTION SPACE WITH THE CODE, AND THE TUTORIAL LINK, JUST PUSH CREATE TOPIC

Screenshot 2022-03-17 7.03.42 PM

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.