Forums

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

Home Forums JavaScript JavaScript – click but no reaction :(

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #44399
    whodunit
    Member

    http://codepen.io/ziemowit/pen/DCsvd

    So, I am a complete beginner to JS and I encountered such problem. I want simply to make the orange div to move right when the button is clicked. Did I mess something with JS?

    #133359
    wolfcry911
    Participant

    what browser are you using? it works in firefox after removal of the _webkit_ prefix

    #133363
    whodunit
    Member

    Yeah, I guess Codepen works really slow today here ;) it works fine; However, I have some problems centering the divs in the same position. Can anyone help?

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