brandonnorsworthy/pet-seeker

Connect the preferences to the API call to Pet Finder

Closed this issue · 1 comments

image
age, gender, size...
can just be like

age = document.getElementById("Age").value

thereby "linking" the element in the html to the js api call

Updated preferences to be called on submit by users so that the API call only generates the animals that align with the user's preferences