From 66b68f1de98db12a539c734594c4600f2cf1946c Mon Sep 17 00:00:00 2001 From: Eduard-Constantin Ibinceanu Date: Sun, 17 Apr 2022 12:30:41 +0300 Subject: [PATCH] Changed some words --- readMe.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/readMe.md b/readMe.md index 65eaaf2..be2aff2 100644 --- a/readMe.md +++ b/readMe.md @@ -596,14 +596,14 @@ Example of invalid variables: num_#_1 ``` -Let us declare variables with different data types. To declare a variable, we need to use _let_ or _const_ keyword before the variable name. Following the variable name, we write an equal sign (assignment operator), and a value(assigned data). +Let us declare variables with different data types. To declare a variable, we need to use _let_ or _const_ keyword before the variable name. Following the variable name, we write an equal sign (assignment operator), and a value (assigned data). ```js // Syntax let nameOfVariable = value ``` -The nameOfVriable is the name that stores different data of value. See below for detail examples. +The nameOfVariable is the name that stores different data of value. See the examples below for details. **Examples of declared variables** @@ -637,7 +637,7 @@ console.log(gravity, boilingPoint, PI) ``` ```js -// Variables can also be declaring in one line separated by comma, however I recommend to use a seperate line to make code more readble +// Variables can also be declared in one line separated by comma, however I recommend to use a seperate line to make code more readble let name = 'Asabeneh', job = 'teacher', live = 'Finland' console.log(name, job, live) ``` @@ -654,12 +654,12 @@ When you run _index.html_ file in the 01-Day folder you should get this: # 💻 Day 1: Exercises -1. Write a single line comment which says, _comments can make code readable_ +1. Write a single comment which says, _comments can make code readable_ 2. Write another single comment which says, _Welcome to 30DaysOfJavaScript_ 3. Write a multiline comment which says, _comments can make code readable, easy to reuse_ _and informative_ -4. Create a variable.js file and declare variables and assign string, boolean, undefined and null data types +4. Create variable.js file and declare variables and assign string, boolean, undefined and null data types 5. Create datatypes.js file and use the JavaScript **_typeof_** operator to check different data types. Check the data type of each variable 6. Declare four variables without assigning values 7. Declare four variables with assigned values