Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation since 10/20/2021 in all areas

  1. This line of your CSS is causing that: .active:after { content: "\2212"; } I'm not sure why it's there. If it's being used for a different part of the page, then you'll have to use a more specific selector which doesn't apply to the pagination links.
    1 point
  2. It's not easy and Javascript alone wouldn't be able to do it. You need a server-side language and a database or access to an API. There are two possible approaches: Get the country from the user's IP address by using an IP address database or API. This can only be done by a server-side language. Get the user's coordinates with the geolocation API and use a database or API to determine which country the coordinates belong to. Both of these would take a few hours of work to complete, so it's not something I can write in a forum post. If you want to avoid this complication, the best solution is to ask the user what country they're in, using a dropdown or an autcomplete text field.
    1 point
×
×
  • Create New...