This is a simple no-frills example.
Custom default option texts for both the country and region dropdowns.
The country dropdown values are by default the same as the display values: the full country names. By adding the data-value="2-char" attribute to the country field, the values will be a 2-char character code.