GithubHelp home page GithubHelp logo

ideal-weight-calculator's Introduction

Ideal Weight Calculator

This project is a simple ideal weight calculator based on the user's height and gender. Users can enter their height and select their gender using radio buttons. After submitting the form, the ideal weight is calculated and displayed.

Ideal Weight Calculator

Case of men

Case of women

Operation

How to Use

  1. Clone this repository to your local machine.
  2. Open the index.html file in your web browser.

Entering Data

  • Height: Enter your height in centimeters in the input field.
  • Gender: Select your gender by checking the corresponding button (Male or Female).

Ideal Weight Calculation

Once the data is entered, click the "Submit" button. The ideal weight will be calculated based on the specified formula for each gender.

Results

The result of the ideal weight calculation will be displayed with colored information based on the validity of the entered data.

  • In case of an error or invalid data, an error message will be displayed in red.
  • In the case of valid data, the ideal weight will be displayed in green with an informative message.

Development

The source code of this project is written in HTML, CSS, and JavaScript. JavaScript is used to manipulate the DOM and perform the ideal weight calculation based on user input.

License

This project is licensed under the MIT License - see the LICENSE file for more details.


Author: Richard GADJENOU

ideal-weight-calculator's People

Contributors

schosmiel avatar

Watchers

 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.