Introduction to the project
- Create a web application that calculates your BMI(body mass index) using both the metric and imperial method once you input your weight and height. The application has been created with a test driven development philosophy using Jasmine.
Gems used
- rack
- sinatra
How to use the BMI test
- Run
rackup
in your terminal, this will start the server. - In your browser copy this URL http://localhost:9292/SpecRunner.html, this will open Jasmine's SpecRunner showing 12 green specs. It means that the application is running properly.
- In your browser copy this URL http://localhost:9292/index.html, this will open the site and you can test its features.
- Alternately you can copy this URL https://negativekarma.github.io/bmi_challenge/ in your browser, this will run the web application from GitHub pages.
Resources
- http://getbootstrap.com/docs/4.0/getting-started/introduction/
- Setting 'checked’ for a checkbox with JQuery(answer by bchhun): https://stackoverflow.com/questions/426258/setting-checked-for-a-checkbox-with-jquery https://www.w3schools.com/jquery/html_prop.asp