This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Official languages of the world ordered by number of sovereign countries in which they are de jure or de facto official (or with a national language status) | |
// Sourced from Wikipedia: https://en.wikipedia.org/wiki/List_of_official_languages#Number_of_countries_with_the_same_official_language | |
const OFFICIAL_LANGUAGES = [ | |
"English", | |
"French", | |
"Arabic", | |
"Spanish", | |
"Portuguese", | |
"German", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Prompt: | |
We have defined a basic dropdown via the Dropdown and DropdownItem components below, with example usage | |
in the ExampleNav component. The Dropdown and DropdownItem components have some problems, and also | |
have room for improvements (doesn't everything?) A couple items TODO here (make sure to explain with comments!) | |
0. How are you today? 😊 | |
1. Please fix any obvious issues you see with the dropdown. | |
2. Please then make improvements to the dropdown. |