Question: Prompt user to enter a string b. Display the content of string as an h2 element in the div container created above. c. Loop through
Prompt user to enter a string
b. Display the content of string as an h2 element in the div container created above.
c. Loop through each character/digit of the string and store the ASCII value of each as element in
an array.
d. Display array content separated by hyphen - in a new h2 element in the div container created
above.
e. Sort the values of array in ascending order and display new content in a new h2 element in the div container created above.
Programming language java script
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
