Courses
Programming language
Explore courses by programming language.
Course type
Learn, challenge or build your portfolio in a practice-driven way.
Level of knowledge
Choose courses tailored to your level of knowledge perfectly.
Or try to search for any course. Still can't find? let us know what are you missing!
Journey
Login
Creator
Anonymous
In this course you will build an interactive simple calculator using HTML, CSS and JS.
Prerequisites
Knowledge in HTML, CSS and JS
Basic knowledge of DOM
Introduction
What will you build?
Frontend I
Title and class calculator
Display input and buttons
Style body
All buttons
Frontend II
Style class calculator
Style id display
Style class buttons
Style class btn
Style class equal
Make it work
function appendToDisplay
function clearDisplay
function deleteLast
function calculateResult