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

Kalkulator Segi Empat

+

Dibuat dengan HTML, CSS, dan Javascript

+
+
+
+
+ +
+
+

Menghitung Luas dan Keliling

+
+ + +
+ Lebar:
+ +
+ + +
+ + +
+
+ + + +
+ + + + \ No newline at end of file diff --git a/segiempat.png b/segiempat.png new file mode 100644 index 0000000..47c9464 Binary files /dev/null and b/segiempat.png differ diff --git a/styles.css b/styles.css new file mode 100644 index 0000000..9038ca2 --- /dev/null +++ b/styles.css @@ -0,0 +1,48 @@ +body { + background-color: #4D869C ; +} +.container { + width: 800px; + background-color: #874CCC; + margin: 40px auto; + padding: 30px; + color: #1E0342; +} +.title { + text-align: center; +} +.content { + display: flex; + align-items: center; +} +.left-content { + width: 40%; + margin: 0 auto; + border-right: 2px solid whitesmoke; + padding: 0 20px; +} +.left-content img { + width: 100%; +} +,right-content { + width: 60%; + padding: 0 20px; +} +.right-content h2 { + text-align: center; +} +label, input, button { + padding: 8px 20px; + margin: 10px auto; +} + +span { + font-style: italic; +} + +footer { + padding: 40px; + text-align: center; + background-color: whitesmoke; + +} \ No newline at end of file