Created
April 20, 2020 07:16
-
-
Save ilonacodes/8af1a06d68fa8a8d1cbfa8a2474851d3 to your computer and use it in GitHub Desktop.
index.html | VanillaJS Implementation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- index.html | VanillaJS Implementation --> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Dice Rolling Simulator</title> | |
<link rel="stylesheet" href="index.css"> | |
</head> | |
<body> | |
<div id="app" onclick="roll()"> | |
<div class="dice" data-dots> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
</div> | |
<div class="dice" data-dots> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
</div> | |
</div> | |
<script src="index.js"></script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment