Stats: 3,184,607 members, 7,924,052 topics. Date: Saturday, 17 August 2024 at 09:16 PM |
Nairaland Forum / Science/Technology / Webmasters / Learn Javascript Now No More Excuses. (1994 Views)
Learn Javascript Here!!!(updated) / Let's Learn Javascript / I Want To Learn Javascript And Css (2) (3) (4)
Learn Javascript Now No More Excuses. by Nobody: 8:53am On Jan 19, 2013 |
been seeing some numerous post about learning JavaScript, so i decided to create a single thread again because most of my JavaScript thread always assumes everyone is a js coder, so i will start from the basic, sometimes i might copy some parts from the web, so plagiarism-intent is activated and sadly because NL has no Syntax Highlighter, i might use JSFiddle and some other javaScript tools online, JavaScript has massively changed from alert box, its now in Servers, and ways to write them are now more complex, and so much tools available at our disposal. buckle up if you intend to learn because it will be heavy but worth the ride. So before i start i will state the two Chapters ( as stated i will pull some information from other sources) 1. Overview of javaScript 2. JavaScript Object Data Type Tools Required for this 1. Chrome + Web Developer(already Installed) same with Safari 2. Firefox (Firebug + autoComplete)extension 3. IE( i won't advise it but it can work) don't attempt to start without getting the necessary tools for firebug go to get.firebug.com |
Re: Learn Javascript Now No More Excuses. by Afam4eva(m): 9:07am On Jan 19, 2013 |
I'm following this thread like twitter... |
Re: Learn Javascript Now No More Excuses. by Nobody: 9:41am On Jan 19, 2013 |
From Mozilla Developer Network Overview JavaScript is an object oriented dynamic language; it has types and operators, core objects, and methods. Its syntax comes from the Java and C languages, so many structures from those languages apply to JavaScript as well. One of the key differences is that JavaScript does not have classes; instead, the class functionality is accomplished by object prototypes. The other main difference is that functions are objects, giving functions the capacity to hold executable code and be passed around like any other object. Let's start off by looking at the building block of any language: the types. JavaScript programs manipulate values, and those values all belong to a type. JavaScript's types are: Numbers Strings Booleans Functions Objects |
Re: Learn Javascript Now No More Excuses. by Goodcare(m): 11:36am On Jan 19, 2013 |
One love bros , many thanks in anticipation ![]() ![]() |
Re: Learn Javascript Now No More Excuses. by hemor(m): 5:56pm On Jan 19, 2013 |
<a href="http://www.000webhost.com/" onClick="this.href='http://www.000webhost.com/662413.html'" target="_blank"><img src="http://www.000webhost.com/images/banners/120x120/banner1.gif" alt="Web hosting" width="120" height="120" border="0" /></a> |
Re: Learn Javascript Now No More Excuses. by dansmog(m): 6:42pm On Jan 19, 2013 |
Pc guru, please go on, i am loving this, and dont get discourage by other gurus in the forum, please finish this tutorial. Thank you. |
Re: Learn Javascript Now No More Excuses. by Nobody: 6:57am On Jan 20, 2013 |
The Number JavaScript object is a wrapper object allowing you to work with numerical values. A Number object is created using the Number() constructor. For more information read more on http://www.hunlock.com/blogs/The_Complete_Javascript_Number_Reference |
Re: Learn Javascript Now No More Excuses. by Nobody: 7:33am On Jan 20, 2013 |
dansmog++: i will but my time difference is 3 hours so prob in the afternoon time. |
Re: Learn Javascript Now No More Excuses. by Nobody: 7:55am On Jan 20, 2013 |
pc guru: The Number JavaScript object is a wrapper object allowing you to work with numerical values. A Number object is created using the Number() constructor. Because the Number is a bit complicated there is a link that explains the Number Object, JavaScript has no concept of integer, so for detailed operations involving numbers, you will need to get acquainted with the Number, the Number just as every Object has its properties and functions, the next is "String" |
Re: Learn Javascript Now No More Excuses. by remmyz(m): 9:35am On Jan 20, 2013 |
good morning to u all. hope u had a great night. pls guru's in d building do you have or knows anyone that have an account with sedo.com. a client contacted me to help buy back their domain. I have tried to register on the website so that I can make a bid twice buh account is yet to be approved. pls sir I will appreciate your effort. Regard. |
Re: Learn Javascript Now No More Excuses. by Nobody: 8:26am On Jan 24, 2013 |
Sorry because of Induction and school Registration,i didn't have time for this, [Source:Mozilla] Strings Strings in JavaScript are sequences of characters. More accurately, they're sequences of Unicode characters, with each character represented by a 16-bit number. This should be welcome news to anyone who has had to deal with internationalisation. If you want to represent a single character, you just use a string of length 1. Now if you are familiar with C++ you will know there are Char 'a' and Char[3] 'Sexy' and String "Hello", JavaScript unlike C++ treats Chars and Strings as the same, and though String is an Object,the string function has so many useful functions such as length,search,replace,charAt. Strings are actually simple to use, however when having multiline strings, you will need to break them into smaller fragments unlike PHP JavaScript will not take whitespacing likely var htmlSTring = "<div> |
Re: Learn Javascript Now No More Excuses. by Nobody: 8:52am On Jan 24, 2013 |
JSFiddle Test for Nairaland [Strings] http://jsfiddle.net/86hTM/ Please look in your Console for Results. |
Re: Learn Javascript Now No More Excuses. by kenengineboy(m): 11:25am On Jan 25, 2013 |
Am developing a website and i need a comprehensive list of all the towns in the world , their corresponding states and country. Please is there anybody out there that can be of help? |
Re: Learn Javascript Now No More Excuses. by Nobody: 1:16pm On Jan 25, 2013 |
i don't want to sound like a mean person, but this thread is meant for JS Tutorial pls create a thread for that or http://www./169274473187646/doc/235139146601178/ pls do not derail this thread thanks |
Re: Learn Javascript Now No More Excuses. by 4ifyomedon(m): 1:45am On Jan 27, 2013 |
PC Guru, tanks for ur time. I am a newbie and happen to see ur thread. I love it. |
Re: Learn Javascript Now No More Excuses. by Nobody: 5:07pm On Jan 27, 2013 |
Sorry this thread will be alot slower from next week, i will be having 10000 words projects, developing a game and meeting companies/group meeting so i will try to update at a much free time. |
Re: Learn Javascript Now No More Excuses. by Nobody: 5:19pm On Jan 27, 2013 |
And there are Booleans Objects, now this is a bit tricky because there are the primitive Boolean values true or false and the Boolean Object, you will find yourself making use of the primitive value most of the times, always make sure to never use a Boolean Object to make a comparison, the article below is a very good example of such http://www.diveintojavascript.com/articles/javascript-boolean-objects-vs-boolean-primitives |
Re: Learn Javascript Now No More Excuses. by Nobody: 3:22pm On Jan 28, 2013 |
Now functions are the bane and most important concept in JavaScript so this is vital i will summarize and refer to links and just hit the main point, in JavaScript Functions are much more different than every other languages, Functions here in JavaScript are actually a "Function Object", now function Object how does that work based on what you know in Java/C++/C# the only language that has similarity with is Python (but pls feel free to research on this), Functions in traditional languages are nothing more than codes and variables kept called in the stack and used when its being called, but in JavaScript functions too are Objects they have properties,and also have functions(no pun intended), infact the beauty of JavaScript is that a function can be overwritten on the run which is not possible in most languages, infact you can write a library that overloads a previous function and run your own function, function is the key to understanding JavaScript. |
Re: Learn Javascript Now No More Excuses. by Nobody: 8:35am On Feb 03, 2013 |
Sorry bros got a game to develop for school and 12000 words projects and a web app project. foreign skool ain't easy am back to add some more ish |
Re: Learn Javascript Now No More Excuses. by Nobody: 8:38am On Feb 03, 2013 |
Another Complicated issue is JS is the issue of "this", this usually confuses alot of JS Dev sadly, as much as i know it, its really hard for me to explain this(no pun intended) without touching context and Global objects, so a link that discusses it will be posted here, the only hint or advice i can say is that Function has two method of changing context and they are apply and call. http://www.quirksmode.org/js/this.html |
Re: Learn Javascript Now No More Excuses. by adewasco2k(m): 11:13am On Feb 04, 2013 |
PC GURU i take God beg you ![]() |
Re: Learn Javascript Now No More Excuses. by Nobody: 6:45pm On Feb 04, 2013 |
my priorities are my studies and work, its the free time i use to spend here, but others are free to add to it, it wud be doing me a favour |
Re: Learn Javascript Now No More Excuses. by adewasco2k(m): 6:50pm On Feb 04, 2013 |
pc guru: my priorities are my studies and work, its the free time i use to spend here, but others are free to add to it, it wud be doing me a favourtotally understand you bro....wish you well with your career |
Re: Learn Javascript Now No More Excuses. by Nobody: 7:15pm On Feb 04, 2013 |
Function Fiddle Test(Please Correct if error exists) http://jsfiddle.net/hWc6k/ |
Re: Learn Javascript Now No More Excuses. by Nobody: 7:20pm On Feb 04, 2013 |
Now Functions in JavaScript are a Objects and can be passed around like variables,you can even create a function that returns a function and dynamically attach properties to it, which makes JS beautiful, back in the good old days when there was a function to extend classes, a function was created and you iterate over the source properties and copy to the destination function easily. Function is the key concept to knowing JavaScript, yes there are tons of frameworks everyday but without the adequate knowledge of functions you will find using frameworks like dojo hard to use and also difficult to debug jquery. JavaScript for Web Developers by Nicholas Zakas is amazing and there is the JavaScript Enlightenment which is a free pdf to download. www.javascriptenlightenment.com/JavaScript_Enlightenment.pdf |
Re: Learn Javascript Now No More Excuses. by Nobody: 7:24pm On Feb 04, 2013 |
Infact this Book JavaScript Enlightenment is superb we will review the book, by now i assume you shouldn't expect this thread to teach everything, the journey is meant for you to read and research and practice. it will be fun ![]() |
Re: Learn Javascript Now No More Excuses. by dansmog(m): 12:21am On Feb 05, 2013 |
pc guru, please can you give us links to good javascript tutorial website.. From beginners throught to advanced. I have seen two sha! Quirksmode.org and Mozilla developer network if am not mistaken. And you can also tell us what you will talk about after you are through with one topic in javascript to make things easier, faster and so that we can ask question concerning them... Thank you....... |
Re: Learn Javascript Now No More Excuses. by Nobody: 5:23am On Feb 05, 2013 |
JavaScript Garden is the fastest and easier in my opinion, but Mozilla Developer Network is another. I'll try to do that. |
Re: Learn Javascript Now No More Excuses. by dansmog(m): 4:00pm On Feb 09, 2013 |
pc guru: JavaScript Garden is the fastest and easier in my opinion, but Mozilla Developer Network is another. I'll try to do that.when i searched for javascript garden on google.com, it shows a www.github.com of javascript garden. Or am i getting it wrong? Give the full address nah. |
Re: Learn Javascript Now No More Excuses. by Nobody: 7:20pm On Feb 24, 2013 |
sorry for the break, class work doubled, plus i had some minor issue with school and also the police, just happened to be at the wrong place and time, anyway will be copying from the book JavaScript for Enlightened i assumed any serious JS Dev would have download and gone over it. |
Re: Learn Javascript Now No More Excuses. by Nobody: 11:48am On Apr 04, 2013 |
looking for a HTML5 Developer with jQuery and Git Knowledge,its for a company, Konga thanx |
I Need Www.abegmusic.com Wordpress THEME / Very Active Facebook Page With 34k Likes For Sale!!! / Blog For Sale.
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 38 |