diff --git a/Activity_PHP/checkerboard/damier.css b/Activity_PHP/checkerboard/damier.css
deleted file mode 100644
index 181c1f0..0000000
--- a/Activity_PHP/checkerboard/damier.css
+++ /dev/null
@@ -1,20 +0,0 @@
-body {
- background-color: gray;
-}
-
-td {
- width: 50px;
- height: 50px;
-}
-
-table {
- border-collapse:collapse;
-}
-
-.n {
- background-color: black;
-}
-
-.b {
- background-color: white;
-}
\ No newline at end of file
diff --git a/Activity_PHP/checkerboard/damier.php b/Activity_PHP/checkerboard/damier.php
deleted file mode 100644
index 04c93f4..0000000
--- a/Activity_PHP/checkerboard/damier.php
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
-
-
- Damier
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Activity_PHP/checkerboard/damier2.php b/Activity_PHP/checkerboard/damier2.php
deleted file mode 100644
index 0940535..0000000
--- a/Activity_PHP/checkerboard/damier2.php
+++ /dev/null
@@ -1,41 +0,0 @@
-
-
-
-
-
- Damier
-
-
-
-
- ");
- for ($j=0; $j<$colone ; $j++) {
- if ($color == 'b') {
- $color = 'n';
- } else {
- $color = 'b';
- }
- echo(" | ");
-
- }
- echo("");
- if ($i % 2 == 0) {
- $color = 'n';
- } else {
- $color = 'b';
- }
-
- }
-
- ?>
-
-
-
-
\ No newline at end of file
diff --git a/Activity_PHP/checkerboard/index.php b/Activity_PHP/checkerboard/index.php
new file mode 100644
index 0000000..e87cc16
--- /dev/null
+++ b/Activity_PHP/checkerboard/index.php
@@ -0,0 +1,47 @@
+
+
+
+
+
+ Checkerboard
+
+
+
+
+
+ ");
+ for ($j=0; $j<$column ; $j++) {
+ if ($color == 'b') {
+ $color = 'n';
+ } else {
+ $color = 'b';
+ }
+ echo(" | ");
+ }
+ echo("");
+ if ($i % 2 == 0) {
+ $color = 'n';
+ } else {
+ $color = 'b';
+ }
+ }
+ }
+ ?>
+
+
+
diff --git a/Activity_PHP/checkerboard/style.css b/Activity_PHP/checkerboard/style.css
new file mode 100644
index 0000000..8ec70ae
--- /dev/null
+++ b/Activity_PHP/checkerboard/style.css
@@ -0,0 +1,38 @@
+body {
+ font-family: Arial, sans-serif;
+ text-align: center;
+ align-items: center;
+ height: 100vh;
+ margin: 0;
+}
+
+form {
+ margin-bottom: 20px;
+}
+
+form input[type="number"],
+form button {
+ margin: 5px;
+ padding: 8px;
+ border-radius: 5px;
+ border: 1px solid #ccc;
+}
+
+table {
+ border-collapse: collapse;
+ margin: 0 auto;
+}
+
+td {
+ width: 50px;
+ height: 50px;
+ border: 1px solid #ccc;
+}
+
+.n {
+ background-color: #000;
+}
+
+.b {
+ background-color: #fff;
+}
\ No newline at end of file