-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4f677d9
commit 3b0e0e1
Showing
8 changed files
with
856 additions
and
0 deletions.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
js expressions in jsx es6 template literals/public/index.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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") | ||
); |
Oops, something went wrong.