Make the toggleItalic() function toggle the italic class from the stylesheet. Then run the code and press the button to try it out.
toggleItalic()
italic
Make sure to pick ", followed by italic, and finally ".
"