From aec3cbe4b00f96de4f5d120f62eec3e46e5b6557 Mon Sep 17 00:00:00 2001
From: Crateeeee
Date: Fri, 28 Nov 2025 08:28:09 +0800
Subject: [PATCH 1/8] CSS Grid
---
introduction/css/css-grid.css | 14 ++++++++++++++
introduction/index.html | 15 ++++++++++++++-
2 files changed, 28 insertions(+), 1 deletion(-)
create mode 100644 introduction/css/css-grid.css
diff --git a/introduction/css/css-grid.css b/introduction/css/css-grid.css
new file mode 100644
index 0000000..be6c06f
--- /dev/null
+++ b/introduction/css/css-grid.css
@@ -0,0 +1,14 @@
+.container {
+ display: grid;
+ grid-template-columns: 1fr 1fr 1fr;
+ background-color: rgb(34, 207, 66);
+ padding: 5px;
+ gap: 5px;
+}
+.container div {
+ background-color: #f5a5ed;
+ color: #000;
+ padding: 10px;
+ font-size: 30px;
+ text-align: center;
+}
\ No newline at end of file
diff --git a/introduction/index.html b/introduction/index.html
index 265fcb0..08e256c 100644
--- a/introduction/index.html
+++ b/introduction/index.html
@@ -1,7 +1,7 @@
-
+
WEBPROG IT-241
@@ -45,6 +45,19 @@ Goals
+
+The grid-template-columns Property
+
+Here, each column will take up 33.3% of the container width, splitting it equally (1fr):
+
+
+
1
+
2
+
3
+
4
+
5
+
6
+
From 9516bcdcc3432de2dc679387a5516d7dc85ab753 Mon Sep 17 00:00:00 2001
From: Crateeeee
Date: Fri, 28 Nov 2025 08:50:09 +0800
Subject: [PATCH 2/8] CSS grid applied
---
introduction/css/css-grid.css | 70 ++++++++++++++++++++++-----
introduction/index.html | 89 +++++++++++++++++------------------
2 files changed, 101 insertions(+), 58 deletions(-)
diff --git a/introduction/css/css-grid.css b/introduction/css/css-grid.css
index be6c06f..c22c0ef 100644
--- a/introduction/css/css-grid.css
+++ b/introduction/css/css-grid.css
@@ -1,14 +1,62 @@
+* {
+ box-sizing: border-box;
+}
.container {
display: grid;
- grid-template-columns: 1fr 1fr 1fr;
- background-color: rgb(34, 207, 66);
- padding: 5px;
- gap: 5px;
-}
-.container div {
- background-color: #f5a5ed;
- color: #000;
+ grid-template-columns: repeat(12, [col-start] 1fr);
+ gap: 20px;
+}
+/* Mobile first */
+.container > * {
+ border: 1px solid green;
+ background-color: beige;
padding: 10px;
- font-size: 30px;
- text-align: center;
-}
\ No newline at end of file
+ grid-column: col-start / span 12;
+}
+.container h2 {
+ margin-top: 0;
+}
+.container ul {
+ margin: 10px 0;
+ padding-left: 20px;
+}
+@media (min-width: 576px) {
+ .about {
+ grid-column: col-start / span 6;
+ }
+ .education {
+ grid-column: col-start 7 / span 6;
+ }
+ .achievements {
+ grid-column: col-start / span 6;
+ }
+ .experience {
+ grid-column: col-start 7 / span 6;
+ }
+ .hobbies {
+ grid-column: col-start / span 6;
+ }
+ .goals {
+ grid-column: col-start 7 / span 6;
+ }
+}
+@media (min-width: 768px) {
+ .about {
+ grid-column: col-start / span 4;
+ }
+ .education {
+ grid-column: col-start 5 / span 4;
+ }
+ .achievements {
+ grid-column: col-start 9 / span 4;
+ }
+ .experience {
+ grid-column: col-start / span 4;
+ }
+ .hobbies {
+ grid-column: col-start 5 / span 4;
+ }
+ .goals {
+ grid-column: col-start 9 / span 4;
+ }
+}
diff --git a/introduction/index.html b/introduction/index.html
index 08e256c..39e25cf 100644
--- a/introduction/index.html
+++ b/introduction/index.html
@@ -6,59 +6,54 @@
-My Personal Profile Web page
-
-
-
About Me
-Hi folks! I'm Crate Marshall Pinlac! I'm studying WEBPROG (Professor Joe Gene). And currently practicing my HTML and CSS skills!
+
My Personal Profile Web page
-Education
-
- - Asia Pacific College, BS Information Technology
- - Asia Pacific College, Senior High School
- - Bangkal High School, Elementary & Junior High School
-
-
- Achievements
-
- - Scrum Foundation Professional Certificate, Consistent honors
-
-
+
+
+
About Me
+
Hi folks! I'm Crate Marshall Pinlac! I'm studying WEBPROG (Professor Joe Gene). And currently practicing my HTML and CSS skills!
+
-
IT Experience
-
Python, Java, HTML, CSS, OutSystems, OS(MacOS, Windows, Linux) Github
-
+
+
Education
+
+ - Asia Pacific College, BS Information Technology
+ - Asia Pacific College, Senior High School
+ - Bangkal High School, Elementary & Junior High School
+
+
-
Hobbies and Interests
-
- - Music
- - Programming
- - Watching movies
- - Online games
-
+
+
Achievements
+
+ - Scrum Foundation Professional Certificate, Consistent honors
+
+
-
Goals
-
- To graduate with flying colors! Have stable career. Working in the industry related to my course.
-
-Picture Gallery
-

-
-
+
+
IT Experience
+
Python, Java, HTML, CSS, OutSystems, OS(MacOS, Windows, Linux) Github
+
+
+
+
Hobbies and Interests
+
+ - Music
+ - Programming
+ - Watching movies
+ - Online games
+
+
-
The grid-template-columns Property
+
+
Goals
+
To graduate with flying colors! Have stable career. Working in the industry related to my course.
+
+
-Here, each column will take up 33.3% of the container width, splitting it equally (1fr):
+Picture Gallery
+
-
-
1
-
2
-
3
-
4
-
5
-
6
-
-
-