Jump to content
  • Announcements

    • boen_robot

      Guidelines and Netiquette   03/28/2017

      Posting Problems:   Having problems posting your topic? Read through this: To join, you agree to our terms and conditions and fill out and submit a registration form. An activation email will be sent to your email adress, so you'll need to verify your account. After that the account has to be validated by one of the moderators. This will mean that it can take up to a day to be activated. A couple of things to remember to ensure approval: Don't use an email address in one of those $2 four character .com domains eg. xyds.com. These will be deleted and the domain added to the banned list. Don't use an email address that is within a domain with a bad reputation for spam. A Google search is run on every email address and email domain. Don't sign up with an email address that doesn't exist, doesn't work or requires the sender to answer a quiz before their email can get to you. Put your country and or state and city in the signup form. Blank forms will go to the botton of the "to do" list. And make sure that your email address and your country match, saying you're from Alabama and using a .ru email address is not going to get you activated. After a membership is activated the first few posts will be monitored. Posting spam or unapproved topics described in the agreement results in an immediate ban. The email provider and the IP addresses associated with the account will be banned and all posts will be deleted. These strict measures have been deemed necessary to hinder spam. Sorry for any inconvenience this causes, but it's not liable to change. If, after reading this, you still can't post and don't understand why, contact one of the Moderators listed here.   Topic Guidelines   Including the following information can expedite an accurate response from board members: Must be a Specific Problem or Question related to web design and development Include Code in Question (wrap with   for small blocks of code and for longer blocks   ) Include Code Author Include Extra Notes/Modifications/Attempts Include web link to page/file when possible Content Guidelines   You may not post, upload, link to, or email any Content that contains, promotes, gives instruction about, or provides prohibited Content. Prohibited Content includes any Content that breaks any local, state, county, national or international law. Prohibited Content also includes: No direct or indirect advertising or websites, forums, products, services No hijacking of posts (do not post your question in someone elses) Content that infringes upon any rights [ex. MP3s and ROMs] (including, but not limited to, copyrights and trademarks) Abusive, threatening, defamatory, racist, or obscene Viruses or any other harmful computer software False Information or libel Spam, chain letters, or Pyramid schemes Gambling or Illicit drugs Terrorism Hacking or cheating for internet/online games Warez, Roms, CD-Keys, Cracks, Passwords, or Serial Numbers Pornography, nudity, or sexual material of any kind Excessive profanity Invasive of privacy or impersonation of any person/entity Hacking materials or information Posting Tips   There are more BBcodes than there are buttons for on the reply menu. To get the full list, click "BB Code Help" underneath the clickable smilie face menu. Use   for small snippets of code Use   for lengthy snippets of code Use   if your snippet is HTML (optional) Use   if your snippet is SQL (optional) Rules of Conduct   Be nice. There's no need for calling someone stupid if they ask an 'easy' question. Keep your avatars and signatures absolutely child friendly. We have a younger audience on this forum. Keep your language appropriate for the same reason above. Do not PM moderators for help on the forum. Post on the topic, or create a new one.   Spam:   Recently, as you have all without doubt noticed, we have had lots of spam and advertisement on the forum. Therefore, we'd like to alert you as to what to do when you have found any of the aforementioned annoying messages: it. Immediately. Give a clear reason, please, if the advertising is not evident. DO NOT POST! Report, let the post stay as is, and we will get to it, meanwhile if you continue to post as normal in the other threads, it won't be on the top so long. Refrain from PMing the member. This won't help at all, as they are most likely spambots anyway. Thank you.       Images in signatures:   After thinking of users on dial-up, we have decided to enforce the following rules regarding signatures. Please pay heed to them. Respecting these rules is respecting the members on this forum with dial-up. Signature rules: No animated images AT ALL. No matter the amount of animation. Maximum image widthxheight: 300x150 Maximum image (file) size: 15kb Use calm colors. Do not use highly contrasting images in your signature, as this can get really annoying when seeing several posts from one member in the same thread. The same prohibited content goes for images as for posts. Lastly, use common sense. No lengthy signatures please. Save us some scrolling. Thank you.       Links in signatures:   Please understand that w3schools.com only exists because of voluntary work and is barely supported by the advertising littered throughout the tutorials and the forum. So, please, stop advertising other sites. DO not post links that drive traffic away from the w3schools domain - especially to a site that offers similar if not identical information. Please help support the site by keeping individuals on it. Thank you. Here are some guidelines as to what you can put in your signature: w3schools links --> allowed w3.org links --> allowed browser links --> allowed html editor links --> allowed personal sites --> allowed tutorial sites competing with w3schools --> NOT allowed sites completely irrelevant to webprogramming and this forum --> NOT allowed   Thanks for understanding, and for taking the time to read this. ~W3Schools Modstaff~
