Files
  • index.html
  • script.js
  • style.css
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE html><html>
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width" />
  <title>split</title>
  <link rel="stylesheet" href="style.css" />
</head>
<body>
  <button id="count">Sort!</button>
  <div class="random-data">
  </div>
<div class="results">
  
</div>
<button id="buttonFinal">Final</button>
<p id="final"></p>
<button id="button">Max</button>
  <script src="script.js"></script>
</body>
</html>
result
console