Last active
April 20, 2020 07:25
-
-
Save ilonacodes/1beffad4237c2b17aa88c750fb1a20b5 to your computer and use it in GitHub Desktop.
index.html | Vue.js 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 | Vue.js Implementation --> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Dice Rolling Simulator</title> | |
<link rel="stylesheet" href="./index.css"> | |
</head> | |
<body> | |
<div id="app" v-on:click="roll"> | |
<div class="dice" | |
v-for="dice in dices" | |
v-bind:data-dots="dice.dots" | |
> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
</div> | |
</div> | |
<script src="./lib/vue-2.6.11.min.js"></script> | |
<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