In this folder I have collected the tasks I did for the JavaScript course from the Full-Stack Web Development program in Helsinki Business College. I started studying this program in January 2021.
All tasks are made with vanilla JavaScript.
A simple caclulation task where I get user input using prompt and do some calculations with it
Just some tests I did with data types
A lottery game where user wins if number 1 comes 5 times
The program that prints in console the name of the random number in Finnish
I make some calculations about how much gasoline is needed. I get user input from the html form (input tag)
Few exercises where I take user input. I calculate age, BMI and salary amd some other tasks
I started to study arrays. Here is a small lottery app. User wins if gets all numbers 1. Also there is a special button to win for sure. The program will run until user wins a jackpot
Just some test tasks I did in order to understand arrays better
Background color generator. Here I use event listeners
Game where user should catch the lighted bulb
I started to study objects. Here are just some exercises for testing
Task about objects. Here user can add the car into the list. The car will appear in the table. With the car plate number it is possible to search for a car.
More array exercises
Bonus task where I had created a new object by doing some manipulations with another object. Result is in console.
Calculator application
Some exercises with functions and where I practice to use "this" keyword
Speed game. Here the user should catch the dice picture and get as high score as possible. The speed increases all the time. Later on I am planning to add a score table as well.
Example of using API shown by our teaher
A simple pokedex where I fetch API. Note how with the first fetch only the names of pokemons are loaded, and then picture load happens after clicking. It is possible to fetch 1000 pokemons really fast this way.
I followed a Youtube tutorial to make this weather app. It shows weather based on user's location
This is also a weather app, but here it is possible to check the weather by the city name
Exercises with arrays and loops
Not finished. Here I tried to follow the Youtube tutorial about fetching API.
Simple Rock Paper Scissors game