Learn JavaScript in 12 Minutes

  • Дата - 05/08/2014, Время видео - 12:01, Просмотров - 694404, Понравилось 9325 зрителям

  • Learn the fundamental features of JavaScript - the language used to add dynamic, interactive content to websites. I teach you how to get started with JavaScript, how to use variables, operators, arrays, properties, methods, custom functions, conditionals and loops. In 12 minutes.

    LEARN HTML IN 12 MINUTES


    LEARN CSS IN 12 MINUTES


    LEARN PHP IN 15 MINUTES


    ---------- Text Editors ----------

    For Windows users, I recommend using Notepad++ to edit HTML files:


    For Mac users, I recommend Sublime Text:


    ----------------------------------------

    SUBSCRIBE FOR MORE


    TWITTER
    FACEBOOK
    INSTAGRAM

06/05/2017 Yusuf Mohamed Salh
great video,thank you.

05/05/2017 Kix
You typed Hellow... We all know whose a furry now.

03/05/2017 Bhavani Shankar
ready for tomorrow's exam, yayy!

03/05/2017 Buffryni
Source code of complete video and comments which explains everything. :
.
.
.
.
.
<!doctype html>
<html>
<head>
<script>
function sayHello{ creating a function and giving is some name in here the name is sayHello
document.write" Hello "; here we put what job function will do in here its job is to write Hello
}

function saysHellowho { in here we gave sayHello some var now--
document.write"Hello," + who we can add who in this and replace anytime we apply function for more info see downwords where we used it
}

<script>
<head>
<body>
<h1>Complete basics of javascript<h1>
<script>
document.write"Hello,World";
there are three types of variables number, string and boolean
var myvariable 5; this is number
var myvariable1 "String"; this string means any word can be used in this
var myvariable2 false; this is boolean means true or false

var words " this is"; this is 1 you can add 2 var words or strings to form a one big sentence
var morewords " a sentence"; this is 2
var sentence words + morewords; this is 1+2
document.write sentence ; this will print the added material

var num1 5;
var num2 3;
var num3 3;
var total num1 + num2 + num3;
var plus ++num1 ; this is will add one number in the var num1
document.write total + " this is a number ";
document.write num1 ;

var alpha "ABCDEFG"
var length alpha.length; this will count the length of aplha
document.write length ; this will print the length of the aplha which is 7

var result alpha.substring3,5; this will give the string between 3 and 5 means DE
document.write result ;

var a new Array7; first type of Array
a[0] " cat ";
a[1] " dog ";
a[2] " 95 ";
a[6] " true ";

document.writea[0];
document.writea[1];
document.writea[2];
document.writea[6];

var a new Array " cat "," dog "," 95 "," true "; second type of Array
document.writea[0];

var a ["dog","cat", 3, 5, false]; third type of Array
document.writea[3];

sayHello; call function anytime you want it will work anytime

saysHello" Bob "; here we replaced who with Bob and now it will show Hello, Bob
document.write"<br>";
saysHello" Mary "+"<br>";

var a 7;
ifa<10{ this show that if a is lesser than 10 then
alerta; give alert box which is shows "a" which is 7 remember?
}

var b 10;
ifb>20{
alertb;
}else{
alert"chutiyapa";
}

for i0;i<5;i++{ this is loop i 0 means i is 0 and it is lesser than 5 and i++ tells to add everytime before it reaches 5
document.write"This is iteration " + i + "<br>"; this is the work the loop is supposed to do
}

<script>
<body>
<html>

02/05/2017 Md. Habibur Rahman
Awesome tutoriul bro

30/04/2017 Tim Lucido
Jake, Thanks for this lesson in beginning JavaScript. It's amazing how quick and precise you condensed a text book chapters into this time frame.

30/04/2017 LDT233
here are some notes about this video if anyone would want them!

Always put a ; after a commad so the console will know the command is over.

var name "will"
"will"

var message "hello there"
alertmessage <--------- this will have the message "hello there" come up.


alert"message" <--------- If you do this command "message" will come up because you gave it a string not a var.

var myNumber 200;
200

var myAge 16;
myAge + 20 <---------- this will let the console know you are 16 and will do simple math to show you how old you would be in what ever years you put in this case I use 20
36

var or Variables let you store info and pull it back up at a different time.
----------------------------------------------------------------------------------------------------------------

var age 16

if age < 18 {
alert'still young!' <--------- remeber to press shift enter so it does not use as command
}


if age < 18 {
alert'still young!'
} else {
alert'oh man, getting old'
}

var mylist 'eggs', 'milk', 'fruit';
my list <------called a Array

mylist [0] <-------- if you put 0, 1 ,2 the list will show.
'eggs'

mylist [0] 'veggies'
'veggies' <--------- you can change the list by using this command or if you use a higher number like 3 even tho its not on the list it will add it then and when you do mylist it will be added and show.

mylist.lenght <------ that will show you how many things you have in your list.
----------------------------------------------------------------------------------------------------------------
strings


var alpha "ABCDEFG"; <----- starts at 0 so A0 B2 etc.
var result alpha.substring3, 5; <---------- Will display D,E on the website because you are pick from the list.
document.writeresult;
------------------------------------------------------------------------------------------------------------
Array

var a new Array7;
a[0] "cat";
a[1] "dog";
a[2] "95";
a[6] true;

document.writea[1];
---------------------------------------------------------------------------------------------------------------
function sayhellowho {
document.write"hello"; <------- Put this in the <head> to make the body more clean and then just put sayhello; and it will out put it on the site.
}

function sayhellowho {
document.write"hello, " + who;
}

sayhello"bob"; <---- be in body and will out put 'hello bob'
document.write"<br>";
sayhelloMary;

30/04/2017 Basit Stargate
accurate minute for beginners
\

ПОХОЖИЕ РОЛИКИ

How to Create a Calculator in JavaScript

Время - 09:36, Просмотров - 42813, Симпатий - 108
ПОСМОТРЕТЬ


ПОХОЖИЕ РОЛИКИ

Learn HTML in 12 Minutes

Время - 12:17, Просмотров - 1571452, Симпатий - 12412
ПОСМОТРЕТЬ


ПОХОЖИЕ РОЛИКИ

Learn PHP in 15 minutes

Время - 00:15, Просмотров - 864145, Симпатий - 7242
ПОСМОТРЕТЬ


ПОХОЖИЕ РОЛИКИ

10 Things To Master For JavaScript Beginners

Время - 28:08, Просмотров - 357939, Симпатий - 3204
ПОСМОТРЕТЬ


ПОХОЖИЕ РОЛИКИ

JavaScript Tutorial

Время - 01:37:09, Просмотров - 540892, Симпатий - 5418
ПОСМОТРЕТЬ


ПОХОЖИЕ РОЛИКИ

Learn CSS in 12 Minutes

Время - 12:11, Просмотров - 673690, Симпатий - 9931
ПОСМОТРЕТЬ


ПОХОЖИЕ РОЛИКИ

Should you learn JavaScript in 2016 and 2017

Время - 05:24, Просмотров - 25029, Симпатий - 365
ПОСМОТРЕТЬ


Собрания

  • Главное
  • Новое
  • Полезное
  • Нужное