Javascript Exercises

Rocketseat

Module 1 - Introduction

Exercise 1

A function that print an object like this one:


                    

Click the button to call the function

User adress goes here...

Exercise 2

A function that prints all odd numbers in an interval

function odds(x, y){
//Code here...
}

odds(32, 231)

Click the button to call the function

Numbers goes here...

Exercise 3

A function that says if there is the Javascript skill in this array of skills:


                    

Click the button to call the function

Has Javascript Skill? 

Exercise 4

A function that says the level from the study years

// 0-1 year: Beginer
// 1-3 years: Medium
// 3-6 years: Advanced
// 7 and more: Jedi Master

Type your study years then click the button

Your level is...

Exercise 5

A function that prints this object:


                    

Click the button to see the result

Result goes here...

Module 2 - DOM

Exercise 1

This button add red squares when clicked

Here comes the squares

Exercise 2

Now, the squere color changes when moving the mouse pointer onto the squares

Exercise 3

A function that prints a <ul> with this items of an array


                    

Click the button to print the list

Name list:

    Exercise 4

    Now, type a name then click the button to add in the list

    Module 3 - ToDo App

    The exercise of this module is a To-do aplication, avaliable on my Github here

    Module 4 - Async JS

    Exercise 1

    Type your age and I will check if you are older or younger than 18

    You are...

    Exercise 2

    Type your Github username and I will list your repositories

    Here goes your repositories...