0

I don't know why it dosen't work!😭

https://code.sololearn.com/WKA1xc7MuedY/?ref=app I don't know how I want to become a programmer. I can't solve this easy problem!

22nd May 2020, 4:21 PM
Nastaran
Nastaran - avatar
6 Réponses
+ 1
Write the calculations in function, not only alert.. <script> function Show(){ var name = document.getElementById("name").value; var family = document.getElementById("family").value; var thy = 2020 var biy = document.getElementById("birthday").value; var age = thy - biy; alert("Your name is " + name + " " + family + "and you are " + age + " years old.") } </script>
22nd May 2020, 4:31 PM
Jayakrishna 🇮🇳
+ 1
lololearn Jayakrishna🇮🇳 Thanks a lot.😊🌹
22nd May 2020, 6:06 PM
Nastaran
Nastaran - avatar
0
Clear the javascript then your web work
22nd May 2020, 4:29 PM
Shivshankar Dubey
Shivshankar Dubey - avatar
0
Shivshankar Dubey Mirielle thank you. It's clean now.😊😊
22nd May 2020, 6:08 PM
Nastaran
Nastaran - avatar
0
Nastaran you're welcome..
22nd May 2020, 6:09 PM
Jayakrishna 🇮🇳