The restcountries. eu site was acquired by countrylayer and turned to into a subscription plan site, where by you will need to have an api key to access the data. Try this other free site:: restcountries.com/
If you are watching this in 2023, the way to call the names using the new api link is console.log(country.name.common); you got to go with country.name.common or country.name.official depends on you
Try using this free Api link:: restcountries.com/v3.1/all , the other site was taken over by another company which requires an API Key to get the countries.
@@OstonCodeCypher Thank you so much for this tutorial. Please how can I add a value before the list? I don't want Afghanistan as the first on the list. I want a custom option value e.g "Select Your Country"
The DOMContentLoaded event fires when the initial HTML document has been completely loaded and parsed, without waiting for stylesheets, images, and subframes to finish loading.
The restcountries. eu site was acquired by countrylayer and turned to into a subscription plan site, where by you will need to have an api key to access the data. Try this other free site:: restcountries.com/
how to use it please please
how to use it please please
Thank you so much for the link
ty for sharing. Does similar exist for zip? What I have in mind...not looking for false data/data does not match.
If you are watching this in 2023, the way to call the names using the new api link is console.log(country.name.common); you got to go with country.name.common or country.name.official depends on you
Thanks for updating them 🤝🙏
Thank you so much for this.. I'm definitely suscribing.. I've been having issues with js..but watching this made it easier
Am glad it helped 🤝🌹, Thanks for the sub & hope you learn more from the channel
Thanks for this bro , I've been working on a website and forgot how to do mine
Am glad it helped
Thank you so much sir, keep making such kind of useful tutorials
Am glad it helped
eres un heroe sin capa, gracias saludos desde venezuela
Me alegro de que haya ayudado. Mantente bendecido 🤝
Thank you it was very helpful 🙏🙏
you r welcome
I here your accent olabika oli mwana wewaffe🥰🥰🥰
Excellent !!!
You're welcome
Um.. I have a question
Can I creat dropdown list?
Um I have Api and I want to make that dropdown with calling Api
you can fetch them from your own database or hand code in your html.
It was so helpful thanks dear
The video is explanatory but the link is not working for me and am confused
Try using this free Api link:: restcountries.com/v3.1/all , the other site was taken over by another company which requires an API Key to get the countries.
restcountries not working . suggest me other website for countries
Let me look for something new and I will let you know
Great info thank you!
You welcome 🙏
Awesome tutorial
Glad you liked it
I just tried your code, it doesn't World. You need an Access Key.
How to get it?
It doesn't work
That API was changed to a subscription plan site, now try using this FREE ONE:: restcountries.com/
@@OstonCodeCypher Thank you so much for this tutorial. Please how can I add a value before the list? I don't want Afghanistan as the first on the list. I want a custom option value e.g "Select Your Country"
I want to keep default value as india is it possible then how ?
Let me try it and I will let you know 🤝
I was able to get all the countries but not alphabetically arranged.
I think it's you to filter this on the front-end
What is the "DOMContentloaded" is for ?
Can I change it to my liken
The DOMContentLoaded event fires when the initial HTML document has been completely loaded and parsed, without waiting for stylesheets, images, and subframes to finish loading.
Thank you so much
u r welcome, thanks for watching too
how to fetch state based on country
Let me work on it
@@OstonCodeCypher is there any news on this?
How to get Country time
Thank you!!!!
wherea are yo from
Uganda
@@OstonCodeCypher you african
thanks a lot!
You're welcome!