Solution Review: Add a Class
This lesson will explain the solution to the problem in the previous lesson.
We'll cover the following...
We'll cover the following...
Solution #
Explanation #
Let’s start by discussing the addClass function. It takes two parameters, selector and className.
On line 2, we use document.querySelector and pass  ...