posted 3 years ago
Hello!
Class assignment again:
I have an html page with different test-functions. One of those is to call a javascript function from a button.
The javascript file is in an js-folder, which is in an asset folder.
I get the error:
(index):55 Uncaught ReferenceError: fillForm is not defined
at HTMLButtonElement.onclick ((index):55)
when I am trying to fill the oneInput form.
Does anyone knows why and care to explain?
That's the main HTML:
That's the javascript located in assets/js
"If you lie to the computer, it will get you."
Favorite Granny's Wisdom Pearl