mirror of
https://git.cant.at/Madeorsk/PollVerlaine
synced 2024-11-22 13:04:32 +01:00
21 lines
628 B
PHP
21 lines
628 B
PHP
<body class="home">
|
|
<script src="/static/js/fetch.min.js"></script>
|
|
<script src="/static/js/new.js"></script>
|
|
|
|
<h1>Poll Verlaine</h1>
|
|
<main>
|
|
<form action="#" id="newpoll">
|
|
<input type="text" name="title" placeholder="What do you want to ask?" />
|
|
<div id="choices">
|
|
</div>
|
|
<button type="button" id="add-choice">New choice</button>
|
|
<input type="submit" value="Create poll" />
|
|
</form>
|
|
</main>
|
|
|
|
<template id="choice">
|
|
<input type="text" id="choice-:id" placeholder="Another choice" />
|
|
<button type="button" class="delete" tabindex="-1" title="Delete" aria-label="Delete">✕</button>
|
|
</template>
|
|
|
|
</body> |