Javascript - Program the Web
This course covers the basics of programming in Javascript. Work your way through the videos/articles and I'll teach you everything you need to know to make your website more responsive!
I'm starting a coding bootcamp
Want to learn web development in a fun and gamefied environment? Head over to simulator.dev and see what I'm working on!

Building A Calculator

Lesson 10
Author : Mike Dane
Last Updated : October, 2017


Code

Copyvar num1 = window.prompt("Num1: ");
var num2 = window.prompt("Num2: ");

num1 = parseFloat(num1);
num2 = parseFloat(num2);

alert(num1 + num2);