My New Favourite Little Piece of Code

Don't get me wrong, I am not a coder by any means. It confuses me and most of the time I leave it to the experts... However, knowing little bits and pieces is always going to be a big help to your business.

As per a clients request, while building their site, I discovered this gem. You know how in google, you can get directions from a location to a destination? You can now install that onto your website, so you don't have to send people to Google. 

Install this piece of code onto your contact page, your customers can type their address and get directions to your business. All you have to do is write your business address between the brackets before installing it! -If you're not sure how to install the code, just email it to your web developer!

Let me know how you go! 


<h2>Get Directions</h2>
<form action="http://maps.google.com/maps" method="get" target="_blank">
<p>Enter your starting address:</p>
<input type="text" name="saddr" />
<input type="hidden" name="daddr" value="[Your Business Address Here]" />
<input type="submit" value="Get Directions" />
</form>