Skip to content

Instantly share code, notes, and snippets.

@nixoncode
Last active September 12, 2024 04:56
Show Gist options
  • Save nixoncode/ba6ad2e65fbf63529118fce1f8d24a82 to your computer and use it in GitHub Desktop.
Save nixoncode/ba6ad2e65fbf63529118fce1f8d24a82 to your computer and use it in GitHub Desktop.
Kenya counties select drop down menu in html arrange in alphabetical order
<select>
<option value="baringo">Baringo</option>
<option value="bomet">Bomet</option>
<option value="bungoma">Bungoma</option>
<option value="busia">Busia</option>
<option value="elgeyo marakwet">Elgeyo Marakwet</option>
<option value="embu">Embu</option>
<option value="garissa">Garissa</option>
<option value="homa bay">Homa Bay</option>
<option value="isiolo">Isiolo</option>
<option value="kajiado">Kajiado</option>
<option value="kakamega">Kakamega</option>
<option value="kericho">Kericho</option>
<option value="kiambu">Kiambu</option>
<option value="kilifi">Kilifi</option>
<option value="kirinyaga">Kirinyaga</option>
<option value="kisii">Kisii</option>
<option value="kisumu">Kisumu</option>
<option value="kitui">Kitui</option>
<option value="kwale">Kwale</option>
<option value="laikipia">Laikipia</option>
<option value="lamu">Lamu</option>
<option value="machakos">Machakos</option>
<option value="makueni">Makueni</option>
<option value="mandera">Mandera</option>
<option value="meru">Meru</option>
<option value="migori">Migori</option>
<option value="marsabit">Marsabit</option>
<option value="mombasa">Mombasa</option>
<option value="muranga">Muranga</option>
<option value="nairobi">Nairobi</option>
<option value="nakuru">Nakuru</option>
<option value="nandi">Nandi</option>
<option value="narok">Narok</option>
<option value="nyamira">Nyamira</option>
<option value="nyandarua">Nyandarua</option>
<option value="nyeri">Nyeri</option>
<option value="samburu">Samburu</option>
<option value="siaya">Siaya</option>
<option value="taita taveta">Taita Taveta</option>
<option value="tana river">Tana River</option>
<option value="tharaka nithi">Tharaka Nithi</option>
<option value="trans nzoia">Trans Nzoia</option>
<option value="turkana">Turkana</option>
<option value="uasin gishu">Uasin Gishu</option>
<option value="vihiga">Vihiga</option>
<option value="wajir">Wajir</option>
<option value="pokot">West Pokot</option>
</select>
@thedanmwangi
Copy link

Thanks!

@SmartGuyCodes
Copy link

SmartGuyCodes commented Jul 22, 2022

Shukran Kaka

@Kingsleymuturi
Copy link

Thank bro man.

@kipchumbakevin
Copy link

Thank you

@mwongess
Copy link

mwongess commented Sep 4, 2022

Thank you, you've saved me time

@dennis-washira
Copy link

For Arrays
["baringo","bomet","bungoma","busia","elgeyo marakwet","embu","garissa","homa bay","isiolo","kajiado","kakamega","kericho","kiambu","kilifi","kirinyaga","kisii","kisumu","kitui","kwale","laikipia","lamu","machakos","makueni","mandera","meru","migori","marsabit","mombasa","muranga","nairobi","nakuru","nandi","narok","nyamira","nyandarua","nyeri","samburu","siaya","taita taveta","tana river","tharaka nithi","trans nzoia","turkana","uasin gishu","vihiga","wajir","pokot"]

@davidkiama
Copy link

Shukran

@Mkoje
Copy link

Mkoje commented Jan 16, 2023

Thanks man.... So funny sijui counties zote

@Muthee00
Copy link

Kazi mzuri... Pewa kwa bill yangu

@AbigaelKirwa
Copy link

Thank you so much!

@martinmatic
Copy link

how can i get the sub counties

@nixoncode
Copy link
Author

how can i get the sub-counties

look at this link and compile a nested array perhaps for the future generation

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