Header Tag Lab

Easy
297
10
60.7% Acceptance

In this lab, you will practice working with header tags, specifically the h1 tag, and button elements by toggling the font-size of the header tag when the button is clicked.

Your task is to create an h1 tag with an id of 'header' and a button with an id of 'toggleButton'. Initially, the h1 tag should have a font-size of 16px. When the 'Toggle Font Size' button is clicked, the font-size of the header should toggle between 16px and 32px.

All the best!