Week 6

Intro to React pt. 1

By now, we roughly understand what HTML and CSS are, and we know how to use JavaScript to edit and create pieces of HTML and CSS code programatically (e.g. using document.querySelector(), document.createElement() and element.appendChild()).

In this week’s lecture, we’ll learn about React for the first time, which is a frontend framework for organizing our code more effectively. We will cover the syntax that makes up React - JSX, components, props, and state - and we’ll be using a tool called Create React App to write some React code for ourselves.