From c3c186987c8d6176f73e549b0738a8e175f72524 Mon Sep 17 00:00:00 2001 From: Ashley Casimir Date: Mon, 6 Sep 2021 20:46:02 -0700 Subject: [PATCH] Day 1 excerises done --- .vscode/settings.json | 3 ++ 01_Day_Introduction/01_day_starter/index.html | 29 +++++++++---------- .../01_day_starter/myDatatypes.js | 15 ++++++++++ .../01_day_starter/myVariable.js | 24 +++++++++++++++ 4 files changed, 56 insertions(+), 15 deletions(-) create mode 100644 .vscode/settings.json create mode 100644 01_Day_Introduction/01_day_starter/myDatatypes.js create mode 100644 01_Day_Introduction/01_day_starter/myVariable.js diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..6b665aa --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "liveServer.settings.port": 5501 +} diff --git a/01_Day_Introduction/01_day_starter/index.html b/01_Day_Introduction/01_day_starter/index.html index 43831f6..93709bb 100644 --- a/01_Day_Introduction/01_day_starter/index.html +++ b/01_Day_Introduction/01_day_starter/index.html @@ -1,19 +1,18 @@ - - + 30DaysOfJavaScript - - - -

30DaysOfJavaScript:03 Day

-

Introduction

- - - - - - - + - \ No newline at end of file + +

30DaysOfJavaScript:03 Day

+

Introduction

+ + + + + + + + + diff --git a/01_Day_Introduction/01_day_starter/myDatatypes.js b/01_Day_Introduction/01_day_starter/myDatatypes.js new file mode 100644 index 0000000..341dd2a --- /dev/null +++ b/01_Day_Introduction/01_day_starter/myDatatypes.js @@ -0,0 +1,15 @@ +console.log(typeof first); +console.log(typeof last); +console.log(typeof numbers); +console.log(typeof inLove); +console.log(typeof isNull); + +let door; +let car; +let foot; +let dog; + +// let door = "open"; +// let car = "fast"; +// let foot = 2; +// const dog = "Chimi"; diff --git a/01_Day_Introduction/01_day_starter/myVariable.js b/01_Day_Introduction/01_day_starter/myVariable.js new file mode 100644 index 0000000..e3c7009 --- /dev/null +++ b/01_Day_Introduction/01_day_starter/myVariable.js @@ -0,0 +1,24 @@ +// Comments can make code readable +// Welcome to 30DaysOfJavaScript + +/* + commentts can make code readable, easy to reuse and informative +*/ + +// let first = "Ashley"; +// let last = "Casimir"; +// let numbers = 34; +// let inLove = true; +// let country = "USA"; + +let first = "Ashley", + last = "Casimir", + numbers = 34, + inLove = true, + home = "USA"; + +let myAge = 34, + yourAge = 27; + +console.log(`I am ${myAge} years old`); +console.log(`you are ${yourAge} years old`);