Categories

There are currently no items in your shopping cart.

User Panel

Forgot your password?.

Javascript – From Beginner to Pro-Build real world JS apps

Video Introducing this tutorial

Introduction to Javascript :
Welcome
Let's understand our IDE (Development Tool) - Sublime Text
Let's understand our IDE (Development Tool) - JSBIN
What can Javascript do? - a preview to the super powers!
Where to put Javascript?


Javascript Language Basics :
How to see the output?
Syntax
Comments
Statements
Variables
Declaring (Creating) JavaScript Variables
1 question
Use a single var keyword to create three variables with the following values
1 question
Display the sum of 5 + 10, using two variables x and y.
1 question
Operators
Use the Multiplication (*) operator to display multiplication of 2 numbers
1 question
Display the difference of 10 - 5, using two variables x and y.
1 question
Display the result of 10 / 5, using two variables x and y.
1 question
Find the remainder when 15 is divided by 9, using two variables x and y.
1 question
Use the += operator to add a value of 5 to the variable x.
1 question
Use the -= operator to subtract a value of 5 from the variable x.
1 question
Use the *= operator to multiply the variable x with 5.
1 question
Use the /= operator to divide the variable x with 5.
1 question
Use the %= operator to assign a remainder of 10 / 3 to the variable x.
1 question
Using += operator to concatenate String
1 question
Data Types
Functions
Call the function.
1 question
Figure out what is wrong with the function - fix it and run it as it should!
1 question
Use the function to display the product of 5 * 5.
1 question
Use the function to display "Hello John".
1 question
Define a function named "myFunction", and make it display "Hello World!" in the

element.
1 question
Objects
Display "John" by extracting information from the person object.
1 question
Add the following property and value to the person object: country: USA
1 question
Create an object called person with name = John, age = 50. Then, access the object to display "John
1 question
Scope
Events
The

element should do something when someone clicks on it. Try to fix it!
1 question
When the button is clicked, trigger myFunction() with an event.
1 question


Data Types :
Strings
Assign the string "Hello World!" to the variable txt.
1 question
Use the length property to display the length of the txt variable's value.
1 question
The string below is broken - use escape characters to display the text correctly.
1 question
String Methods - Part 1
String Methods - Part 2
Display the position of the first occurrence of "World" in the variable txt.
1 question
Use the slice() method to display only "Banana,Kiwi".
1 question
Use the replace() method to replace "World" with "Universe".
1 question
Convert the value of txt to lower case.
1 question
Convert the value of txt to upper case.
1 question
Use the concat() method to join the two strings: str1 and str2.
1 question
Numbers
Create a variable called myNumber, assign the value 50 to it, and display it.
1 question
The value of z should be 11. Find out what's wrong and fix it.
1 question
Number Methods
Math Object
Use the random() method to display a random number.
1 question
Fix the code to display the number with the highest value.
1 question
Round "7.3" to the nearest integer, and display it.
1 question
Display the square root of "9".
1 question
Math.random()
Dates
Create a Date object to display the date and time for 1st January, 2017.
1 question
Date Formats
Date Methods
Arrays
Create an array named cars, assign the values "Saab", "Volvo" and "BMW" to it, and display it.
1 question
Display the "Volvo" item of the cars array.
1 question
Change the first item of cars to "Opel" by referring to the index number,and display the whole array
1 question
Use the length property to display the number of array items in cars.
1 question
Use the length property to add a new item to cars: Mercedes.
1 question
Array Methods
Use the pop() method to remove the last item from the fruits array.
1 question
Use the push() method to add a new item to fruits: Kiwi.
1 question
Use the splice() method to remove "Orange" and "Apple" from fruits.
1 question
Use the concat() method to concatenate girls and boys.
1 question
Sorting Arrays
Use the sort() method to sort the array alphabetically.
1 question
Booleans


Objects :
Objects and the 'this' keyword
Object Property
Object Methods
Object Prototype
Response to Question: Pass by Value v/s Pass by Reference


Comparison & Logical Operators :
Comparison Operators
Choose the correct comparison operator to display "true", when: 5 is less than 7.
1 question
Choose the correct comparison operator to display "true", when: 10 is greater than 7.
1 question
Choose the correct comparison operator to display "true", when: 10 is equal to 10.
1 question
Choose the correct comparison operator to display "true", when: 10 is NOT equal to 8.
1 question
Logical Operators


Conditional Statements :
If...Else Statements
Use the if statement to output some text if 5 is greater than 2.
1 question
1. Write an if statement with the following condition: 10 is greater than 5. 2.
1 question
Change the value of the variable firstName to make the if statement run.
1 question
Add an else statement to display "You're not John!".
1 question
Write an if/else statement with the following condition
1 question
The if/else statement does not work. Try to fix it.
1 question
Switch Statement
Switch - The switch statement is missing a case for "Apple".
1 question
Switch - The switch statement is missing a default case.
1 question
Switch - The switch statement does not work. Try to fix it.
1 question


Loops :
For Loop
For Loop - In the for loop, change num1 to 0 and num2 to 10 and run the code.
1 question
For Loop - Make the loop start counting from 5 instead of 0:
1 question
Make the loop start counting from 5. Count up to (including) 50, and count only every fifth number.
1 question
For loop - Make the loop start counting downwards from 10 and stop at 1.
1 question
For Loop - Inside the for loop!
1 question
For Loop - In this exercise, you are going to create a for loop from scratch
1 question
While Loop
While Loop - Inside the