Skip to content
This repository has been archived by the owner on Feb 17, 2023. It is now read-only.

This repository contains the problem statements and my solutions to the udemy course by Maximilian Schwarzmuller for learning Javascript.

License

Notifications You must be signed in to change notification settings

amirli21/javascript-assignments-udemy-maximilian_schwarzmuller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

javascript-assignments-udemy-maximilian_schwarzmuller

This repository contains the problem statements and my solutions to the udemy course by Maximilian Schwarzmuller for learning Javascript.

Here is a course link.

Problem statements for assignment 1

  1. Create two variables: One that holds a fictional user input (a number of your choice) and one that holds no value initially (e.g. "result").
  2. Set the result variable to 18 plus the value stored in user input.
  3. Add three additional lines of code where you change the result variable again (by subtracting a value of your choice, multiplying it and dividing it).
  4. Think about the value stored in the user input variable you also created - did that value change?
  5. alert() the result and the user input variables (in two separate alert() calls).

Problem statements for assignment 2

  1. Create two new functions: One that takes no parameters and simply shows an alert() with some text of your choice and one that receives a name as a parameter and then uses alert() to output that name.
  2. Call both functions directly from your code.
  3. Add an event listener to task3Element and attach it to the first function (the one without arguments). Click this task thereafter to verify whether it works.
  4. Add a brand-new function that takes three parameters (three strings, give them any names you want) that returns one combined string (where the three strings are concatenated).
  5. Call that new function directly from your code and alert() the result of that function.

About

This repository contains the problem statements and my solutions to the udemy course by Maximilian Schwarzmuller for learning Javascript.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published