0
0
Fork 0

Add delete button to choices.

This commit is contained in:
Tyler-A 2019-09-10 20:49:07 -06:00
parent 3297c70db4
commit e461a0a677
3 changed files with 18 additions and 7 deletions

View file

@ -11,6 +11,7 @@
<link rel="stylesheet" href="style.css">
<!-- JAVASCRIPT -->
<script src="./js/delete_choice.js"></script>
<script src="./js/add_choice.js"></script>
<script src="./js/choosing.js"></script>
</head>
@ -19,6 +20,7 @@
<div class="choice">
<input type="text" class="left" placeholder="Choice Name">
<input class="right" type="text" placeholder="Choice Weighting">
<button class="delete" onclick="delete_choice(this)">X</button>
<div class="line"></div>
</div>
</template>
@ -32,6 +34,7 @@
<div class="choice">
<input class="left" type="text" id="text-in-0" placeholder="Choice Name">
<input class="right" type="text" id="weight-in-0" placeholder="Choice Weighting">
<button class="delete" onclick="delete_choice(this)">X</button>
<div class="line"></div>
</div>
</div>