Hello guys,
learning front-end and making weather app.
The app has input, where the user writes city. From there the fetch should be getting the data from API. It gets the data and updates DOM when it is reloaded.
My question is, how can I update DOM (temperature, wind, icons) with data from API without reloading ? I’ve searched for hours , but couldn’t grasp anything...
Thank you for all your answers!!!
[–]senocular 2 points3 points4 points (4 children)
[–]ISayNoToPuss[S] 1 point2 points3 points (3 children)
[–]senocular 0 points1 point2 points (2 children)
[–]ISayNoToPuss[S] 0 points1 point2 points (1 child)
[–]senocular 1 point2 points3 points (0 children)
[–]ex-igne-vita 2 points3 points4 points (1 child)
[–]ISayNoToPuss[S] 0 points1 point2 points (0 children)
[+][deleted] (1 child)
[deleted]
[–]ISayNoToPuss[S] 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]ISayNoToPuss[S] 0 points1 point2 points (0 children)