Design comparison
Solution retrospective
#Responsive Countries API Solution
##Technologies used:
- Reactjs
- CSS
- React Router Dom v6
##Concepts learned
- Context API
##Question
<select className='region-select' name="regions" id="regions" onChange={e => filterCountriesByRegion(e, setCountries)}>
<option value="all">All</option>
<option value="africa">Africa</option>
<option value="america">America</option>
<option value="asia">Asia</option>
<option value="europe">Europe</option>
<option value="oceania">Oceania</option>
</select>
What is the best way to create a custom select element
Community feedback
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord