Change
<div
  id="loc-name"
></div>
<div
  id="loc-phone-number"
></div>

<script>
  window.onload = function() {
    // Retrieve the value from sessionStorage
    var locationNumber = sessionStorage.getItem('location_phone_number');

    // Check if the value is not null
    if (locationNumber) {
      // Set the inner HTML of the div to a clickable link with tel href
      document.getElementById('loc-phone-number').innerHTML = '<a href="tel:' + locationNumber + '">' + locationNumber + '</a>';
    }
  };
</script>

Roof leaks can stem from damaged shingles, faulty flashing, or general wear and tear over time. Our team thoroughly inspects your roof to pinpoint the source of the leak and recommend the right roof repair solution.