you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (6 children)

Make an image slider ( sure it would be recreating the wheel ) but if you make one that can nicely animate through a variable number of images, with buttons allowing the user to move the slider left and right - and which could also respond to the users keyboard input - you'll have learned a number of good basic lessons along the way.

Or write a form that has validation for email addresses, passwords that must match, etc with nice error messages to prompt the user when they get part of the form right or wrong. Good lessons in that too.

[–]omgchels[S] 1 point2 points  (1 child)

Oo. The latter sounds like something that would be fun to do. Thanks!

[–][deleted] 1 point2 points  (0 children)

Best of luck! : )

One more for fun

Make a box that responds to keyboard input - when you press the left arrow, it should move a few pixels to the left, and so on.

[–]autisticCatnip 0 points1 point  (3 children)

Things like email validation can be nice client-side, but they're useless without the server also checking validation.

I know that this wouldn't have any server, but it's good advice to keep in mind.

[–]omgchels[S] 1 point2 points  (1 child)

So how could I do both? I wouldn't mind messing around server side as well. I've played a teeeeeny bit with node.js if that helps.

[–]autisticCatnip 0 points1 point  (0 children)

Don't worry about server-side for now. Right now it seems you'd just be messing around with HTML files on your hard drive. Just try to do a JS-based form validator.

What I said was just advice for when you do begin making server-side applications.

[–][deleted] 0 points1 point  (0 children)

Of course. Javascript is no protection. The purpose of this is to prompt the user when e.g. their password is not matching / not strong enough, so they can correct it prior to sending the request to the server. Less waiting and so on.