Testing CSS imports in Webpack

Let's test importing CSS styles in a JavaScript file. Let's make a file with styles:

src/styles.cssbody {
  background: red;
}

Let's import it:

src/index.jsimport './styles.css';

Now, if after building the project we open the HTML file in the browser to which the assembly file is connected, we will see the result of our styles.

Задание 1

Perform the testing described. Import several CSS files.

Задание 2

Open the assembly file in the editor and use the search to find your CSS styles in it.

Задание 3

Open your browser debugger and find your CSS styles on the HTML page.