pull/956/head
username 1 year ago
parent 55d8e3dbc0
commit cc07a9ac5c

@ -0,0 +1,10 @@
//Task 1
//comments can make code readable
//Task 2
//comments can make code readable, easy to reuse and informative
//Task3
/*
Welcome to 30DaysOfJavaScript
*/

@ -0,0 +1,10 @@
//Task 5
let string = 'this is a string'
let boolean = true
let undefined
let null0 = null
console.log(typeof string)
console.log(typeof boolean)
console.log(typeof undefined)
console.log(typeof null0)

@ -0,0 +1,31 @@
//Task 6
let hello
let a
let hi
let simple
//Task 7
let a1 = 'st'
let js = 1
let l = false
let pr = 23.4
//Task 8
let firstName = 'Arina'
let lastName = 'Ivleva'
let country = 'Russia'
let age = 16
//Task 9
//VS Code исправляет написание в одну строчку, так что решение записано в комментарии
/*
let firstName2 = 'Arina'; let lastName2 = 'Ivleva'; let country2 = 'Russia'; let age2 = 16
*/
//Task 10
let myAge = 'I am 25 years old'
let yourAge = 'You are 30 years old.'
console.log(myAge)
console.log(yourAge)

@ -0,0 +1,5 @@
//Task 4
let string = 'this is a string'
let boolean = true
let undefined
let null0 = null
Loading…
Cancel
Save