tphdev / activity--react-basics

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React Basics

Configuration

# 1) navigate to warmups
cd ~/muktek/warmups

# 2) clone this repository
git clone https://github.com/tphdev/activity--react-basics.git

# 3) download node_modules
npm install

# 4) open atom, then execute create-react-app task runner
atom .
npm start

Assignment

  1. Import App component in index.js and pass to ReactDOM.render(...)

  2. Import styles in index.js

  3. In App.js, import components + include based on mockup below

  4. Question: What does this.props.children do? (from Title.js)

Mockup

img

About


Languages

Language:JavaScript 70.7%Language:HTML 15.9%Language:CSS 13.4%