From 2b37334d28757cd0abb7ef77841e04a44b757e0d Mon Sep 17 00:00:00 2001 From: Kelvin Eduful Date: Sat, 25 Nov 2023 12:54:50 +0000 Subject: [PATCH 1/2] changed color of a button --- .hintrc | 13 +++++++++++++ app.js | 2 +- extra.css | 0 index.html | 2 +- style.css | 1 + 5 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 .hintrc create mode 100644 extra.css diff --git a/.hintrc b/.hintrc new file mode 100644 index 0000000..6605fe0 --- /dev/null +++ b/.hintrc @@ -0,0 +1,13 @@ +{ + "extends": [ + "development" + ], + "hints": { + "axe/parsing": [ + "default", + { + "marquee": "off" + } + ] + } +} \ No newline at end of file diff --git a/app.js b/app.js index 2e56ded..376f69b 100644 --- a/app.js +++ b/app.js @@ -2,5 +2,5 @@ const button = document.querySelector("button") button.addEventListener('click', () => { - alert("Yay, I love puppies") + alert("Yay, I love snakes") }) \ No newline at end of file diff --git a/extra.css b/extra.css new file mode 100644 index 0000000..e69de29 diff --git a/index.html b/index.html index ef49f00..baba725 100644 --- a/index.html +++ b/index.html @@ -13,7 +13,7 @@
-

Welcome to Github and Friends

+

Welcome to Kevin's Codelab

diff --git a/style.css b/style.css index 976efae..7b1d0c1 100644 --- a/style.css +++ b/style.css @@ -2,6 +2,7 @@ body { margin: 0; padding: 0; font-family: sans-serif; + background-color: azure; } .container { From 78f74082290f1aa8418eed96df772e4ea05f68db Mon Sep 17 00:00:00 2001 From: Kelvin Eduful Date: Sat, 25 Nov 2023 13:03:06 +0000 Subject: [PATCH 2/2] Add font-size and family --- extra.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/extra.css b/extra.css index e69de29..0407015 100644 --- a/extra.css +++ b/extra.css @@ -0,0 +1,4 @@ +button { + font-size: larger; + font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; +} \ No newline at end of file