Unit #2-02
Learning Outcome
At the end of this lesson, you will be able to:
create the program that does basic math
Review
using <div> to "insert" text into our webpage
Lesson
the entire point of creating electronic computers was to automate doing math, so let's get the computer to do simple math for us
add
subtract
multiply
divide
exponent
go over how to get "Unicode" characters
for example "÷"
Activity
see "Basic Math" program
see Relpit below: ↓
Daily Assignment
create a web page that will do the following:
that calculates the area and perimeter of a rectangle with dimensions 5 cm & 3 cm, (see screenshot below: ↓)
hint: a = l x w or a = 5x3 and p = 2(l + w) or p = 2(5 + 3)
REMEMBER: to use everything we learned in Unit #1
comments and favicon
proper style and linting
MDL
CSS
ENSURE your units are done correctly (space between value and units: 15 cm²
...
Extra
create the "Area and Perimeter" program in the terminal