Tell us what’s happening:
Hello, i have tried to
refresh the pages, input my own answer which turns out to be the same with the correct answer from freeCodeCamp Challenge Guide: Set the font-size for Multiple Heading Elements and github, and then try the inline style which is technicaly wrong, but nothing works and i cant get past this chalenge. I genuinely dont know why, i have copy-pasted the only right answer too.
i have read other topics in this forum and github and none of those helped at all.
The test output is saying that the entire thing is wrong:
// running tests Your code should set the
font-size
property for the
h1
tag to 68 pixels. Your code should set the
font-size
property for the
h2
tag to 52 pixels. Your code should set the
font-size
property for the
h3
tag to 40 pixels. Your code should set the
font-size
property for the
h4
tag to 32 pixels. Your code should set the
font-size
property for the
h5
tag to 21 pixels. Your code should set the
font-size
property for the
h6
tag to 14 pixels. // tests completed
**Your code so far**
<style>
h1 {
font-size: 68px;
}
h2 {
font-size: 52px
}
h3 {
font-size: 40px;
}
h4 {
font-size: 32px;
}
h5 {
font-size: 21px;
}
h6 {
font-size: 14px;
}
</style>
<h1>This is h1 text</h1>
<h2>This is h2 text</h2>
<h3>This is h3 text</h3>
<h4>This is h4 text</h4>
<h5>This is h5 text</h5>
<h6>This is h6 text</h6>
**Your browser information:**
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1.2 Safari/605.1.15
Challenge: Set the font-size for Multiple Heading Elements
Link to the challenge: