Question: .I need this answer ASAP PLEASE HELP PLEASE EXPLAIN EACH PART .please help you have to build a page that interface with the API of
.I need this answer ASAP PLEASE HELP
PLEASE EXPLAIN EACH PART
.please help
you have to build a page that interface with the API of the world's countries. The purpose of the page is to enable search for countries, view details, flag, and currency. Here is APIs: https://restcountries.eu/ At the bottom of the page you are presented with API Calls. You must use the following calls (run them in the browser check the results): All call returns JSON, an array that contains all countries in the world (each country on an object). The name call gets the name parameter: A name for the country. The call returns all countries whose names contain the name variable name value Example: https://restcountries.eu/rest/v2/name/united Returns: United States Minor Outlying IslandsUnited KingdomUnited State
The object of each country has many details, you only need to see the following: 1.A name 2.Top level domain 3.Capital 4.Currences an object that contains currency details, presented them all. Flag when the flag contains a link to the picture present the flag image. Borders, representation, alpha 3 code of the countries bordering the relevant country (all codes of the states can be concatenate in the text, for example: Borders of the State of Israel: "EGY","JOR","LBN","SYR" You have to build a form that contains a master page title, a country search. 1.All button that brings all countries and shows only the details described in the above section. Please note that you can filter specific fields, very recommended.
2.A search button next to an input where a user can enter a country or part of a name, 3. By clicking the Search button, the results of the countries that match the API search will be displayed on the page. 4. Note that the information will be displayed in a table, a separate row for each country, the columns for the table: A. Name:Text B. Top Level domain - Text C. Capital--text D. Currenciies - text e. Borders Text F. Flag - Picture (State Flag) 5.The table will be displayed both in search and when all countries are brought in
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
