Write a webpage with JavaScript code to perform the following tasks: Exercise 1: 1. Declare variables called 'country','continent' and 'population' and assign their values according to your own...


Write a webpage with JavaScript code to perform the following tasks:


answer all exercises.


Write a webpage with JavaScript code to perform the following tasks:<br>Exercise 1:<br>1. Declare variables called 'country','continent' and 'population' and<br>assign their values according to your own country (population in millions)<br>2. Log their values to the console<br>Exercise 2:<br>1. Declare a variable called 'isIsland' and set its value according to your<br>country. The variable should hold a Boolean value. Also declare a variable<br>'language', but don't assign it any value yet<br>2. Log the types of 'isIsland','population', 'country' and 'language'<br>to the console<br>

Extracted text: Write a webpage with JavaScript code to perform the following tasks: Exercise 1: 1. Declare variables called 'country','continent' and 'population' and assign their values according to your own country (population in millions) 2. Log their values to the console Exercise 2: 1. Declare a variable called 'isIsland' and set its value according to your country. The variable should hold a Boolean value. Also declare a variable 'language', but don't assign it any value yet 2. Log the types of 'isIsland','population', 'country' and 'language' to the console

Jun 09, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here