Coder Social home page Coder Social logo

elm-quiz's Introduction

Elm Quiz

Goal: build a quiz taking app, use json file as source for questions/answers

This project is based on TodoMVC - Try TodoMVC!

Features to build:

  • an exam contains many entries
  • entries contain a question and multiple choices and a correct answer
  • UI will display one entry at a time
  • can select a choice for each entry
  • can navigate through entries in exam
  • grade the exam, show number of correct/wrong
  • source the exam from JSON file
  • can reset the exam
  • hints/clues/notes for each entry
  • customize the UI/CSS for unique look

Try it online at:

Dev Notes

Docker command with bind-mount to Current Working Directory:

  • docker run -it -v ${PWD}:/usr/src/app -p 8080:8080 kyledinh/elm:19 bash

  • Use Elm 19 to build - /build.sh or elm make src/Quiz.elm --output=elm.js

  • build.sh has elm-format and elm make

  • On host, open index.html in your browser!

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.