Skip to content

elmoin/port-exercise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Execercises (Elmoin Meetup July 2016)

Let's have some fun talking Elm to Javascript, and vice versa.

Exercises

Helpful links

Installation

git clone https://github.com/elmoin/port-exercise.git {your-project}
cd {your-project}
npm i
elm package install -y
npm start
  • Open http://localhost:3333 in your browser to to see your result immediately while coding with your editor.

  • Finally open a pull request to show your results.

Exercise 1

Exercise 2

  • Create two input fields to enter two different dates.
  • Use momentjs to determine how many years, months and days are between these two dates?
  • Example data:
Date 1: 01/01/2010
Date 2: 13/07/2016
Result: 6 years, 7 months, 13 days
  • Hint: For an example of an input implementation check Todo.elm of Elm TodoMVC app.

Exercise 3

License

MIT

Have fun :)

About

Execercises of Elmoin Meetup July 2016

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published