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

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

Ideas for first js script?

  • # June 23, 2013 at 9:39 pm

    I’m wanting to start learning javascript and would like some ideas to do. small projects that would be easy , and where i could learn from w3schools.

    # June 24, 2013 at 2:50 am

    You should start with

    # June 24, 2013 at 5:28 am

    This reply has been reported for inappropriate content.

    Whatever you’re going to make… I find it useful to work in small steps, and test every step you make (using console.log('some useful feedback');) You can log everything, not just Strings, which is really handy.

    Make something simple like a form with a text field and a submit button, that appends the user input to some list. That will get you used to user input, form processing in JS, general events and DOM manipulation. Bind to the form submit event and make it prevent default behavior.

    Forget about cross-browser issues and just use stuff like querySelector, addEventListener and appendChild. As long as you know those are not cross-browser, worrying about them now will only slow down your progress. Get comfortable with JS first, then worry about them.

    # June 24, 2013 at 7:36 am

    This reply has been reported for inappropriate content.

    On w3schools –

    I found these very useful a few years ago:

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