forked from Montana-Code-School/react-exercises
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexercise3-counter.html
More file actions
34 lines (29 loc) · 886 Bytes
/
exercise3-counter.html
File metadata and controls
34 lines (29 loc) · 886 Bytes
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
<!DOCTYPE html>
<html>
<head>
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/0.14.7/react.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/0.14.7/react-dom.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/0.13.3/JSXTransformer.js"></script>
</head>
<body>
<div id="root"></div>
<script type="text/jsx">
/**
* EXERCISE
*
* CounterList
* ------------------------
* Requirements:
* - Create a list of counters from exercise 3
* - The user should be able to add and remove counters from the list
* - All counters should have different state
*/
var CounterList = React.createClass({
});
ReactDOM.render(
<CounterList />,
document.getElementById('root')
);
</script>
</body>
</html>