---
# System prepended metadata

title: 'Lesson2-1: Rendering UI with React: Rendering UI Intro'
tags: [Recat]

---

# Lesson2-1: Rendering UI with React: Rendering UI Intro
###### tags: `Recat`
{%youtube k549w2hPXpI%}

React uses JavaScript objects to create React elements. We'll use these React elements to describe what we want the page to look like, and React will be in charge of generating the DOM nodes to achieve the result.

Recall from the previous lesson the difference between imperative and declarative code. The React code that we write is declarative because we aren't telling React what to do; instead, we're writing React elements that describe what the page should look like, and React does all of the implementation work to get it done.

Enough theory, let's get to it and create some elements!


