Giter Club home page Giter Club logo

port-exercise's Introduction

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 :)

port-exercise's People

Watchers

jk avatar James Cloos avatar Gregor avatar Tomke Reibisch avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.