Bling125 Posted December 13, 2009 Report Share Posted December 13, 2009 Hey guys im learning JavaScript at the moment. Whats the most important thing I need to know? Link to comment Share on other sites More sharing options...
jeffman Posted December 13, 2009 Report Share Posted December 13, 2009 It depends. How much programming experience do you have? What languages? Are you accustomed to working in an event-driven environment? What kinds of things do you want JavaScript to do for you? Link to comment Share on other sites More sharing options...
Ingolme Posted December 13, 2009 Report Share Posted December 13, 2009 I'd first recommend all the programming basics: Variables, loops, commands, functions...Once you've learnt that, HTML DOM and XML DOM are probably the most widely used features that have been implemented in browser Javascript. Link to comment Share on other sites More sharing options...
Bling125 Posted December 13, 2009 Author Report Share Posted December 13, 2009 Iv'e only learnt HTML but on W3Schools.com it says to learn XML you should know HTML and JavaScript. So im just doing as they tell me. Link to comment Share on other sites More sharing options...
Ingolme Posted December 13, 2009 Report Share Posted December 13, 2009 You first have to look through the Javascript tutorial. After that you can look at the HTML DOM and XML DOM tutorials. Link to comment Share on other sites More sharing options...
Krupa Posted December 13, 2009 Report Share Posted December 13, 2009 Yes. Read over the tutorials more than once and most importantly, play around with them. Get the feel of the language and become comfortable with what you know before you move on. Link to comment Share on other sites More sharing options...
Bling125 Posted December 14, 2009 Author Report Share Posted December 14, 2009 Ok thanks for all the help. Much appreciated.Cheers. Link to comment Share on other sites More sharing options...
Twango Posted January 5, 2010 Report Share Posted January 5, 2010 Personally, i'd recommend EVERYTHING.I started out wonder what the heck was wrong with EVERY javascript i made until i double-read EVERYTHING...i went from <input type="button" value="Button" onclick="document.write('Hi');"/>to Full clocks with AM/PM/Midnight/Noon and 12/hr format!i'd personally recommend becoming fluent in HTML, learn the basics of CSS, then start javascript.one thing, dont forget the brackets Link to comment Share on other sites More sharing options...
skaterdav85 Posted January 6, 2010 Report Share Posted January 6, 2010 i only know basic JS, but the methods i use most frequently are:document.getElementById()anddocument.getElementById().style.someproperty Link to comment Share on other sites More sharing options...
boen_robot Posted January 6, 2010 Report Share Posted January 6, 2010 Hey guys im learning JavaScript at the moment. Whats the most important thing I need to know?If you already have some programming experience, JavaScript's event model... or to be more precise, the quirks with JavaScript event handling in different browsers... is probably the most important thing to learn. Even if you have programming experience, even if you've worked in an event-driven environment before, JavaScript is different in this regard. And you can't really do anything in JavaScript without events, except "do right now" scripts. And if you want that, you might as well learn PHP.And speaking of PHP, that's probably the better language to start programming with, as it can help you understand one vary basic concept in programming - input and output. Once you combine that with the mentioned basic language structures - loops, conditions, variables, etc. - you'll be able to do anything in basically any language. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now