HTML for Gadgets, lesson 8 of 9
Project: My Smart Room Control Panel
Introduction
Time to build the real thing: one page that shows your room's temperature and humidity, switches the light and the fan, and dims the light. Every tag you need, you've already learned.
Plan it first
Draw your panel on paper before you code:
- Title: "My Smart Room" (lesson 2).
- Readings: temperature and humidity, as
%TEMPERATURE%and%HUMIDITY%(lesson 5). - Light: ON and OFF buttons (lesson 4), plus a dimmer slider (lesson 7).
- Fan: ON and OFF buttons.
- Refresh link to get new readings.
- Make it fit the phone (lesson 3) and look good (lesson 6).





