PREV: Conditionals Ninjery
NEXT: Map it like it's hot!
A series of exercises for getting familiar with types and their possible values.
PREV: Conditionals Ninjery
NEXT: Map it like it's hot!
A series of exercises for getting familiar with types and their possible values.
PREV: Type Ninjery
A series of exercises with unique tasks for playing around with the basic Elm types we've come across so far, and getting more familiar with conditional logic.
| module Main exposing (main) | |
| import Browser | |
| import Html exposing (Html, div, h1, input, label, text) | |
| import Html.Attributes exposing (value) | |
| import Html.Events exposing (onInput) | |
| main : Program () Model Msg | |
| main = |
| module Main exposing (main) | |
| import Browser | |
| import Html exposing (Html, div, h1, input, label, text) | |
| import Html.Attributes exposing (value) | |
| import Html.Events exposing (onInput) | |
| main : Program () Model Msg | |
| main = |
| module Main exposing (main) | |
| import Browser | |
| import Html exposing (Html, text) | |
| main : Program () Model Msg | |
| main = | |
| Browser.sandbox | |
| { init = myInit |