To design a website to calculate the BMI in the server side.
BMI = W/H2
H --> Height (M)
I --> Weight (Kg)
Clone the repository from GitHub.
Create Django Admin project.
Create a New App under the Django Admin project.
Create python programs for views and urls to perform server side processing.
Create a HTML file to implement form based input and output.
Publish the website in the given URL.
<!DOCTYPE html>
<html>
<head>
<title>BMI Calculator</title>
</head>
<body bgcolor="D90166">
<center>
<h2>BMI Calculator</h2>
<form method="POST">
{% csrf_token %}
<label>Height (m):</label><br>
<input type="text" name="height"><br><br>
<label>Weight (kg):</label><br>
<input type="text" name="weight"><br><br>
<button type="submit">Calculate</button>
</form>
{% if BMI %}
<h3>Your BMI is: {{ BMI }}</h3>
{% endif %}
</center>
</body>
</html>
The program for performing server side processing is completed successfully.

