<h1> and responsive resizing not working

Everything seems responsive in my tribute pen, except the font sizes.

In the example tribute pen, the font sizes do change. I can’t see why that one works and mine does not.

Any clues?

You’ve set the font size as 80px. Via JS for some reason.

document.getElementsByTagName("h1")[0].style.fontSize = "80px";

LOL, my bad. Forgot it put that as the default.



You beat me to it. I agree the font size is set to stay at fixed size of 80px.

You can switch to using EMs or viewport size.