+ 2
How can I debug this error
https://sololearn.com/compiler-playground/W3yUPn0k2v83/?ref=app
4 Answers
+ 3
You are setting a prop to a element that not exist yet because it wasn't loaded, you can fix it with the next code
document.addEventListener("DOMContentLoaded", ()=>{
// Your codes here
})
Here I fixed your proyect for you
https://sololearn.com/compiler-playground/Wo2wCTbEa3hR/?ref=app
+ 2
May you please explain what the output is supposed to be?
0
Thanks but I want when we click on the button the pparty popper will be thrown towards the screen....
Can you create it like that..??
0
Code to convert the value into a number
JS
let form = document.getElementById('form'); let currency = form.elements.currency.value;
----(currency);
Give me answer