elifgazioglu / doyouwannagooutwithme

http://doyouwannagooutwithme.com
553 stars 190 forks source link

Add Dynamic name customization #14

Open moshejs opened 9 months ago

moshejs commented 9 months ago

This pull request introduces a client-side JavaScript enhancement that dynamically personalizes the webpage based on a user's name passed through the URL query parameters. The feature capitalizes the first letter of the name and inserts it into the specified location within the HTML content, providing a more personalized and engaging user experience.

Key Changes:

  1. Dynamic Name Retrieval: The script extracts the 'name' query parameter from the current page's URL.
  2. Capitalization Functionality: It capitalizes the first letter of the retrieved name to ensure proper formatting.
  3. Dynamic Content Insertion: The personalized name is then inserted into the HTML content at the designated placeholder.

Enhancements:

Usage Notes:

This update aims to make the webpage feel more engaging and tailored to individual users by dynamically inserting their names into the text.

Jsotomolinez commented 9 months ago

its not working for me