Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript

Kris Byrum
Kris Byrum
32,636 Points

Ideas for practicing

Hi.

I'm looking for some ideas to practice my javascript and jQuery skills.

So far I've built an elevator panel. The panel has 4 buttons, each lighting up when pushed. There are up and down arrows that light up what direction I am going and then the display shows the floor and animates up or down depending on the button pushed.

i'm hoping to get more ideas to practice since I can't think of any.

thanks in advance!!!

4 Answers

James Barnett
James Barnett
39,199 Points

Here are a few ideas http://www.pairuptocode.com/Level2.html#

I'm particularly found of the memory game exercise.

Simon Klit
Simon Klit
1,686 Points

Hi Kris,

You could try to create a contact form that uses JavaScript (and jQuery) to validate the user input and then uses AJAX to send the input on to a server-sided script which mails it.

You could also try experimenting with objects, perhaps by creating a profile page where the user types in their information and you store it in an object, and eventually send it on to be stored in a database.

Another idea is to try and create a website scraper, so that you can easily read the blog-entries at your favorite blog. Use this tutorial as a starting point: http://ejohn.org/blog/pure-javascript-html-parser/

A thing you could do is to figure out which role JavaScript plays on a particular site, and try to emulate that functionality in your local project.

Have fun, and good luck!

Check out codewars.com, projecteuler.net and try writing tests with BDD/TDD http://www.learnhowtoprogram.com/lessons/interfaces-before-implementation

James Barnett
James Barnett
39,199 Points

Project Euler and TDD are both great exercises once someone has mastered Intermediate JS, it's a little too advanced for an advanced beginner.

Kris Byrum
Kris Byrum
32,636 Points

These are great ideas!!! thanks both!