Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

0x12. Javascript - Warm up

Description

What you should learn from this project:

  • Why Javascript programming is amazing (don’t forget to tweet today, with the hashtag #javascriptisamazing :))
  • How to run a Javascript script
  • How to create variables and constants
  • What are differences between var, const and let
  • What are all the data types available in Javascript
  • How to use the if, if ... else statements
  • How to use comments
  • How to affect values to variables
  • How to use while and for loops
  • How to use break and continue statements
  • What is a function and how do you use functions
  • What does a function that does not use any return statement return
  • Scope of variables
  • What are the arithmetic operators and how to use them
  • How to manipulate dictionary
  • How to import a file

  • Write a script that prints “Javascript is amazing”:
  • Write a script that prints 3 lines:
  • Write a script that prints a message depending of the number of arguments passed:
  • Write a script that prints the first argument passed to it:
  • Write a script that prints two arguments passed to it, in the following format: “ is ”
  • Write a script that prints My number: if the first argument can be converted to an integer:
  • Write a script that prints 3 lines: (like 1-multi_languages.js) but by using an array of string and a loop
  • Write a script that prints x times “C is fun”
  • Write a script that prints a square
  • Write a script that prints the addition of 2 integers
  • Write a script that computes and prints a factorial
  • Write a script that searches the second biggest integer in the list of arguments.
  • Update this script to replace the value 12 with 89:
  • Write a function that returns the addition of 2 integers.

Author