Lesson 1 of 14 · 2 min
What you are building
Today you build version 2 of your BMI calculator. Instead of popup prompts, the user types their weight and height into text inputs on the page, and the BMI appears right there.
Prefer to follow along with a walkthrough? Watch it here, or open the Day 4 video in a new tab.
What you are learning:
- how to add text inputs;
- how to use the DOM to control the website's logic;
- how to build a cleaner, more interactive BMI calculator.
This is the day your page starts to feel like a real, interactive app.
This lesson has 1 quiz in the portal, where you tick off each step and get feedback on the code you write. Do this lesson free.









