I would like to add a location dropdown on my home page and change the home page based on the location user selected from the dropdown.
Hi Nikhil, welcome to the forum.
Yes that’s quite trivial and if you want to go even further, you can automatically detect the visitor’s location and redirect them to the right homepage based on that ( while allowing them to change if the system detected incorrectly ).
Note that in the modern world GDPR is an issue with IP addresses, so you’ll have to consider that depending on where your users will be.
Message me if you need some help setting this up.