From eca895b077c36bc7c6c6fd2216ad1a27c51f24a3 Mon Sep 17 00:00:00 2001 From: Manojreddykatta Date: Wed, 21 Dec 2022 07:57:19 +0530 Subject: [PATCH] external scripts linking - day 01 --- 01_Day_Introduction/day_01/helloworld.js | 1 + 01_Day_Introduction/day_01/index.html | 15 +++++++++++++++ 01_Day_Introduction/day_01/introduction.js | 0 01_Day_Introduction/day_01/main.js | 11 +++++++++++ 01_Day_Introduction/day_01/variables.js | 6 ++++++ 5 files changed, 33 insertions(+) create mode 100644 01_Day_Introduction/day_01/helloworld.js create mode 100644 01_Day_Introduction/day_01/index.html create mode 100644 01_Day_Introduction/day_01/introduction.js create mode 100644 01_Day_Introduction/day_01/main.js create mode 100644 01_Day_Introduction/day_01/variables.js diff --git a/01_Day_Introduction/day_01/helloworld.js b/01_Day_Introduction/day_01/helloworld.js new file mode 100644 index 0000000..5a68eb5 --- /dev/null +++ b/01_Day_Introduction/day_01/helloworld.js @@ -0,0 +1 @@ +console.log('Hello world'); \ No newline at end of file diff --git a/01_Day_Introduction/day_01/index.html b/01_Day_Introduction/day_01/index.html new file mode 100644 index 0000000..65df0f6 --- /dev/null +++ b/01_Day_Introduction/day_01/index.html @@ -0,0 +1,15 @@ + + + + + JS practice + + + +

Day-01 of JS

+ + + + + + \ No newline at end of file diff --git a/01_Day_Introduction/day_01/introduction.js b/01_Day_Introduction/day_01/introduction.js new file mode 100644 index 0000000..e69de29 diff --git a/01_Day_Introduction/day_01/main.js b/01_Day_Introduction/day_01/main.js new file mode 100644 index 0000000..9cf3b66 --- /dev/null +++ b/01_Day_Introduction/day_01/main.js @@ -0,0 +1,11 @@ +console.log("Firstname is "+ firstName ,+ "Lastname is "+ lastName ); +console.log("Age is " + age ); + + +let maritualStatus = isMarried; +if (isMarried != true ) + {console.log("Unmarried");} +else + {console.log("Married");} + +console.log("Maritual stastus" + maritualStatus); diff --git a/01_Day_Introduction/day_01/variables.js b/01_Day_Introduction/day_01/variables.js new file mode 100644 index 0000000..db17da3 --- /dev/null +++ b/01_Day_Introduction/day_01/variables.js @@ -0,0 +1,6 @@ +let firstName = 'Manoj Reddy'; +let lastName = 'Katta'; +let age='25'; + +let isMarried = false; +let weight = 76.8;