- index.html
- style.css
HTML
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Mathematical Formulas</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
Mathematical Formulas
Mathematics is the science that studies numbers, quantities, and their relationships. For example, the power of the number 2 in the expression 23 equals 8.
It is also important to know fractions, such as 1/2 or 3/4. Fractions can be represented as 31⁄2 for convenience.
Basic Mathematical Expressions
Powers:
23 = 8
32 = 9
Fractions:
1/2 = 0.5
31⁄2 = 3.5
Mathematical Operations
Addition:
3 + 5 = 8
Subtraction:
7 - 2 = 5
</body>
</html>
CSS
body {
width: 500px;
margin: 0;
padding: 10px;
font-family: "Arial", sans-serif;
font-size: 16px;
line-height: 1.2;
}
- Goal
- Result
- Overlay
- Differences
- ?
Press Compare to send your code for review.