I am learning JavaScript what am i missing here? When i click on me click me i want the text to change to underline.
<p id="demo" style="
text-decoration:none;
">Hello JavaScript!</p>
<button type="button" onclick="document.getElementById('demo').style.text-decoration='underline'">Click Me!</button>