How to Create a BMR Calculator in Javascript

Описание к видео How to Create a BMR Calculator in Javascript

#html #css #javascript #bmrcalculator #javascriptprojects #webdevelopment #vanillajavascript

Source: https://github.com/refinedguides/bmr-...
Demo: https://refinedguides.com/bmr-calcula...

Key Features Covered: 🔥

➠ ✅ Calculate BMR by weight, height, age and gender.
➠ ✅ Display daily calorie needs based on activity level.

A simple javascript app to estimate Basal Metabolic Rate (BMR)

In this video, you'll learn how to build your own Basal Metabolic Rate (BMR) Calculator in JS using a Class-based structure. Here, we create a class which we named BMRCalculator with 4 essential properties (weight, height, age, gender) and 2 methods (calculateBMR, getResult). You'll also be introduce to a special method called the constructor where you can set the initial value for each properties providing a solid foundation for your calculator's functionality.

00:00 Demo
00:26 Form layout
05:55 Result layout
12:02 Logic for form submission and reset
15:46 BMR calculator class creation
18:45 Render function
21:00 Final Output

📚 Curious for More JavaScript and Web Dev Insights?
Explore our playlist Vanilla JavaScript Projects for an enriched learning journey! 📖

   • Vanilla Javascript Projects  

Don't forget to like this video, subscribe to our channel, and hit the bell icon to get notified of future coding guides. If you have any questions or need help with the project, feel free to drop a comment below. Happy coding! 😃👍

TRACKS: 🎧

➠ Nothing
➠ Forest
➠ Start
➠ Vision
➠ Chaos
➠ Lost Control
➠ Superman
➠ Far Away

Music by Damtaro

Youtube:    / @damtaromusic  
Source: https://freetouse.com/music
Royalty Free Music for Video (Safe)

Комментарии

Информация по комментариям в разработке