Is that what you’re trying to submit? If so, I may have noticed a few typos.
Your - is a 6 instead, not sure if that was just a typo here or on FreeCodeCamp. Also, the font-weight for h2 is the same as h1 so try looking at what they want you to set h2 as.
Here is the answer.
h2 {
font-size: 52px;
font-weight: 600;
Your h5 and h6 have the same weight. Recheck what FreeCodeCamp wants the values to be here as well.
Answer
h5 {
font-size: 21px
font-weight: 300;
Your h6 is correct
Starii’s already answered your question. I just wanted to share how to format your code when sharing it online; as your code becomes lengthy, and more complex, you’ll want to make it as easy as possible for people to help you.
To format inline code, simply wrap the code in two backticks: ``
the results looks like this
For multiple lines, you can indent your code with 4 spaces, or (my preferred method) wrap it all in three backticks: ``````
// The result looks like this
<h1 class="main-header">Formatted!</h1>
This syntax works in many places such as Slack, Discord, Reddit and loads of other forums.
Please help! I cannot get the test for set-the-font-size-for-multiple-heading-elements to pass. I’ve gone over the code several times and it is correct. I don’t have any ad blockers and I’m using chrome. On top of that when I try to go to the free code camp forum, from an already signed in page, it asks for me to log in but then it says I don’t exist. Can anybody tell me how to get past this?
As you can see in the screen shots though it kept failing me. I wrote free code camp and they sent me what I believe to be a form letter suggesting I use one of their supported browsers but of course I am. I have even attempted to do the challenge in Firefox but still same result, X’es on everything. Wrote them back and not sure what else I can do.