Skip to content

Commit 6ced2ce

Browse files
committed
lesson-5
1 parent 770b896 commit 6ced2ce

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

dojo-blog/.eslintcache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
[{"C:\\Users\\Shaun\\Documents\\Tuts\\YouTube\\course-files\\Complete-React-Tutorial\\dojo-blog\\src\\index.js":"1","C:\\Users\\Shaun\\Documents\\Tuts\\YouTube\\course-files\\Complete-React-Tutorial\\dojo-blog\\src\\App.js":"2"},{"size":432,"mtime":1607775534246,"results":"3","hashOfConfig":"4"},{"size":190,"mtime":1607775900629,"results":"5","hashOfConfig":"4"},{"filePath":"6","messages":"7","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"13wetv0",{"filePath":"8","messages":"9","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"C:\\Users\\Shaun\\Documents\\Tuts\\YouTube\\course-files\\Complete-React-Tutorial\\dojo-blog\\src\\index.js",[],"C:\\Users\\Shaun\\Documents\\Tuts\\YouTube\\course-files\\Complete-React-Tutorial\\dojo-blog\\src\\App.js",[]]
1+
[{"C:\\Users\\Shaun\\Documents\\Tuts\\YouTube\\course-files\\Complete-React-Tutorial\\dojo-blog\\src\\index.js":"1","C:\\Users\\Shaun\\Documents\\Tuts\\YouTube\\course-files\\Complete-React-Tutorial\\dojo-blog\\src\\App.js":"2"},{"size":432,"mtime":1607775534246,"results":"3","hashOfConfig":"4"},{"size":577,"mtime":1607782489129,"results":"5","hashOfConfig":"4"},{"filePath":"6","messages":"7","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"13wetv0",{"filePath":"8","messages":"9","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"C:\\Users\\Shaun\\Documents\\Tuts\\YouTube\\course-files\\Complete-React-Tutorial\\dojo-blog\\src\\index.js",[],"C:\\Users\\Shaun\\Documents\\Tuts\\YouTube\\course-files\\Complete-React-Tutorial\\dojo-blog\\src\\App.js",[]]

dojo-blog/src/App.js

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,25 @@
11
import './App.css';
22

33
function App() {
4+
const title = 'Welcome to the new blog';
5+
const likes = 50;
6+
// const person = { name: 'yoshi', age: 30 };
7+
const link = 'http://www.google.com';
8+
49
return (
510
<div className="App">
611
<div className="content">
7-
<h1>App Component</h1>
12+
<h1>{ title }</h1>
13+
<p>Liked { likes } times</p>
14+
15+
{/* <p>{ person }</p> */}
16+
17+
<p>{ 10 }</p>
18+
<p>{ "hello, ninjas" }</p>
19+
<p>{ [1,2,3,4,5] }</p>
20+
<p>{ Math.random() * 10 }</p>
21+
22+
<a href={link}>Google Site</a>
823
</div>
924
</div>
1025
);

0 commit comments

Comments
 (0)