While I was changing heading font size on DevTool, I noticed that I couldn't use
heading.style.font-size = '2em';
but instead I had to use
heading.style.fontSize = '2em';
Why is that?
While I was changing heading font size on DevTool, I noticed that I couldn't use
heading.style.font-size = '2em';
but instead I had to use
heading.style.fontSize = '2em';
Why is that?