Skip to content

Commit

Permalink
Practice
Browse files Browse the repository at this point in the history
  • Loading branch information
ByeonghoonJeon committed Jul 19, 2021
1 parent 4f677d9 commit 3b0e0e1
Show file tree
Hide file tree
Showing 8 changed files with 856 additions and 0 deletions.
12 changes: 12 additions & 0 deletions js expressions in jsx es6 template literals/public/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>React App</title>
<link rel="stylesheet" href="styles.css" />
</head>

<body>
<div id="root"></div>
<script src="../src/index.js" type="text/javascript"></script>
</body>
</html>
Empty file.
18 changes: 18 additions & 0 deletions js expressions in jsx es6 template literals/src/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
const React = require("react");
const ReactDOM = require("react-dom")


import React from "react";
import ReactDOM from "react-dom";

ReactDOM.render(
<div>
<h1>My List</h1>
<ul>
<li>item 1</li>
<li>item 2</li>
<li>item 3</li>
</ul>
</div>,
document.getElementById("root")
);
Loading

0 comments on commit 3b0e0e1

Please sign in to comment.