Skip to content

Getting some basic information of a country with ReactJS

Notifications You must be signed in to change notification settings

VienThanh12/Project-Basic-Infor-Country

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 

Repository files navigation

INFORMATION OF A COUNTRY (Web Project)

This project was bootstrapped with Create React App and Weather-API.

Available Scripts

In the project directory, you can run:

REACT_APP_API_KEY=d42ca43e65ce95a9f17267db2d17458f npm start 

Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.

Description of Project

  • If there are too many (over 10) countries that match the query, then the user is prompted to make their query more specific:
Screenshot 2023-06-11 at 22 52 04
  • If there are ten or fewer countries, but more than one, then all countries matching the query are shown:
  • There is a button next to the name of the country, which when pressed shows the view for that country:
Screenshot 2023-06-11 at 22 53 29
  • When there is only one country matching the query, then the basic data of the country (eg. capital and area), its flag and the languages spoken as well as weather are shown:
Screenshot 2023-06-11 at 22 54 25

About

Getting some basic information of a country with ReactJS

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published