diff --git a/README.md b/README.md index b7f56cf..160f6b7 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ Add and commit this change to git, and push it up to your remote github repo: # git push ``` -Pay attention to any errors, and then check that your changes made it to github, by visiting github.com with your browser and inspecting your repo there. +Pay attention to any errors, and then check that your changes made it to github, by visiting github.com with your browser and inspecting your repo there.a ## Instructions @@ -189,7 +189,7 @@ Once you've got this all working, it's time to fetch some real weather data! ``` ### 5. Getting the LIVE weather data 🔑x20 - +cc We'll be using data from this API: http://api.openweathermap.org/data/2.5/forecast?q=${this.state.searchInput}&cnt=8&units=metric&appid=${apiKey} The data will come in JSON format, and will look like this: https://samples.openweathermap.org/data/2.5/forecast?q=M%C3%BCnchen,DE&appid=b6907d289e10d714a6e88b30761fae22 @@ -198,7 +198,7 @@ The data will come in JSON format, and will look like this: https://samples.open **2)** Once logged in, go to the API keys tab and copy the default Key. Keep this somewhere safe as you will need it when you fetch data. -![api key](src/img/instructions/api-key.png) +![api key](src/img/instructions/api-key.png)ccc **3)** The format you'll need to follow to make API calls is: `http://api.openweathermap.org/data/2.5/forecast?q=${CITY_NAME}&cnt=8&units=metric&appid=${YOUR_API_KEY}` diff --git a/package-lock.json b/package-lock.json index 1739132..b8927e3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15867,16 +15867,16 @@ } }, "node_modules/typescript": { - "version": "5.2.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.2.2.tgz", - "integrity": "sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==", + "version": "4.9.5", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz", + "integrity": "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==", "peer": true, "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" }, "engines": { - "node": ">=14.17" + "node": ">=4.2.0" } }, "node_modules/unbox-primitive": { @@ -28201,9 +28201,9 @@ } }, "typescript": { - "version": "5.2.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.2.2.tgz", - "integrity": "sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==", + "version": "4.9.5", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz", + "integrity": "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==", "peer": true }, "unbox-primitive": { diff --git a/public/index.html b/public/index.html index 3853aec..a49637f 100644 --- a/public/index.html +++ b/public/index.html @@ -12,6 +12,7 @@ manifest.json provides metadata used when your web app is installed on a user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/ --> +