Skip to content

Commit

Permalink
lesson-5
Browse files Browse the repository at this point in the history
  • Loading branch information
iamshaunjp committed Dec 12, 2020
1 parent 770b896 commit 6ced2ce
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dojo-blog/.eslintcache
Original file line number Diff line number Diff line change
@@ -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",[]]
[{"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",[]]
17 changes: 16 additions & 1 deletion dojo-blog/src/App.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,25 @@
import './App.css';

function App() {
const title = 'Welcome to the new blog';
const likes = 50;
// const person = { name: 'yoshi', age: 30 };
const link = 'http://www.google.com';

return (
<div className="App">
<div className="content">
<h1>App Component</h1>
<h1>{ title }</h1>
<p>Liked { likes } times</p>

{/* <p>{ person }</p> */}

<p>{ 10 }</p>
<p>{ "hello, ninjas" }</p>
<p>{ [1,2,3,4,5] }</p>
<p>{ Math.random() * 10 }</p>

<a href={link}>Google Site</a>
</div>
</div>
);
Expand Down

0 comments on commit 6ced2ce

Please sign in to comment.