Update Notice
Search Optimization (cont'd) - 101222
Instead of searching for the restaurant based on a user's address, we now search for it by the exact address found in the title element Address extraction code before:
var address = document.querySelectorAll(".gUHrYg");
var addressText = address[1].innerHTML;
Address extraction code now pulls the text content from the title element which requires a function to remove all extra text content that was surrounding it.
Log in or sign up for Devpost to join the conversation.