-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
20 lines (20 loc) · 847 Bytes
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>React Basic</title>
</head>
<body>
<!-- <h1>Header it will be there always</h1> -->
<div id="root">
this is react app root it will be replaced because ReactDOM uses innerHTML
looks like
</div>
<!-- <h1>Footer it will be there always</h1> -->
<!-- first file is just react code can be used as react native apps but the second script helps us to use react on browser to connect -->
<!-- <script crossorigin src="https://unpkg.com/react@18/umd/react.development.js"></script>
<script crossorigin src="https://unpkg.com/react-dom@18/umd/react-dom.development.js"></script> -->
<script type="module" src="App.js"></script>
</body>
</html>