From 156cba8e4ee0c326ec1be22595a3d32bbfd37a6d Mon Sep 17 00:00:00 2001 From: Guilherme Ferreira <63277099+ferreira42@users.noreply.github.com> Date: Mon, 13 Apr 2020 17:18:41 -0300 Subject: [PATCH] Update Hello-App.md The Fourtonfish API uses the user language code or IP to obtain the greeting in the users native language, not the country code. Some greetings are HTML encoded, like Japanese or Portuguese. --- Projects/1-Beginner/Hello-App.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Projects/1-Beginner/Hello-App.md b/Projects/1-Beginner/Hello-App.md index 3f6b3013..e0b0ec65 100644 --- a/Projects/1-Beginner/Hello-App.md +++ b/Projects/1-Beginner/Hello-App.md @@ -22,10 +22,11 @@ language. ### Constraints - Developers should use the [IP-API](http://ip-api.com/docs/api:json) service - to obtain the users country code. + to obtain the users IP. - Developers should use the [Fourtonfish](https://www.fourtonfish.com/hellosalut/hello/) service to - obtain the greeting in the users native language by passing the country code. + obtain the greeting in the users native language by passing the users IP. +- Developers must use a HTML entities decoding to decode the hello message. ## User Stories @@ -47,8 +48,8 @@ language. ## Bonus features -- [ ] User can see an additional text input field for a country code which - will be used to override the country code obtained through geolocation. Hint: +- [ ] User can see an additional text input field for a language code which + will be used to override the IP obtained through geolocation. Hint: this is a great feature for testing your app. - [ ] User can see additional geolocation information after logging on that includes at least the local IP address, city, region, country name, zip code,