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
<h1>All Time</h1>
<h2> Rappers of All Time</h2>
<ol id="d"style="display:none">
<li>Eminem</li>
<li>Tupac</li>
<li> Notorious B.I.G. </li>
<li>Nas </li>
<li>Jay-Z </li>
</ol>
<button type="button" onclick="document.getElementById('d').style.display='block'">Tap to reveal</button>
<h2>Best Albums of All Time</h2>
<ol id="a"style="display:none">
<li>21
Adele </li>
<li>The Sound Of Music
Soundtrack </li>
<li>Thriller
Michael Jackson </li>
<li>Fearless
Taylor Swift </li>
<li>Born In The U.S.A.
Bruce Springsteen </li>
</ol>
<button type="button" onclick="document.getElementById('a').style.display='block'">Tap to reveal</button>
<h2>Top Album sales</h2>
<ol id="b"style="display:none">
<li>4:44
JAY-Z </li>
Enter to Rename, Shift+Enter to Preview
css
css
1
2
3
4
5
6
7
8
9
10
11
body {
background-color:white;
}
ol{
background-color:#e0e0e0;
border-radius:10px;
}
h1{
text-align:center;
}
Enter to Rename, Shift+Enter to Preview
js
js
1
2
alert("Suggest to add more")
alert("Source\nWikipedia")
Enter to Rename, Shift+Enter to Preview
BROWSER
Console
Run