fix(js): remove test data
This commit is contained in:
@@ -14,7 +14,6 @@
|
||||
|
||||
<select id="person">
|
||||
<option selected disabled>Who are you?</option>
|
||||
<option>Quentin</option>
|
||||
__OPTIONS__
|
||||
</select>
|
||||
|
||||
@@ -71,7 +70,7 @@
|
||||
|
||||
<script>
|
||||
document.getElementById("person").addEventListener("change", (event) => {
|
||||
/*const options = {
|
||||
const options = {
|
||||
method: "POST",
|
||||
headers: { "Content-Type": "application/json" },
|
||||
body: JSON.stringify({ person: event.target.value }),
|
||||
@@ -86,9 +85,7 @@
|
||||
"result"
|
||||
).textContent = `Your draw: ${text}`;
|
||||
document.getElementById("person").remove();
|
||||
});*/
|
||||
document.getElementById("result").textContent = `Your draw: Virginie`;
|
||||
document.getElementById("person").remove();
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user