knystrom18 Posted September 7, 2010 Share Posted September 7, 2010 I'm looking to broaden my very small and shadily understood knowledge of JavaScript. Would any of you be willing to post places that you've learned the basics from? I'm particularly perplexed about the syntax, what goes in parentheses, Example:function doThis(what could go here?) {...}- or -<a href='#' onclick='java script:doThis(what could go here?)'>Do This</a> and the differences between objects, properties and methods and what they each do.Thanks! Link to comment Share on other sites More sharing options...
justsomeguy Posted September 7, 2010 Share Posted September 7, 2010 This site has a more comprehensive set of tutorials:http://www.howtocreate.co.uk/tutorials/javascript/important Link to comment Share on other sites More sharing options...
wirehopper Posted September 8, 2010 Share Posted September 8, 2010 You might also want to go get a book - flip through a few before deciding which one you like best.I used a book to learn Flash. The difference between a book and the web is that the book had a specific order and intent - so I learned about things I wouldn't have followed otherwise.I still can't make a video - but that's not the book's fault. Link to comment Share on other sites More sharing options...
thescientist Posted September 8, 2010 Share Posted September 8, 2010 practice practice practice Link to comment Share on other sites More sharing options...
knystrom18 Posted September 8, 2010 Author Share Posted September 8, 2010 This site has a more comprehensive set of tutorials:http://www.howtocreate.co.uk/tutorials/javascript/important That is excellent. Thanks a lot. Link to comment Share on other sites More sharing options...
knystrom18 Posted September 8, 2010 Author Share Posted September 8, 2010 You might also want to go get a book - flip through a few before deciding which one you like best.I used a book to learn Flash. The difference between a book and the web is that the book had a specific order and intent - so I learned about things I wouldn't have followed otherwise.I still can't make a video - but that's not the book's fault. I plan to in time. When I have enough money... Link to comment Share on other sites More sharing options...
ApocalypeX Posted September 8, 2010 Share Posted September 8, 2010 Change examples and play around with different thing you know to expand your techniques.function do_this(param1){alert(param1);}do_this("Hello World!");What ever is put in the function's parameter is passed as a local variable.function do_this(param1, param2){alert(param1+" "+param2);}do_this("Hello","World!"); Link to comment Share on other sites More sharing options...
HTML5 Posted September 8, 2010 Share Posted September 8, 2010 I would probbly get a book oh and there's some free ebooks that you could use: Free Programming/Scripting EbooksHope this helps people out Link to comment Share on other sites More sharing options...
jeffman Posted September 8, 2010 Share Posted September 8, 2010 I've always learned a lot by reading other people's code. I visit a page, notice that some JavaScript must be running, so I open up the script and look at it. Sometimes you can tell that the code is sloppy, so you don't want to learn from that. And sometimes it will look more complicated than you can understand right now, so you can ignore that too. But a lot of things will be at your level, and you really can learn from them. Link to comment Share on other sites More sharing options...
ShadowMage Posted September 8, 2010 Share Posted September 8, 2010 I've always learned a lot by reading other people's code. I visit a page, notice that some JavaScript must be running, so I open up the script and look at it. Sometimes you can tell that the code is sloppy, so you don't want to learn from that. And sometimes it will look more complicated than you can understand right now, so you can ignore that too. But a lot of things will be at your level, and you really can learn from them.You could also try writing some of those things yourself (obviously keeping in mind copyrights and such) to try and learn from them. Start writing it from scratch and use the source code as a reference. If you get stuck, Google it or ask the experts on this forum.Like scientist said, I believe the best way to learn is practice, practice, practice. Link to comment Share on other sites More sharing options...
aquaben Posted September 9, 2010 Share Posted September 9, 2010 The wya that I am learning at the moment as well seem familiar to Deidre's Dad is going on site where they let you customise a template for a web page, making it as you want it and reading the code and then trying yourself afterwards and seeing where you whent wrong. Link to comment Share on other sites More sharing options...
HTML5 Posted September 10, 2010 Share Posted September 10, 2010 Yeah I never thought of checking the code on webpages that`ll help lessen my questions on the forum which everyone probbaly getting tired of anwsering all my questions by now Link to comment Share on other sites More sharing options...
knystrom18 Posted September 10, 2010 Author Share Posted September 10, 2010 I would probbly get a book oh and there's some free ebooks that you could use:That's a great resource. Thanks for that. Link to comment Share on other sites More sharing options...
knystrom18 Posted September 10, 2010 Author Share Posted September 10, 2010 I've always learned a lot by reading other people's code. I visit a page, notice that some JavaScript must be running, so I open up the script and look at it. Sometimes you can tell that the code is sloppy, so you don't want to learn from that. And sometimes it will look more complicated than you can understand right now, so you can ignore that too. But a lot of things will be at your level, and you really can learn from them.Never really thought of that. I've done it for HTML and stuff like that, but not for scripts... Link to comment Share on other sites More sharing options...
knystrom18 Posted September 10, 2010 Author Share Posted September 10, 2010 Change examples and play around with different thing you know to expand your techniques.function do_this(param1){alert(param1);}do_this("Hello World!");What ever is put in the function's parameter is passed as a local variable.function do_this(param1, param2){alert(param1+" "+param2);}do_this("Hello","World!");That clears up the parentheses. Thanks ApoclypeX. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.