Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Added React component
  • Loading branch information
drm10001 committed Apr 13, 2020
1 parent 5356967 commit 98ad3ea
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions index.html
@@ -0,0 +1,26 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />

<title>Dan's React Site</title>

<script src="https://unpkg.com/react@^16/umd/react.production.min.js"></script>
<script src="https://unpkg.com/react-dom@16.13.0/umd/react-dom.production.min.js"></script>
<script src="https://unpkg.com/babel-standalone@6.26.0/babel.js"></script>
</head>

<body>
<div id="root"></div>

<script type="text/babel">
class App extends React.Component {
render() {
return <h1>Rendered with React! Something new!</h1>
}
}

ReactDOM.render(<App />, document.getElementById('root'))
</script>
</body>
</html>

0 comments on commit 98ad3ea

Please sign in to comment.