From bcf7a3d54252d1482a180683fa2d8d95e50f5557 Mon Sep 17 00:00:00 2001 From: Thuan Bui <9248622+10h30@users.noreply.github.com> Date: Sun, 23 Feb 2025 11:19:14 +0900 Subject: [PATCH] Comlete basic task --- index.html | 4 ++++ script.js | 2 +- style.css | 8 +++++--- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index cc2ba2a..f5c62a4 100644 --- a/index.html +++ b/index.html @@ -4,8 +4,12 @@ Etch A Sketch + +

Etch A Sketch

+
+ \ No newline at end of file diff --git a/script.js b/script.js index cc50eea..2f4f760 100644 --- a/script.js +++ b/script.js @@ -37,7 +37,7 @@ function getRandomColor() { color += letters[Math.floor(Math.random() * 16)]; } return color; - } +} diff --git a/style.css b/style.css index be205bb..c071e5c 100644 --- a/style.css +++ b/style.css @@ -3,9 +3,7 @@ text-align: center; flex-wrap: wrap; width: 800px; - -webkit-box-shadow:inset 0px 0px 0px 5px gray; - -moz-box-shadow:inset 0px 0px 0px 5px gray; - box-shadow:inset 0px 0px 0px 5px gray; + margin-top: 30px; } @@ -13,4 +11,8 @@ -webkit-box-shadow:inset 0px 0px 0px 1px gray; -moz-box-shadow:inset 0px 0px 0px 1px gray; box-shadow:inset 0px 0px 0px 1px gray; +} + +.changecolor { + background-color: red; } \ No newline at end of file