I want to include the API from weatherOpenMap in my website to show the weather dynamic icon based of that but it doesn’t show up
I included this in my html header : <script src=”main.js”></script> and this is in my weather section : <div class=”weatherIcon”> <h2><span id=”weather-icon”>weather icon…</span></h2> </div> and this is in my javascript file (main.js) : const getWeather = async () => { try { const response = await fetch(‘https://api.openweathermap.org/data/2.5/weather?q=gothenburg,se&APPID=c95f90301395e8ce1cb18d910cd184cb’); const data = await response.json(); const weatherCondition = […]
API OU Banco de Dados
Estou com uma dúvida seria.
what are the chunk files.chunk.css and chunk.js. why when web page loading its needed? and why Its load in network tab when page load?
my chuks files and manifest is 404 error displayed. why is it?how do fix it?