# Step 3

Now that you have your components ready, let's add some style to them. Create a CSS file for each of your components and import them by doing:

```css
/* Title.css */
.Title {
  font-size: 24px;
}

/* ProductList.css */
.ProductList {
  background: white;
}
```

```javascript
// Title.js
import './Title.css'

render() {
  return (
    <div className="Title">
      ...
    </div>
  )
}

// ProductList.js
import './ProductList.css'

render() {
  return (
    <table className="ProductList">
      ...
    </table>
  )
}
```

⚠️ Like for importing JSON, importing a CSS file is made possible because you are using `create-react-app`. Under the hood, `create-react-app` has a webpack configuration that allows you to import CSS files.

If you inspect the source of your app, you will see that the CSS is inlined in the page. ⚠️ You are using plain CSS here, it is not CSS modules, so if you use same class names, you will have collision.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://shopify-1.gitbook.io/react/exercises/1.-productlist-light/step-3.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
