VIEW
Create a function that returns the markup passing in a volunteer object
CONTROLLER
Find the closest volunteer card clicked
Store its id in a variable
Find the correct volunteer object
Handle errors for in case a volunteer object was not found
Target the root element to inject our details page into
Execute volunteerDetails function to create markup with volunteer
Inject markup into root
VIEW Create a function that returns the markup passing in a volunteer object
CONTROLLER Find the closest volunteer card clicked Store its id in a variable Find the correct volunteer object Handle errors for in case a volunteer object was not found Target the root element to inject our details page into Execute volunteerDetails function to create markup with volunteer Inject markup into root