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>

The cost of a roof inspection varies based on factors such as roof size and type. Get an instant quote on a roof inspection for your home and discover how our team at Bumble Roofing can provide you with comprehensive and reliable assessment services.