Stock in step 79 css course

Step 79

Moving down to the footer element, make all the text have a value of 14px for the font size.

This what I did:
styles.css

.font {
  font-size: 14px;
}

index.html:

<footer class="font">

        <p>
          <a href="https://www.freecodecamp.org" target="_blank">Visit our website</a>

        </p>

        <p>123 Free Code Camp Drive</p>

      </footer>

I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).

1 Like

Thank you… do you know how can i go through this?

I had the same problem, posted as well. I used a class for the footer tag and added font-size in CSS

I got the answer by moving to the next step. When they are asking to select an element, they are just asking us to do that:-

Mod edit: solution removed

They’re not asking us to create a class. I made the same mistake.

2 Likes

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