4 Respostas
+ 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
11th Aug 2024, 12:24 AM
Luis
Luis - avatar
+ 2
May you please explain what the output is supposed to be?
10th Aug 2024, 5:40 PM
Junior
Junior - avatar
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..??
11th Aug 2024, 6:38 AM
TecSha
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
11th Aug 2024, 5:33 PM
Anila Amanat
Anila Amanat - avatar