Hi guys.
Couldn't help but take another quick look to finish this off.
I have renamed the variables that did previously not make sense / were not explanatory enough
I have commented the code on the results page in great detail so it's hopefully easy to understand
I have made the connection between the listing data that falls within a specific radius within the searched postcode and the listings on the results page. Now the resultspage only renders listings within 50000 of the postcode.
-> test this by typing in postcode "N19EZ" -> after you hit enter you can see the distance between every listing and the postcode print in the console -> as you can see only 5 out of the 6 listings are within the distance -> hence only 5 listings will show.
Hi guys. Couldn't help but take another quick look to finish this off.