Streets Heaver

Welcome to the challenge!

Please read through the following carefully. We don't expect you to complete all tasks within the time.
You have 20 minutes from opening this file to complete the tasks.

Task 1

Convert the following patient name string into the following format: 'ROBINSON, Andy (Mr)':

Task 2

Add a NEW element of "OxyContin" to this array and then REMOVE the "Nexium" element from this array:

Task 3

Style this list using only CSS as close to the image below as you can get:

Task 4

1) In the onButtonClick function, create an instance of the patient class with the patient data from the form below.
2) Hook the save button up to output the values from the form data into element "task4":