html
html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
<style>
button {
font-size: 40px;
color: black;
}
</style>
<style>
#goodness{
background-color: lightgreen;
}
</style>
<script>
function urmom() {
const Mybutton = document.getElementById("Mybutton");
if (Mybutton.textContent === "click") {
Mybutton.textContent = "clicked";
} else if (Mybutton.textContent === "clicked") {
Mybutton.textContent = "double clicked";
}
else if (Mybutton.textContent === "double clicked") {
Mybutton.textContent = "ok that's enough";
}
else if (Mybutton.textContent === "ok that's enough") {
Enter to Rename, Shift+Enter to Preview
css
css
1
2
body {
}
Enter to Rename, Shift+Enter to Preview
js
js
1
alert("big thanks to Gulshan Mahawar for the help!")
Enter to Rename, Shift+Enter to Preview
BROWSER
Console
Run