I am having trouble getting the map to display properly. I have added the cdn link in my head.
<link rel="stylesheet" href="https://unpkg.com/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="18747d797e747d6c5829362e3628">[email protected]</a>/dist/leaflet.css"
integrity="sha512-
xwE/Az9zrjBIphAcBb3F6JVqxf46+CDLwfLMHloNu6KEQCAWi6HcDUbeOfBIptF7tcCzusKFjFw2yuvEpDL9wQ=="
crossorigin=""/>
<script src="https://unpkg.com/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="a6cac3c7c0cac3d2e69788908896">[email protected]</a>/dist/leaflet.js"
integrity="sha512-
gZwIG9x3wUXg2hdXF6+rVkLF/0Vi9U8D2Ntg4Ga5I5BZpVkVxlJWbSQtXPSiUTtC0TjtGOmxa1AJPuV0CPthew=="
crossorigin=""></script>
After that, I created a new div element.
<div id="map" style="height:180px"></div>
Within my script, I have the following code:
<script type="text/javascript">
var map = L.map('map', {
center: [38.9765, -1.855],
zoom: 13
});
</script>
Despite setting everything up correctly, the map is not functioning and I am not receiving any error messages.