I would like to display the name of a user's state in my HTML example below.
I've read about various Javascript options, but have experienced no success with my solutions. Can you assist me with 2 things:
- How to properly track a user's IP address to identify their state
- How to add the user's state within the p element before the comma => must happen before the page renders
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Get User State & Display</title>
</head>
<body>
<p><strong>If you would like to know more about stock options in , contact our team today!</strong></p>
</body>
</html>
Thank you!!