So I am working on my first project and I cant seem to load a scraper js file since the html says that 'require' is not defined.
I have heard about requirejs, but its a bit hard for me to understand.
So this is my javascript file:
const malScraper = require('mal-scraper');
// more code ...
document.getElementById('output').innerHTML = currentSeason;
and then in index.html i want it to load the scraped results in a paragraph like this
<p id='output'>Here: </p>