Sign in to follow this  
SnakesBite101

How long did it take you to learn or Master JavaScript

Recommended Posts

html and css were pretty straight forward to learn(not master). still studying those 2 subjects but i've started on Javascript. i generally read through the JS tutorial while studying the other 2, but now i know how to build a static website (with no functionality at all) i read through the the JS tutorial again. it starts off easy(or so it seems), then gets pretty tough towards the end advanced setion. i use the word easy, loosely, because while its easy to read through and understand, trying to put this easy stuff into practise and to perform given tasks seems almost impossible. An example, ive understood everything about loops and conditions in the tutorial but on another site i was set a task that asked for WAYYY TOOO MUCHHH. it wanted me to do: if, else ifs and do__whiles.. and mix them together in the same script/function etc... also to incorporate the use of logical & comparison operators in my tasks. i understand how the operators work but coupled with everything else it got too much. nothing on the tutorial prepared me for the level of depth involved in this. its so upsetting thinking all my efforts are not paying off and this is only entry level exercises:( i havent even made it to forms yets. i hate to think of how fraustrating the advanced level must be. so my question to you guys is, How long did it take you to learn or Master JavaScript? years? months? was it straight forward or very complex for you? can this be learnt via tutorials like on this site without the need of tutors/classes?

  • Like 2

Share this post


Link to post
Share on other sites
Ingolme    794

It took years to completely master Javascript, but these years included studying real programming as well. Javascript is a programming language, unlike HTML and CSS, and for programming you must be proficient with logical thinking and problem-solving abilities.There is also understanding data structures: objects, lists, trees and such things. Understanding these will make Javascript and the DOM much easier to understand.

Share this post


Link to post
Share on other sites
ShadowMage    94
It took years to completely master Javascript
Is that even possible? :PI've been doing web development for a few years now, and there are lots of things I'm still learning. And I think that will always be true. I do have to emphasize one point that Ingolme made though:
Javascript is a programming language, unlike HTML and CSS, and for programming you must be proficient with logical thinking and problem-solving abilities.
I've had several college courses on programming in general (including Java, C#, and Visual Basic courses) and these courses have helped immensely because they built the foundation required for any kind of programming: logical thinking and problem solving. You need to be able to think through and sketch out your program flow and be able to find and correct errors when they arise. Syntax errors, errors that (usually) prevent your code from functioning, are generally easy to correct because the interpreter/compiler tells you exactly where the error is. It's the logical errors, the errors in how your code functions, that require deeper thinking and good problem solving skills.

Share this post


Link to post
Share on other sites
birbal    168
How long did it take you to learn or Master JavaScript? years? months?
Even javascript language itself is evolving with time. So you have to make your mind as learner mind all the time.
was it straight forward or very complex for you?
also it is the most misunderstood language. Who came from C family or any other strict language face some problems in understanding OOP in js. It took time when i need to understand inheritance in JS which is conceptualy far away from those strict language. JS is prototype based and C/C++ others are class based. most of us are used with class based language so it is quite different. Being experinaced in any programing languages and knowing the basic concepts will help you to alot as many of things in JS is common with any other languages. But that is not all. you have to know the differences too and other features too. most problemetic part in js is different browser implementetion. multi browser compatiblity makes it harder.
can this be learnt via tutorials like on this site without the need of tutors/classes?
It is up to you which learning process you can adopt well. Tutorials sites are for start up. if you study the manual or resources it will be in depth knowledge. you can find vendor specific resource in opera/mozilla developer network or w3's drafts. If you can ask the right question still you can find the good answer in google. none of classes will go through each and every thing/topic you still need to rely on those manual. that is what we most of us do. Edited by birbal

Share this post


