@Cristian Florea https://stackblitz.com/edit/vitejs-vite-x5spti?file=src%2Fcomponents%2FDisplayWeatherInfo%2FDisplayWeatherInfo.jsx,src%2Fcomponents%2FNavigation%2FNavigation.jsx,src%2Fcomponents%2FWeatherBox%2FWeatherBox.jsx I put the current location stuff in a component and put the api call in the "handle submit " so the Navigation file is less cluttered. and also made changes to the other file names as spoken about before.