My issue is that i have the GeoJSON as a seperate Javascript file
It works fine
This is my code
`
<script>
var map = L.map('map').setView([52.21, 5.96944], 3);
L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', {
maxZoom: 19,
attribution: '© <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>'
}).addTo(map);
var ned = L.geoJSON(geoJSONFeature).addTo(map);
</script>`
I tried watching youtube videos about it but it works for them when i do the same it doesnt