Mixing Jquery with JS

Mixing Jquery with JS
0

#1

Below is the part of the code.In this code i have tried to mix JS with Jquery but it is’t working
if(count === 0) {
console.log(count);
alert(“PRESS OK TO PLAY!”);
$(“heading”).html(“PLAY”);
count–;
}


#2

You will most likely need $("#heading").html("PLAY");
The term between $( ... ) should be the same as a CSS selector.