![One task, multiple solutions](/content/images/size/w720/2023/01/One-task--multiple-solutions.png)
One task, multiple solutions
In Javascript, it is very common to achieve a task in multiple ways.
For example, in the last lesson, on the body tag, we have replaced the no-js class with js class by using the add and remove methods of the classList object.
<body class="no-js page-template-home-page"