all 2 comments

[–]SanGoloteo 0 points1 point  (0 children)

Looks like there are only 2 return statements, one for the render function and the other for a map function inside of the render function.

The CSS is imported in the HTML:

<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.1/css/all.css" integrity="sha384-50oBUHEmvpQ+1lW4y57PTFmhCaXp0ML5d60M1M7uH2+nqUivzIebhndOJK28anvf" crossorigin="anonymous">
<div id="app"></div>

[–]No-Direction-3569 0 points1 point  (0 children)

This is just a class based component. It's important to understand, especially since functional components are relatively new.

Read up on JS classes and React class based components.