Summary

We've made our site a bit more user-friendly in this chapter, both in terms of functionality (by remembering our users' choices through cookies) and aesthetics (using CSS). We'll come back to both of these topics in later projects, in which we'll use cookies to allow users to log in and some more advanced CSS. This is the end of our Headlines project; we have a functioning Headlines application that displays news, weather, and currency information.

In the next chapter, we'll start building a new project: an interactive crime map.

Get Flask By Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.