+ 2
How do I use the prompt command after inputting an array?
I have finished my array but right when I put in the prompt(), I use the document.write and don't know what to put in the parentheses inside the document.write command. https://code.sololearn.com/WtTx6mbodYxy/?ref=app
5 Answers
+ 4
Do you want this ?
https://code.sololearn.com/WdD9X2EUbQqe/?ref=app
Hope it helps âșïžâșïž.
+ 1
What do you want to print?
Do you want user to enter number from 0 to 364 and print corresponding data from array i.e particular date?
+ 1
Yes I'm having trouble with that. I tried putting just "date" on document.write but it shows the entire array. After the user puts a number, only one date is supposed to appear under a certain number.
+ 1
Sweet Relish, thank you! đđ
0
:)