This forum is now read-only. Please use our new forums at discuss.codecademy.com.

Animate Your Name Forum

View Course

79 points
1b69f78664dbe13752c54e2b77cb75c4?s=140&d=retro
Submitted by
Juan Carlos Rodriguez
about 3 years ago

I need help again!

I am trying to change the font of h3! Here's the code thing again:

index.html:

        <h3 style="color:white"><center>About Me</h2></center>
        <p style="color:white"><center>If you want to find out a little about me, then click "Learn More".</p></center>
        <a href="#"><center>Learn More</center></a></p>
    </div>

Is there something I need to put in the style.css? I am in a code club,but they aren't really helping me!


1 vote

permalink

Hi Juan,

I'm a little bit confused, only because this is the Q&A Forum for the "Animate Your Name" project and you seem to be talking about the "About You" project, or maybe you are working on something from scratch?

If it were me, I would put your style rules in style.css instead of inline in your code as you have done there.

In style.css you would have something like:

h3 {
    color: white;
    text-align: center;
}

p (
    color: white;
    text-align: center;
}

instead of that code that you've shown there. Looks like you would want a rule for your a elements too.

There are lots of ways to select what you want to style, read more

3698 points
55df2afa95e3787b9200005e_359368177
Submitted by
Judy
about 3 years ago


0 votes

permalink

Look at your first line:

<h3 style="color:white"><center>About Me</h2>

You write h3 style and in your closing tag you wrote h2 :-) Fix that

737 points
5cbc0c7b4a2006556ebd7c446b3529d6?s=140&d=retro
Submitted by
Hrvoje Štimac
about 3 years ago