Up until now, we have been dealing primarily with data and backend code, something that is almost completely invisible to the end user of our application. We did display some data, but this was only plain text and was unintuitive for the user to see. Furthermore, we had separate URLs in order to view temperature and humidity readings. This is not the ideal experience and can be made much better.
In this chapter, we will be looking at the presentation layer, otherwise known as the UI, and use web technologies to functionally and visually enhance the user experience. First, we will look at how to extend our current application to deliver HTML to the user instead of standard plain text. We will then look at how to display temperature and humidity at the same time using different APIs. We will also look at how to add dynamic style to our...