Autoplay

    Render a Basic Element with style-elements in Elm

    Josh RobertsonJosh Robertson

    In this lesson we will take a basic application, bootstrapped with create-elm-app, and begin converting the divs and h1s into style-elements.

    Style elements separate our styles from the layout and positioning of elements. The Element module gives us everything we need for our view while the Style module will be the base for creating our stylesheet.

    Code

    Code

    Become a Member to view code

    You must be a Member to view code

    Access all courses and lessons, track your progress, gain confidence and expertise.

    Become a Member
    and unlock code for this lesson
    Discuss

    Discuss