page 1 out of 4
page 1 out of 4
Question 1
const num = parseInt('7*6', 10);
Question 2
<div onclick="console.log('div')"> <p onclick="console.log('p')"> Click here! </p> </div>
Question 3
<div onclick="console.log('first div')"> <div onclick="console.log('second div')"> <button onclick="console.log('button')"> Click! </button> </div> </div>
Question 4
function sum(a, b) { return a + b; } sum(1, '2');
Question 5
let c = { greeting: 'Hey!' }; let d; d = c; c.greeting = 'Hello'; console.log(d.greeting);
Question 6
const bird = { size: 'small', }; const mouse = { name: 'Mickey', small: true, };
Question 7
function sayHi() { console.log(name); console.log(age); var name = 'name'; let age = 21; } sayHi();
Question 8
<p id="demo">This is a demonstration.</p>
Question 9
Question 10
page 1 out of 4
page 1 out of 4
Oops!!
To view the solution need to Login