0
I might be on the right track but can't figure out how to define name
5 ответов
+ 5
I've noticed here, you have:
name = document.getElementById("name")
amount = document.getElementById("amount")
terrain = document.getElementById("terrain")
But none of your html elements have an id="..."
+ 2
Thank you
+ 1
You need to take the values from the input fields and then put them into your function.
Something like this might help you:
https://stackoverflow.com/questions/43677564/passing-input-from-html-to-JUMP_LINK__&&__python__&&__JUMP_LINK-and-back
0
my onclick func is no good now. i may need args or kws or something so i have a positional argument until i get a positional arguement but idk anything about them and im tappin out for the day. any and all help is appreciated
0
hey its trying to connect. not sure whats what or where to paste what but looks like progress to me, thanks. python anywhere .com gave me code to slap in im assuming this code? i did. also not really sure what to put on that server i got for free. all i put on there was an identical copy of the code.