Js script not connecting to html?
In JSFiddle it works but when running html file from desktop the script doesn't work
The script in the header is executed immediately and at the time of its execution there is no table element in the DOM yet.
Move the script to the end of the file or use the DOMContentLoaded event.Anonymous
includeHTML will help.Anonymous
Try to stick the script at the end of the fileAnonymous
To place the code, please use CodePen or similar tool. Thanks you!