Skip to content

Dynamic country dropdown using JavaScript#128

Open
harika0812 wants to merge 1 commit intoPritamSarbajna:mainfrom
harika0812:add-country-dropdown-js
Open

Dynamic country dropdown using JavaScript#128
harika0812 wants to merge 1 commit intoPritamSarbajna:mainfrom
harika0812:add-country-dropdown-js

Conversation

@harika0812
Copy link
Copy Markdown

Hi @PritamSarbajna 👋,

I made a small enhancement to the contact section of the website:

✅ What I did:

  • Replaced the hardcoded country <option> elements in the contact form with a dynamic JavaScript solution.
  • The dropdown now automatically populates all countries from an array.
  • This makes the form cleaner, more scalable, and easier to maintain in the long term.

📌 Why this is helpful:

  • Reduces clutter in the HTML.
  • Adds support for all countries without manual edits.
  • Easier to update or localize in the future if needed.

🙋‍♀️ About me:

I'm Harika Galibu, a passionate developer working on improving web experiences.
If this change is helpful, I’d love to be added as a contributor to this awesome project!

Let me know if you’d like me to make any improvements.

Thanks for reviewing! 😊

@netlify
Copy link
Copy Markdown

netlify Bot commented Jun 22, 2025

Deploy Preview for simple-tourism-organization ready!

Name Link
🔨 Latest commit a9ce6f4
🔍 Latest deploy log https://app.netlify.com/projects/simple-tourism-organization/deploys/6857c844717bf20008d15417
😎 Deploy Preview https://deploy-preview-128--simple-tourism-organization.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@harika0812
Copy link
Copy Markdown
Author

Hi @PritamSarbajna 👋,

I’ve updated the contact form to use a dynamic country dropdown powered by JavaScript — this replaces the hardcoded options.

All checks have passed ✅.
Looking forward to your review whenever you're available.
Would be glad to contribute further to the project! 😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant