Learn how to create a cascading dropdown list with JavaScript.
Read on how to do it in this link: https://www.w3schools.com/howto/howto_js_cascading_dropdown.asp
Try it yourself here: https://www.w3schools.com/howto/tryit.asp?filename=tryhow_js_cascading_dropdown