Im Trying to make something private for my friends to use but it does not work
<!DOCTYPE html>
<html>
<body style="font-family:Comic Sans MS">
<b>Lvl2.What Now?</b>
<b>Maybe.. Click Something?</b>
<p id="demo" onclick="myFunction()">Click Something i think</p>
<script>
function myfuction() {
document.getElementById("demo").innerHTML = "Dang it..."
}
</script>
</body>
</html>
Please Reply…
This one works but this is my 1st level…
<!DOCTYPE html>
<html>
<body>
<p id="demo" onclick="myFunction()">Lvl1.Click Me</p>
<p>me</p>
<h3>me</h3>
<p>me</p>
<h3>me</h3>
<p>me</p>
<h3>me</h3>
<p>me</p>
<h3>me</h3>
<script>
function myFunction() {
document.getElementById("demo").innerHTML = "GOOD WORK!"
}
</script>
</body>
</html>
Whats Different?