-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmodule-2-part-3.html
60 lines (48 loc) · 2.81 KB
/
module-2-part-3.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>React 101 Workshop</title>
<link rel="stylesheet" href="reset.css">
<link rel="stylesheet" href="index.css">
<link href="https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600|Rokkitt:200,300,400,500,600" rel="stylesheet">
</head>
<body>
<div class="module-2">
<div class="banner-image-container">
<img class="banner-image" src="images/react-logo-300-transparent.png" alt="React 101 Banner">
</div>
<div class="outer-container">
<h1>React 101 Workshop</h1>
<h2 class="module-title">Module 2: React Basics</h2>
<article class="module">
<h3>Props and Unidirectional Data Flow</h3>
<p>
In React, data flows in only one direction: from parent to child. This
makes it easy to track where bugs are coming from since we have a
guarentee that data can only come from one place: a component's parent.
</p>
<div class="codepen-container">
<p data-height="600" data-theme-id="dark" data-slug-hash="rLjrbO" data-default-tab="js" data-user="freddyrangel" data-embed-version="2" data-editable="true" class="codepen">See the Pen <a href="http://codepen.io/freddyrangel/pen/rLjrbO/">Props and Unidirectional Data Flow</a> by Freddy Rangel (<a href="http://codepen.io/freddyrangel">@freddyrangel</a>) on <a href="http://codepen.io">CodePen</a>.</p>
</div>
<h3>Walk Through Exercise</h3>
<div class="codepen-container">
<p data-height="600" data-theme-id="dark" data-slug-hash="EgWLkR" data-default-tab="js" data-user="freddyrangel" data-embed-version="2" data-editable="true" class="codepen">See the Pen <a href="http://codepen.io/freddyrangel/pen/EgWLkR/">Hello World Walk Through</a> by Freddy Rangel (<a href="http://codepen.io/freddyrangel">@freddyrangel</a>) on <a href="http://codepen.io">CodePen</a>.</p>
</div>
<h3>Practical Exercise</h3>
<div class="codepen-container">
<p data-height="600" data-theme-id="dark" data-slug-hash="jrypoo" data-default-tab="js" data-user="freddyrangel" data-embed-version="2" data-editable="true" class="codepen">See the Pen <a href="http://codepen.io/freddyrangel/pen/jrypoo/">Practical Exercise 3</a> by Freddy Rangel (<a href="http://codepen.io/freddyrangel">@freddyrangel</a>) on <a href="http://codepen.io">CodePen</a>.</p>
</div>
</article>
<article class="navigation">
<h2>Next Section: Managing Changing Data with State</h2>
<div class="nav-buttons">
<a href="/react-101/module-2-part-4.html" class="btn">Next</a>
<a href="/react-101/module-2-part-2.html" class="btn">Back</a>
</div>
</article>
</div>
</div>
<script async src="//assets.codepen.io/assets/embed/ei.js"></script>
</body>
</html>