Comparing two unordered JSON with the same keys and values and displaying the countries by using html and JavaScript:
- Comparing two unordered JSON with the same keys and values:
- Here we have compared the two objects by using the arrowFunction to get the exact result as expected
- Get the code in the ComparingJson.js folder
- Display the details of all the countries names, subregions and populations:
- Created an html file and added script.js
- In script.js added the needed code to get the countries data from restcountries_API and dispalyed few details of all the countries like names, regions,subregions and populations
- Get the code in the Display_Details folder
- Display the flags of all the countries:
- Created an html file and added script.js
- In script.js added the needed code to get the countries data from restcountries_API and dispalyed all the countries flags
- Get the code in the Display_Flags folder