![The need for defining custom functions in Javascript](/content/images/size/w720/2023/02/Javascript-Functions-201.png)
Javascript Programming Basics
![The need for defining custom functions in Javascript](/content/images/size/w720/2023/02/Javascript-Functions-201.png)
![How to change CSS styles using javascript](/content/images/size/w720/2023/02/How-to-change-CSS-styles-using-Javascript-1.png)
How to change CSS styles using javascript
When we start working with real-world projects, sometimes, we need to change the CSS styles using Javascript.
The most common task is hiding or revealing some HTML elements.
So, in this lesson, we will learn:
1. How to reveal the modal using Javascript.
2. How to change the background color
![It is time to build some simple components](/content/images/size/w720/2023/01/Day-32---Follow-up-before-the-break-up.png)
It is time to build some simple components
![One task, multiple solutions](/content/images/size/w720/2023/01/One-task--multiple-solutions.png)
One task, multiple solutions
![Task: Detecting if Javascript is enabled](/content/images/size/w720/2022/07/the-document-object--1-.png)
Task: Detecting if Javascript is enabled
![The window object](/content/images/size/w720/2022/07/browser-object-model.png)
The window object
![The true use of the console.log](/content/images/size/w720/2022/07/console.log.png)