An open API service indexing awesome lists of open source software.

https://github.com/sergeiown/beetrooteducationlesson29

JS basics
https://github.com/sergeiown/beetrooteducationlesson29

html5 javascript

Last synced: 3 months ago
JSON representation

JS basics

Awesome Lists containing this project

README

        

# BeetRootEducation

**_LMS Beetroot Academy progress_**

### TASKS

**Minimum**

1. Create an HTML file and write all possible ways to use JS in it;
2. You need to store the first and last name in a variable, come up with up to 4 variable names that you need for this task. Also, write up to 5 incorrect names (incorrect names must be commented);
3. Indicate all possible ways of commenting the code;
4. What styles of writing variable names do you know?

**Normal**

1. Ask for a username and print "Hello, _name_";
2. Ask for the user's year of birth, calculate his/her age and print the result. Use the current year as a constant in the code;
3. Ask the user the length of a side of a square and print the perimeter of the square.

**Maximum**

1. Ask the user for the radius of a circle and print the area of the circle.
2. Ask the user for the distance in kilometers between two cities and how many hours it takes to get there. Calculate the speed with which they need to move to be on time.
3. Implement a currency converter. The user enters dollars, the program converts them into euros. The exchange rate is kept constant.