I am currently following a tutorial book that is a bit outdated, therefore I have looked at the openlayers website: https://openlayers.org/en/latest/examples/wms-tiled.html to find how to make a tiled WMS map.
I have had a problem with the imports that was already answered in another question on gis.stackexchange: Unexpected token Identifier error - Import OpenLayers
I am looking to reproduce the behaviour on the website. However no matter what I do now I just get a blank screen. Even if I use the copy from website function and paste that into my own example.
I am afraid I still do not know enough about OpenLayers and mapping in general to fix this on my own.