forked from guardian/my-guardian-workshop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
70 lines (64 loc) · 2.65 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<!DOCTYPE html>
<meta charset="UTF-8">
<html>
<head>
<!--This is the title of your page, which will appear in the name of the tab. Change it to anything you like! -->
<title>My Guardian</title>
<!--
These are stylesheets which help make the page look good
- 'bootstrap' helps lay things out neatly on the page
- 'style.css' is a style you can change yourself to change how the page looks
-->
<link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css"/>
<link rel="stylesheet" type="text/css" href="style.css"/>
</head>
<body>
<div class="col-md-12 header">
<div class="header-logo">
<!-- This is the text for the guardian logo. You can change it to anything you like. -->
<span class="guardian-light-blue-text">geekgirl's</span><span class="guardian-white-text">guardian</span>
</div>
</div>
<!-- this is the box of 3 articles -->
<script id="article-list" type="text/x-handlebars-template">
<!-- this is the heading of the article box -->
<div class="row">
<div class="col-md-12">
<h1>{{ sectionName }}</h1>
</div>
</div>
<div class="container-fluid">
<div class="row">
<div class="article-container col-md-12">
<div class="row">
{{#each articleList as |article|}}
<div class="col-md-4">
<div class="thumbnail">
<!-- put the article image here -->
<div class="caption">
<h3>
<!-- this is the article headline -->
{{ article.headline }}
</h3>
<p>
<!-- put the article trail text here -->
</p>
</div>
</div>
</div>
{{/each}}
</div>
</div>
</div>
</div>
</script>
<!--These are bits of code made by other people to help make the page look good and work properly-->
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.4.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/handlebars.js/4.0.3/handlebars.min.js"></script>
<script type="text/javascript" src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
<script type="text/javascript" src="api-keyfile.js"></script>
<script type="text/javascript" src="uglyscript.js"></script>
<!-- This is the code that you will edit today -->
<script type="text/javascript" src="script.js"></script>
</body>
</html>