Question: Ask the user to enter a choice, which determines what type of HTML5 ordered list to display. Use a variable validInput to check if the
Ask the user to enter a choice, which determines what type of HTML5 ordered list to display. Use a variable validInput to check if the user enters a valid choice. If a choice is invalid, the script sets validInput to false. In case the user enters 1, it must display a numbered list, a 2 to display a lettered list and a 3 to display a list with roman numerals. Use list-style-type, which allows us to set the numbering system for the list. Possible values include decimal (numbersthe default), lower-roman (lowercase Roman numerals), upper-roman (uppercase Roman numerals), lower-alpha (lowercase letters), upper-alpha (uppercase letters), and more.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
