Refactored index.html and script.js to make sure functionality for regHeroes works, while ensuring all functionality for index.html and script.js works.
Firebase moved to regHeroes.js (reverting back to previous style), and cleaned code.
Script.js function, addHeros(), fixed and refactored to ensure every time user clicks on button, the dropdown menu is always up-to-date based on the array + Firebase database.'
Included AJAX call for VolunteerMatch's Public Use API to call data based on volunteer search value, that dynamically changes the element.
All functionality restored, maintained, and prettified with prettifyJS plugin on sublime3 editor.
Refactored index.html and script.js to make sure functionality for regHeroes works, while ensuring all functionality for index.html and script.js works.
Firebase moved to regHeroes.js (reverting back to previous style), and cleaned code.
Script.js function, addHeros(), fixed and refactored to ensure every time user clicks on button, the dropdown menu is always up-to-date based on the array + Firebase database.'
Included AJAX call for VolunteerMatch's Public Use API to call data based on volunteer search value, that dynamically changes the element.
All functionality restored, maintained, and prettified with prettifyJS plugin on sublime3 editor.