Dynamic Country State City Dependent Dropdown List using JavaScript Fetch API.

preview_player
Показать описание
In this tutorial, I'm going to show you how to create a Dynamic country state city dependent dropdown list using JavaScript Fetch API. I will show you, how to fetch data from API. For designing part I will use Bootstrap v5. And I will use "Country State City API" to get country state and city name. It is an API project.

After requesting for API key, may be it will take few hours to send an email in your given email address. So, wait patiently.

Source Code Link:-

Another tutorials of this channel you can see:-

Complete CRUD operation using HTML CSS Bootstrap 5 and JavaScript Local Storage:

ToDo App using HTML CSS and JavaScript Local Storage:

Digital Clock using HTML CSS and JavaScript:

Calculator using HTML CSS and JavaScript:

Build a dynamic calendar using HTML CSS and JavaScript:

JavaScript dependent dropdown list using HTML CSS and JavaScript:

Responsive Accordion using HTML CSS and JavaScript:

Keywords:-
Country State City API,
JavaScript Fetch API,
Dependent dropdown list using API,
Country State City dropdown list using JavaScript fetch API,
Get Country State City using API,
JavaScript API Projects,
javascript projects,
javascript beginner projects,
javascript tutorials,
javascript beginner tutorials,
beginner javascript projects,
beginner javascript tutorials,
Creative JS Coder,
creative js coder,
API tutorials,
fetch api tutorials,
bootstrap tutorials,
bootstrap 5 select options,
bootstrap projects,
dependent dropdown list in javascript,
javascript dependent dropdown list
Рекомендации по теме
Комментарии
Автор

❤ nice video. I am implementing this in a php form and saving to mysql database in phpmyadmin. I realise that the city name isn't saving, it returns "undefined". Ive checked my form, javascript and server code it looks good. I think the problem is with the api... Even the city name isn't returned on console.log() from the video like with the country and state...

olusojiabidemi
Автор

data.forEach is not a function these type error are display what can i do now

prafulamborkar
Автор

Can I use the your API key in program or I want to generate new ??

prafulamborkar
Автор

How many hours it will take to get a key.

anilks
Автор

stateSelect is not defined ERROR "what to do "pls help me

mayureshrajput