The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Programming Fundamentals" Dec 02 - 2:00 PM Eastern

JavaScript – click but no reaction :(

  • # April 27, 2013 at 10:04 am

    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

    This reply has been reported for inappropriate content.

    @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.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed