-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
84 lines (84 loc) · 3.17 KB
/
index.php
File metadata and controls
84 lines (84 loc) · 3.17 KB
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<?php
$videos = array(
1 => 'JavaScript Drum Kit',
2 => 'CSS + JS Clock',
3 => 'Playing with CSS Variables and JS',
4 => 'Array Cardio Day',
5 => 'Flex Panels Image Gallery',
6 => 'Ajax Type Ahead',
7 => 'Array Cardio Day 2',
8 => 'Fun with HTML5 Canvas',
9 => '4 Must Know Dev Tools Tricks',
10 => 'Hold Shift to Check Multiple Checkboxes',
11 => 'Custom HTML5 Video Player',
12 => 'Key Sequence Detection (KONAMI CODE)',
13 => 'Slide In on Scroll',
14 => 'Object and Arrays - Reference VS Copy',
15 => 'LocalStorage and Event Delegation',
16 => 'CSS Text Shadow Mouse Move Effect',
17 => 'Sorting Band Names without articles',
18 => 'Tally String Times with Reduce',
19 => 'Unreal Webcam Fun',
20 => 'Native Speech Recognition',
21 => 'Geolocation based Speedometer and Compass',
22 => 'Follow Along Links',
23 => 'Speech Synthesis',
24 => 'Sticky Nav',
25 => "Understanding JavaScript's Capture",
26 => 'Follow Along Nav',
27 => 'Click and Drag',
28 => 'Video Speed Scrubber',
29 => 'Countdown Timer'
);
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>JavaScript30Challenge Index</title>
<meta name="description" content="30 Day Vanilla JS Challenge, JavaScript30 Demo"/>
<meta name="keywords" content="JavaScript30Challenge, JavaScript30 Demo"/>
<meta name="DC.title" content="JavaScript30Challenge"/>
<meta property="og:url" content="https://javascript30challenge.herokuapp.com/" />
<meta property="og:type" content="website" />
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<!-- Optional theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous">
<style type="text/css">
body{
padding-top: 40px;
}
</style>
</head>
<body>
<div class="container">
<div class="jumbotron">
<h1>JavaScript30 Demo</h1>
<p>I will upload once done a new tutorial. Thank for visit!</p>
</div>
<div class="table">
<table class="table table-hover">
<thead>
<tr>
<th>No.</th>
<th>Description for Tutorial</th>
<th>Action</th>
</tr>
</thead>
<tbody>
<?php foreach ($videos as $key => $video) : ?>
<tr>
<td><?= $key ?></td>
<td><?= $video ?></td>
<td><a class="btn btn-primary btn-xs btn" href="./video<?= $key ?>/" target="_blank" role="button">View</a></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>
</div>
</body>
</html>