DEV Community

Cover image for Change the Background Color using JavaScript / HTML & CSS
Tsr Codes
Tsr Codes

Posted on • Updated on

Change the Background Color using JavaScript / HTML & CSS

Hey Devs !! Welcome.In this new Post
you'll see a beginner friendly project on javascript,
to change the background color on click , Blog
Here I'll add my Code Snippets below ! 😍

HTML Snippets

Then we import our Fav google Fonts
Google Font

Here's Our Styling, Basic Styles
CSS Snippets

Now Style Our Logo Class,Nav & Container
CSS Snippets

& styling our button with little hover effects
CSS Snippets

Here's Our Fun Part [ JS ]

JS

Here's the another method

JS

Here I'll add my youtube Video Down here,Kindly Check it

Β° Playground link -1 : CodePen
Β° Playground link -2 : CodePen

πŸ’œ Thank You for Reading πŸ™Œ
Be Happy 😊 & Always Smile πŸ˜‡

Add ME on Instagram | Facebook |Twitter | Youtube

Top comments (0)