-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
54 lines (50 loc) · 2.42 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<html>
<head>
<link rel="stylesheet" href="index.css">
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
<meta content="utf-8" http-equiv="encoding">
<link rel="apple-touch-icon" sizes="180x180" href="/assets/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/assets/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/assets/favicon-16x16.png">
<link rel="manifest" href="/assets/site.webmanifest">
<script src="https://cdn.jsdelivr.net/gh/google/code-prettify@master/loader/run_prettify.js?skin=sons-of-obsidian"></script>
<!-- Google analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-3Y1F1ZRG33"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-3Y1F1ZRG33');
</script>
<!-- Adding the two necessary scripts to run React: -->
<script src="https://unpkg.com/react@17/umd/react.development.js" crossorigin></script>
<script src="https://unpkg.com/react-dom@17/umd/react-dom.development.js" crossorigin></script>
<script src="scripts/dist/index.js"></script>
</head>
<body>
<div>
<div id="website-header">
<h1 onclick="goto('landing')">
How <span id="react-logo"></span><span class="blue">React</span> Works
</h1>
<p>A ReactJS website exploring how to use ReactJS. </p>
</div>
<div id="page-container">
<div id="side-bar">
<nav>
<div onclick="goto('1-what-is-reactjs')" id="1-what-is-reactjs">1. What is ReactJS?</div>
<div onclick="goto('2-react-use-cases')" id="2-react-use-cases">2. React use cases</div>
<div onclick="goto('3-jsx')" id="3-jsx">3. JSX</div>
<div onclick="goto('4-how-does-react-work')" id="4-how-does-react-work">4. How does React work?</div>
<div onclick="goto('5-serving-a-react-website')" id="5-serving-a-react-website">5. Serving a React website</div>
<div onclick="goto('6-other-react-tools')" id="6-other-react-tools">6. Other React tools</div>
<div onclick="goto('glossary')" id="glossary">Glossary</div>
</nav>
</div>
<div id="page-content-container">
<div id="page-content">
</div>
</div>
</div>
</body>
</html>