feat/css-customization #2

Open
nioki wants to merge 3 commits from feat/css-customization into english
Showing only changes of commit a17ce6ad8a - Show all commits

View File

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