On the page “Making A Website: font-size (7/10), Instruction 3”, when asked to change the p selector’s font size to 2rem in main.css and doing this successfully, I receive an error message: “Incorrect: Did you add a font-size of 2rem for the p selector in main.css?” This must be a bug because I cannot for the life of me detect any error in my CSS whatsoever. I even copy and pasted the exact text in the instruction box and it’s still apparently wrong.
I cannot even select “View solution” as that gets stuck in a loading loop. Restarting my browser (Firefox 90.0.1) did nothing, nor did clearing the Codecademy’s cookies.
Here is a copy of my exact CSS. Note that all I’ve changed is font-size in h2 (as per instructions 1 and 2) and font-size in p (as per instruction 3):
It is the extract from CSS font size 1em; would be equivalent to 20px . Child elements with font-size: 0.5em; would be equivalent to 10px (a halving) and so on.
Based on the website information:
1em = 16px
0.5em=8px
It is the table extracted from the web-site
EM to PX Conversion Table
EM
PX
0.25em
4px
0.5em
8px
0.75em
12px
1em
16px
Is there any error in the context of your tutorial pertaining to the CSS em font size?