How do I get variables in external JS file to work in html
If you have learned HTML, CSS and JS, you create the appropriate files and then, in your file browser, you click on your main HTML file and your work, if everything …... 15/07/2007 · Hi, and thank you for this forum. I have learned much from it. I need help getting variables in an external js file to transfer to the html page that uses them.
Changing HTML with innerHTML. You can also insert HTML into your elements in the exact same way. Let's say we didn't like the text that was displayed in our paragraph and wanted to … how to use reverse psychology Here's the final solution that I got to work in case anyone else is trying to do the same thing and having problems getting it to work: