Skip to content
This repository was archived by the owner on Sep 15, 2022. It is now read-only.

Commit 76f62a9

Browse files
committed
[01_02] Upload all characters' images
1 parent 72aa7e7 commit 76f62a9

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed
Loading
Loading
Loading
Loading

01-introduction-to-react/02-contacts-search/index.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,22 +18,22 @@
1818
id: 1,
1919
name: 'Darth Vader',
2020
phoneNumber: '+250966666666',
21-
image: 'http://cs7.pikabu.ru/images/big_size_comm_an/2014-03_7/13962622876915.gif'
21+
image: 'img/darth.gif'
2222
}, {
2323
id: 2,
2424
name: 'Princess Leia',
2525
phoneNumber: '+250966344466',
26-
image: 'http://images6.fanpop.com/image/photos/33100000/CARRIE-FISHER-anakin-vader-and-princess-leia-33186069-190-149.gif'
26+
image: 'img/leia.gif'
2727
}, {
2828
id: 3,
2929
name: 'Luke Skywalker',
3030
phoneNumber: '+250976654433',
31-
image: 'http://www.youshouldshare.me/wp-content/uploads/2015/03/14264215682890-anigif_enhanced-buzz-13518-1367608452-4.gif'
31+
image: 'img/luke.gif'
3232
}, {
3333
id: 4,
3434
name: 'Chewbacca',
3535
phoneNumber: '+250456784935',
36-
image: 'https://media.giphy.com/media/RUUdVZqwpfTRS/giphy.gif'
36+
image: 'img/chewbacca.gif'
3737
}
3838
];
3939

@@ -73,7 +73,7 @@
7373
render: function() {
7474
return (
7575
<div className="contacts">
76-
<input type="text" className="search-field" onChange={this.handleSearch} />
76+
<input type="text" placeholder="Search..." className="search-field" onChange={this.handleSearch} />
7777
<ul className="contacts-list">
7878
{
7979
this.state.displayedContacts.map(function(el) {
@@ -98,4 +98,4 @@
9898

9999
</script>
100100
</body>
101-
</html>
101+
</html>

02-deep-in-components/01-lifecycle-demo/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
<head>
44
<meta charset="UTF-8">
55
<title>Lifecycle demo</title>
6-
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/0.14.0/react.js"></script>
7-
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/0.14.0/react-dom.js"></script>
6+
<script src="https://npmcdn.com/react@15.3.0/dist/react.js"></script>
7+
<script src="https://npmcdn.com/react[email protected]/dist/react-dom.js"></script>
88
<script src="https://cdnjs.cloudflare.com/ajax/libs/babel-core/5.6.15/browser.js"></script>
99
<link rel="stylesheet" type="text/css" href="style.css">
1010
</head>

0 commit comments

Comments
 (0)