Code block diagram for a DIY Clock+Weather+More being created in a series of posts on https://TechIsSoCool.com. A simple front end and simple server, using the Dark Sky weather API to provide weather information.
1. DIY Clock-Weather-Plus Code
Block Diagram
Browser
clock.html
clock.css
clock.js
Uses clock on browser's
local machine
Browser
wx.html
wx.css
wx.js
Server (Node.js)
wxServer.js
Internet Weather API
https://api.darksky.net/...
Browser
index.html
index.css
index.js
Uses clock on browser's
local machine
Alternatively, you could combine the two
above into one
Local machine (or website)
clock.html
wx.html
clock.css
wx.css
clock.js
wx.js
wxServer.js
https://TechIsSoCool.com