Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Why don't work the last two buttons in JavaScript?

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #259960
    Ayala
    Participant

    Hi!

    Why don’t work the last two buttons?

    https://codepen.io/Ayalann/pen/XeWGaL

    #259964
    JeroenR
    Participant

    ‘open’ and ‘close’ are reserved names, so just rename those functions and the code is working fine.

    #259965
    Ayala
    Participant

    Oahhh! I was thinking about it for 1 hour :D

    Thank you!!!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.