Jump to content

Plain text weather widget

Go to solution Solved by paul2009,

Recommended Posts

Hi all, I am very new to coding and I am trying to get by with my current skillset. However I have hit a snag. My client has asked for a very simple, text only weather feature to appear on their footer of their site much in the same style as seen on this site:

https://thecalilehotel.com/


Using the search function I came across the one that weather widget io offers, and unfortunately is still is too busy for what I am after and it does not suit the landing page design on the site. https://www.theisla.com.au/


This is the code I used below:

<a class="weatherwidget-io" href="https://forecast7.com/en/n35d71150d18/batemans-bay/" data-font="GT-Pressura-Regular" data-icons="Climacons Animated" data-days="3" >Batemans Bay NSW, Australia</a>
<script>
!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src='https://weatherwidget.io/js/widget.min.js';fjs.parentNode.insertBefore(js,fjs);}}(document,'script','weatherwidget-io-js');
</script>

Has anyone come across something very simple and stripped back that looks like something similar to the calile hotel where it is just using text with no icons etc?

Thank you.

Liam

Link to comment
  • Solution
5 hours ago, Liam_CBR said:

My client has asked for a very simple, text only weather feature to appear on their footer of their site much in the same style as seen on this site

Take a look at https://openweathermap.org/. They provide an API that you can query to get the local weather for a city or long/lat reference.

 

Improve your online store with our extensions.
About: Squarespace Circle Leader since 2017. I value honesty, transparency, appreciation and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™.
Content: Links in my posts may refer to SF Digital products or may be affiliate links.

Buy me a coffee

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.