<div style="max-width:600px;margin:auto;text-align:center">
<h1>What’s Your Property Worth in Today’s Market?</h1>
<p>Get an instant estimate + rental yield report in 30 seconds</p>
<input id="address" placeholder="Enter your property address" style="width:100%;padding:15px;margin-top:10px"/>
<button onclick="goNext()" style="margin-top:15px;padding:15px;width:100%">
Get My Estimate →
</button>
</div>
<script src="https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY&libraries=places"></script>
<script>
const input = document.getElementById("address");
const autocomplete = new google.maps.places.Autocomplete(input);
function goNext() {
const val = document.getElementById("address").value;
if(!val) return alert("Enter address");
localStorage.setItem("address", val);
window.location.href = "/estimate";
}
</script>
Comments
Post a Comment