#Making message appear

5 messages · Page 1 of 1 (latest)

robust schooner
#

https://scrimba.com/scrim/cLZrK8AR

I am trying to make the original text and the button disapear and the second message appear. I have tried element.style.display ="block". but it isn't reapearing.

grave tangle
#

There is a typo on the line that sets the style for the commentBtn element.

robust schooner
#

Maybe I've been stairing at this for to long because I've copid and pasted and everything and it still will not switch when I push the email button

#

I closed the element </p> still no dice

grave tangle
#

The typo is in the script. On the line that sets the style for the commentBtn element. Spoiler: ||You have commentBtn.style.diplay; the correct syntax is commentBtn.style.display.||