Link to post
Share on other sites
ShadowMage    94
If you can ask the right question still you can find the good answer in google. none of classes will go through each and every thing/topic you still need to rely on those manual. that is what we most of us do.
A very good point. This is part of "mastering" any language. You need to know how and where to look for answers to problems you encounter. I don't think the developer exists who does not, at some point, need to refer to a manual or reference for one thing or another.

Share this post


Link to post
Share on other sites
niche    128

How well you understand anything depends on how you use it. So, just start using it. I think the only way to learn coding is just to do it. No doing means no learning. Using it a little means learning a little. Coding a site mostly in JS means you're learning a lot about JS. Here's a tip that might help. With server side code, like php, I'm telling my machine what to do. With client side code, like JS, I'm telling my machine, to tell the user's machine what to do. It's cheaper and frequently provides the user with a better experience provided the user's JS is enabled.

Edited by niche

Share this post


Link to post
Share on other sites
Ingolme    794
I've had several college courses on programming in general (including Java, C#, and Visual Basic courses) and these courses have helped immensely because they built the foundation required for any kind of programming: logical thinking and problem solving. You need to be able to think through and sketch out your program flow and be able to find and correct errors when they arise. Syntax errors, errors that (usually) prevent your code from functioning, are generally easy to correct because the interpreter/compiler tells you exactly where the error is. It's the logical errors, the errors in how your code functions, that require deeper thinking and good problem solving skills.
This isn't the exact reason you need problem solving skills. Errors don't come until you've actually written some code. Problem-solving is the ability to take the knowledge you have and use it to solve a problem. The "problem" is actually the description of the program you want to make. You need to be able to break your idea down into data structures, functions, loops and logical statements. The problem-solving ability is the very core of the programming mind. It is what turns an idea into code. When somebody comes to the forum and ask me "How do I do this?", where do I get the answer? I don't go and search for it on the internet, I break the problem down into its components and find the data structures and logical operations that make up each component.

Share this post


Link to post
Share on other sites
ShadowMage    94
This isn't the exact reason you need problem solving skills. Errors don't come until you've actually written some code. Problem-solving is the ability to take the knowledge you have and use it to solve a problem. The "problem" is actually the description of the program you want to make. You need to be able to break your idea down into data structures, functions, loops and logical statements.
I was going more for logical thinking being the ability to take an idea/concept and break it down into the necessary components, how the different components work together, and the logical flow of the program. I guess this fits under the "problem solving umbrella" but I was thinking of problem solving in the stricter sense of solving particular issues that arise with your code. Writing code is the easy part (once you understand the data and control structures). Figuring out why your code didn't do what you expected is the part that can get a little tricky.
When somebody comes to the forum and ask me "How do I do this?", where do I get the answer? I don't go and search for it on the internet, I break the problem down into its components and find the data structures and logical operations that make up each component.
Right. But it's logical thinking that tells you which structures and operations you'll need. You need to think about which ones would make the most sense. For example, if you need to print a list of items, logic says use an array and a loop. EDIT: Here's another great example, I just ran into. It's PHP but the same concepts apply:I have three different arrays to which data is added to in a loop. At one point I need to figure out which array to add data to. Well, I know about variable variables, and I know about if and switch statements. Variable variables made the most logical sense to me so that's what I used:
switch($strStructCalcs) {	case 'N': //Calcs needed		$whichArr = 'arrCalcsNeeded';		break;	case 'O': //Calcs out		$whichArr = 'arrCalcsOut';		break;	case 'R': //Calcs recieved	default: //No calcs needed		$whichArr = 'arrAvailJobs';		break;} $t = count($$whichArr);$$whichArr[$t][$Prod_Dwg_By] = $tmpProdDwgBy;$$whichArr[$t][$Submit_Change_Drafter] = $strDrafter;$$whichArr[$t][$Parts_For_Open_Lines] = $strPart;$$whichArr[$t][$Est_Prod_Hours] = $TotalEstProdHours;$$whichArr[$t][$Act_Prod_Hours] = $TotalActProdHours;

I was a little surprised when the above didn't work. But that's where the problem solving comes in, and led me to the solution:

$$whichArr[$t][$Prod_Dwg_By] = $tmpProdDwgBy;

should be

${$whichArr}[$t][$Prod_Dwg_By] = $tmpProdDwgBy;

Edited by ShadowMage

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×