Grow your CSS skills. Land your dream job.

JavaScript – click but no reaction :(

  • # April 27, 2013 at 10:04 am

    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?

    # April 27, 2013 at 10:45 am

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

    # April 27, 2013 at 10:53 am

    @whodunit Yeah, just make sure you include all of the prefixes (like @wolfcry911 said) or toggle “Prefix free” from the settings menu in the CSS settings section…

    # April 27, 2013 at 11:04 am

    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 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".