This excercise is to verify that you can:
- create a simple web application
- understand and work with MVC paradigm
-
If you do not have a GitHub account yet, please go to GitHub join page and register. You will get a free account, no worries - no credit card is required. If you are lost, an initial information is also in the First Internship Excercise.
-
Fork this repository using any git client.
-
Pick your favourite web framework (it can be PHP, Django, Python, Java with JSP, Ruby on Rails, express with node.js or any other framework).
-
Create a simple form that will calculate an average car fuel consumption. It can calculate miles per gallon OR liters per every 100 kilometers - it is up to you - only one version will be verified. Please apply the rules of Model-View-Controller paradigm in your solution.
Inputs (European version) | Output |
---|---|
fuel (in liters) | an average fuel consumption (for example 6.8 l / 100 km) |
journey driven (in kilometers) |
Inputs (US version) | Output |
---|---|
fuel (in gallons) | an average fuel consumption (for example 35 miles per gallon) |
journey driven (in miles) |
-
Commit your changes with meaningful commit messages.
-
Push your changes from your local computer to your GitHub repository.
-
Send a pull request to goodylabs/internship-excercise2. This point is not mandatory, however it might speed up the verification process :)
You're done ;)