Day 1: Exercises
- Write a single line comment which says, comments can make code readable
- Write another single comment which says, Welcome to 30DaysOfJavaScript
- Write a multiline comment which says, comments can make code readable, easy to reuse and informative
- Create a variable.js file and declare variables and assign string, boolean, undefined and null data types
- Create datatypes.js file and use the JavaScript typeof operator to check different data types. Check the data type of each variable
- Declare four variables without assigning values
- Declare four variables with assigned values
- Declare variables to store your first name, last name, marital status, country and age in multiple lines
- Declare variables to store your first name, last name, marital status, country and age in a single line
- Declare two variables myAge and yourAge and assign them initial values and log to the browser console.