Professional Documents
Culture Documents
Html
CSS
Class
Section
Single page CSS
CSS/JavaScript custom file
Proper commenting
Code reusability
CSS according framework
Code check
1 <!DOCTYPE html>
2 <html>
3 <head lang="en">
4 <meta charset="UTF-8">
5 <title></title>
6 <!-- website templates CSS -->
7 <link rel="stylesheet"
8 href="https://maxcdn.bootstrapcdn.com/bootstr
9 <!-- custom CSS -->
10 <link rel="stylesheet" type="text/css" href="m
11 <!-- website templates fonts -->
12 <link href="https://fonts.googleapis.com/css?f
13
14 </head>
15 <body>
16 <div id="header">
17 <div class="header">
18 <div class="nav"></div>
19 </div>
20 </div>
21
22 </body>
23 <!-- jQuery library -->
24 <script
25 src="https://ajax.googleapis.com/ajax/libs/jque
26 <!-- website template JavaScript -->
27 <script
28 src="https://maxcdn.bootstrapcdn.com/bootstra
<!-- custom date picker JavaScript -->
<script src="/js/myScript1.js"></script>
</html>
Representation of CSS:
1 body {
2 overflow-x: hidden !important;
3 display: block;
4 font-family: 'Open Sans', sans-serif
5 !important;
6 color: #000;
7
8 }
9
10
11 h1, h2, h3, h4, h5, h6, p, span, a, ul, li {
12 margin: 0px;
13 padding: 0px;
14
15 }
16
17
18 a:hover, a:focus {
19 text-decoration: none;
20 color: #1A237E
21 }
22
23
24
25 /* header section CSS*/
26
27 .header{}
28
29
30
31 /* mid-section CSS*/
32
33 .mid{}
34
/* footer section CSS*/
Class:
Representation of classes:
1 .bgcolor {
2 width: 100%;
3 float: left;
4 height: 700px;
5 background-color: #4ca368;
6 }
7
8
9 div.cities {
10 background-color: black;
11 color: white;
12 margin: 20px 0 20px 0;
13 padding: 20px;
14 }
1 .navbar-default {
2 text-decoration: none;
3 background color: #1A237E;
4 }
5
6 Custom file
7
8 .navbar-default {
9 background color: #5aD782;
10 color: #ff00ff;
11 }
Code Re-usability:
Code Check: