Build a Static App

Great work so far! You’ve learned two foundational Elm concepts—functions and static types. You’re now ready to bring those concepts together to create your first application. In this section, you will learn about the list data type and use lists to create HTML elements with the Html module. By the end, you will have a cool photo sharing application to show off.

Create Collections with Lists

So far, you’ve worked with single data values such as strings and numbers. In Elm applications, you’ll typically want to represent collections of data values, too. For example, to actually display an application, you’ll need to represent multiple HTML elements. Elm lets you represent collections with the list data type. To create a list, ...

Get Programming Elm 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.