Pooja Patel

Pooja Patel

  • 2k
  • 34
  • 704

html and javascript coding

Feb 9 2019 1:33 PM

1. Allows the user to enter up to 10 countries they like or they have visited in the past.

2. It has a button to accept a country entered.

3. When the last country is entered it should not allow for more but instead displays the list of all countries in alphabetical order in an ordered list or a drop down list.

4. Another button that has the value of “Display” will display these six countries in an alert window.

5. The page should also allow for removal of the countries from this list. You can choose any technique to achieve this.

6. When (if) all countries are removed, a message should be displayed that the list is empty and the user should not be permitted to delete any more entries.


Answers (1)