Skip to content

Commit

Permalink
Update cgi_test.pl
Browse files Browse the repository at this point in the history
  • Loading branch information
arfhad-shaikh committed Jul 29, 2021
1 parent a320ea0 commit 521c5e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cgi/cgi_test.pl
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@
<p>Please fill in the details to find your BMI.</p>
<hr>
<label for="Height">Height</label>
<input type="text" id="height" name="height" pattern="[0-9].{,3}" placeholder="Your height in cm ..">
<input type="number" id="height" name="height" placeholder="Your height in cm ..">
<label for="weight">Weight</label>
<input type="text" id="weight" name="weight" pattern="[0-9].{,3}" placeholder="Your weight in kg..">
<input type="number" id="weight" name="weight" placeholder="Your weight in kg..">
<button type="submit" class="signupbtn" onclick="calculateBMI()">Calculate BMI</button>
Expand Down

0 comments on commit 521c5e3

Please sign in to comment.