Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,153,778 members, 7,820,720 topics. Date: Tuesday, 07 May 2024 at 08:13 PM

Complete Javascript Programming Tutorial - Programming (2) - Nairaland

Nairaland Forum / Science/Technology / Programming / Complete Javascript Programming Tutorial (7157 Views)

Pls Is It Possible To Learn Javascript Programming In One Month / PPT: Personal Programming Tutorial / Complete Programming Tutorial For Beginner's (2) (3) (4)

(1) (2) (Reply) (Go Down)

Re: Complete Javascript Programming Tutorial by Nobody: 11:53am On May 03, 2012
yep it will be good to educate JavaScript beginners here, because javascript is the most misunderstood scripting functional language i know(i only know one cheesy) but seriously for me its a bit easier than years ago when i started i can contribute to it.take care
Re: Complete Javascript Programming Tutorial by dongido: 2:53pm On Sep 04, 2013
esorison: I tried running this on my system using firefox as my default browser it brought out a page with nothing written on it. I saved it with .html and saved as all files. What am i missing out?[]Please i beg your pardon for the short delay in our training.I had  and emergency trip and that was why i have not been online.

Let us start with a program that uses an assignment operator with five variables called Addition, Subtraction, Multiplication Division and Module +=, -=, *=, /= y %=.

Example :1


[color=#990000]<HTML>
<HEAD><TITLE>Math Operations</TITLE></HEAD>
<BODY>
<SCRIPT LANGUAGE="JavaScript">/*  JavaScript starts*/
var Addition = 6, Subtract = 6, Multipli = 6, Division = 6, Module = 6;      // declared multiple Variables separating each with a comma

Addition += 2;                                   // this is the same as (Addtion = Addition + 2wink we just added 2 to the value of our variable called  Addition
Subtract -= 2;                                  // we  did the same here, but in this case we subtracted
Multipli *= 2;                                   // we multiplied following the same rule
Division /= 2;                                  // same as Division = Division/2; that is dividing 6 by 2.
Module %= 5;                                // here we divided and used the reminder. In this case 1 is left out.
alert(
      " Addition \t"        +(Addition)           // we printed each value on the screen and concatenated or joined our variables with a + sign
      +"\nSubtract \t"      +(Subtract)      // the  (\t) are horizontal tab or space while \n are new line.Try to remove them and see the differences.
      +"\nMultipli \t"      + (Multipli)
      +"\nDivision \t"      + (Division)
      +"\nModule \t"        + (Module)
      );
</SCRIPT>
</BODY>
</HTML>

Please try to read CASE Statement and ARRAYS for the next lecture.We shall be treating those
topics soon and will also try to show some examples on how to apply them.

After this  topic i will decide to go into more complex areas in JavaScript since
it is assumed that the interested people in this Training are all advanced in JavaScript  Web Applications.
[/color]just checking something out
Re: Complete Javascript Programming Tutorial by Raypawer(m): 5:22am On Sep 05, 2013
God Bless You brother... Ur so on Point... I wish one day to have time to teach conairalanders other coding language like c# or so. Ones again, u shall live long
Re: Complete Javascript Programming Tutorial by queency20(f): 4:47pm On Apr 17, 2015
wow cul am ln.
Re: Complete Javascript Programming Tutorial by cmespeak: 10:07pm On Apr 18, 2015
queency20:
wow cul am ln.

Guy u no check the date wen the topic start? since 2009, are u sure the op is still continuin with this u better go check w3schools.com for javascript tutorials and much more.
Re: Complete Javascript Programming Tutorial by service44: 12:36pm On Jan 10, 2021
I love this.

(1) (2) (Reply)

Data Analyst/science - The Smart Way To Learn And Be Effective / Web Service Using Java Or C# / Aspiring Video Game Programmers Lounge.

(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. 12
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.