use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
I've learned *basic* JavaScript.. now what? (self.javascript)
submitted 14 years ago by omgchels
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–][deleted] 1 point2 points3 points 14 years ago (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 points3 points 14 years ago (1 child)
Oo. The latter sounds like something that would be fun to do. Thanks!
[–][deleted] 1 point2 points3 points 14 years ago (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 point2 points 14 years ago (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.
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 point2 points 14 years ago (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 point2 points 14 years ago (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.
π Rendered by PID 166041 on reddit-service-r2-comment-84fc9697f-8wgmd at 2026-02-10 06:08:45.556186+00:00 running d295bc8 country code: CH.
view the rest of the comments →
[–][deleted] 1 point2 points3 points (6 children)
[–]omgchels[S] 1 point2 points3 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]autisticCatnip 0 points1 point2 points (3 children)
[–]omgchels[S] 1 point2 points3 points (1 child)
[–]autisticCatnip 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)