diff --git a/pages/index.js b/pages/index.js index e917e63..44676b0 100644 --- a/pages/index.js +++ b/pages/index.js @@ -24,7 +24,7 @@ export default function Home() {

Welcome to the
Weather App

-

To use, simply enter a city or zipcode below and press enter.

+

To use, simply enter a city or zip code below and press enter.

diff --git a/src/components/ForeCastCard/ForeCastCard.js b/src/components/ForeCastCard/ForeCastCard.js index b4ed070..a5bbb06 100644 --- a/src/components/ForeCastCard/ForeCastCard.js +++ b/src/components/ForeCastCard/ForeCastCard.js @@ -12,7 +12,7 @@ const ForeCastCard = (

{city}, {state}

{country}
-

The local time for this area is {timeZone}. Visibility is currently {visMiles} miles / {visKM} kilometers

+

The local date and time for this area is {timeZone}. Visibility is currently {visMiles} miles / {visKM} kilometers

Feels like...

{feelsLikeF}°F | {feelsLikeC}°C

diff --git a/src/components/Instructions/Instructions.js b/src/components/Instructions/Instructions.js index bde2d2d..57261b6 100644 --- a/src/components/Instructions/Instructions.js +++ b/src/components/Instructions/Instructions.js @@ -8,5 +8,4 @@ const Instructions = (props) => { ); }; - export default Instructions; \ No newline at end of file diff --git a/src/containers/LocationInput/LocationInput.js b/src/containers/LocationInput/LocationInput.js index 6429bc0..be57bad 100644 --- a/src/containers/LocationInput/LocationInput.js +++ b/src/containers/LocationInput/LocationInput.js @@ -16,7 +16,7 @@ const LocationInput = (props) => { const handleQuery = (evnt) => { if (evnt.key === 'Enter') { - fetch(`${api.baseURL}current.json?key=${api.apiKey}&q=${query}}&aqi=yes`) + fetch(`${api.baseURL}forecast.json?key=${api.apiKey}&q=${query}}&aqi=yes`) .then(res => res.json()) .then(result => { setWeather(result);