Select Page

Parent passes props to Child

From Codecademy. A basic example of the relationship between parent and child components. https://snippets.cacher.io/snippet/9fbadaa1cfce6e939c74 App Functionality App displays “Hey, my name is Frarthur.” App parts We only worked on Random.js and its child...

Random Color Picker

From Codecademy.  https://snippets.cacher.io/snippet/30af67f4aa8a9469dd29  App Functionality User clicks on a button to randomly change the background color of an otherwise blank screen. App parts We only worked on Random.js and its child component Button.js...

Ravenous – React Project

I am working through Codecademy’s Ravenous React project. Here I want to break down the project so as to understand it. The project is broken into three pieces. Part 1 App Functionality Screen has two search bars, one to search for restaurants, one to input...

React Review – Components

Continuing with the Codecademy’s React course. They said they will teach both Class and function components, although only function components are used much anymore. a React component is a small, reusable chunk of code that is responsible for one job, which...

React Review – jsx

I’ve decided to go through the React course on Codecademy. To see if I can get a better handle on React. ReactDOM is the name of the React library, a library in JavaScript. ReactDOM’s render() method makes JSX appear on the page. The first argument passed...