Extra
credit assignments (Due Friday April 6th, 2018, by end of the day.
Solve as many as you can, but please turn in only working examples --
no 'partial' credit for code that doesn't work, and negative credit for
false claims.)
1. Create a page with a form that includes two
textareas, a select and two buttons (one labeled 'generate' and the
other labeled 'sort'). The select should allow options of either
'words' or 'numbers'. (See this page
if you need a review of form elements). When the generate button is
clicked, then the currently chosen value of the select is chosen to
place a sequence of 25 random entries (either words or numbers,
depending on the user's choice), delimited by spaces, into the first
textarea. The words should be chosen at random (it doesn't matter if
the same word is chosen twice) from among a collection of 100 different
words, provided to your program by you. Hint: your choice of 100 words
should not be the same as any other student's. If 'numbers' is the
option selected, then the numbers should be random two digit integers
(between 10 and 99), each having equal probability. When the 'sort'
button is clicked, then the content of the first textarea is sorted
(either alphabetically or numerically) with the results being displayed
inside the second textarea.
2. Study SVG sufficiently to draw a curve with five cubic bezier curves and four lines that looks as much as possible like this

3. Do the extra credit problem at the end of this page.
4. Using HTML, JavaScript and/or CSS, but not using the HTML <select> tag,
make a "drop-down" object that behaves as much as possible like a <select>.
When the user selects a particular option, append its value to an event log
(a textarea or div tag).