diff --git a/index.html b/index.html new file mode 100644 index 0000000..6435cd3 --- /dev/null +++ b/index.html @@ -0,0 +1,61 @@ + + + + + + Aplikasi Kalkulator Matematika + + + +
+
+

Kalkulator Segi Empat

+

Dibuat dengan HTML, CSS, dan Javacript

+
+
+
+
+ +
+
+

Menghitung Luas dan Keliling

+
+ + +
+ + +
+ + +
+ + +
+
+ + + +
+ + + + \ No newline at end of file diff --git a/segiempat.png b/segiempat.png new file mode 100644 index 0000000..6d5f0ac Binary files /dev/null and b/segiempat.png differ diff --git a/style.css b/style.css new file mode 100644 index 0000000..636e0f9 --- /dev/null +++ b/style.css @@ -0,0 +1,46 @@ +body { + background-color: #FFD1E3; +} +.container { + width: 800px; + background-color: white; + margin: 40px auto; + padding: 20px; + color: #FFBDD4; +} +.title { + text-align: center; +} +.content { + display: flex; + align-items: center; +} +.left-content { + width: 40%; + margin: 0 auto; + border-right: 2px solid whitesmoke; +} +.left-content img { + width: 100%; +} +.right-content { + width: 60%; + padding: 0 20px; +} +.right-content h2{ + text-align: center; +} +label, input, button { + padding: 8px; + margin: 10px auto; +} + +span{ + font-style: italic; +} +footer { + padding: 40px; + text-align: center; + background-color: #CD9CAF; + color: whitesmoke; +} \ No newline at end of file