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;