Get data "location" from UL does not work

Hello folks

Im facing a issue to extract data from URL, im follow a tutorial to create a AirBnB clone, and this feature will extract the location that was inserted in the Index page.
After the user choose were will gone stay, and other things, the next page will show the results, and the tutorial asked to insert a Title, this title need to get data from URL, in this case this data is “location”.
Note the location appears clearly in th URL and the code seems to be correctly, colud somebody figure out whats is happening?

:slightly_smiling_face:


Hi @sosblogers :wave:

Remember that the URL parameters are case sensitive.
You are searching for location but in the URL you have Location.
Try to change it…

1 Like

Thansk man!!! Is work now

This topic was automatically closed after 70 days. New replies are no longer allowed.