Download the project folder Open the html file
Input fields have corresponding names
Fill out the fields with the information and press Save Data. The data will be stored in the array medData. (When page is refresehed all contents are lost, they are not stored on disc) As the Medicine name acts as a unique identifier, you can use it to edit or delete by re-entering data into the corresponding fields. Open the console in the browser and press "Show Formulary Data in Log" to list medicine stored in the array medData. Same applies for the "Show Inventory Data in Log" button.