0
Help me program this code in JavaScript
✓ when a start button is clicked, you have to display the elements from a file ✓ then start randomise the elements ✓ display them randomly on page. ✓ This should work until a stop button is pressed
4 Respuestas
+ 3
JavaScript cannot read file contents automatically.
+ 1
.... in browser you cannot do (except using some browser extension mechanism)... If js is a must, maybe you have to see node.js
+ 1
It's possible if load the file manually, use this code to manually load a text file.
https://code.sololearn.com/W6Dz0lW21RQv/?ref=app
Only work on PC browsers.
0
please help me