-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
45 lines (39 loc) · 1.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<meta name="description" content="">
<link rel="stylesheet" href="static/css/style.css">
<link href='https://fonts.googleapis.com/css?family=Montserrat' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
<title>Web App from Scratch</title>
</head>
<body>
<div class="container">
<section class="main-nav">
<nav>
<a href="#home">Home</a></li>
<a href="#practices">Best Practices</a>
</nav>
</section>
<section class="section active" id="home">
<h1><i class="fa fa-home"></i>Home</h1>
This is a one page web app demo
</section>
<section class="section" id="practices">
<h1><i class="fa fa-thumbs-up"></i>Best practises</h1>
<ul>
<li>Don't use global variables/objects</li>
<li>Declare variables at top of scope</li>
<li>Use short clear meaningful names (English)</li>
<li>Work in strict mode</li>
<li>camelCase your code if(code != Constructor || CONSTANTS)</li>
<li>Place external scripts at the bottom of the page</li>
<li>Indent your code</li>
</ul>
</section>
</div>
<script src="static/js/app.js"></script>
</body>
</html>