forked from alainyog/JavaScript.com
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcourse.html
More file actions
62 lines (52 loc) · 2.9 KB
/
course.html
File metadata and controls
62 lines (52 loc) · 2.9 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
<div class='course js-course'>
<section class='row courseLayout-main'>
<div class='cell well well--s--l'>
<div class='g'>
<div class='g-b g-b--m--3of4'>
<nav>
<ol class='completionList mbm'>
<li ng-repeat='challenge in ctrl.challenges' ng-class="{ 'is-active': challenge.active, 'is-completed': challenge.completed }" class='completionList-item' tooltip="{{ ::challenge.title }}">
<svg class='icon completionList-item-icon' width='10' height='10'>
<use xlink:href='#icon-check'/>
</svg>
<a ng-if='challenge.started' ng-click='ctrl.activateChallenge(challenge)' class='completionList-item-link'></a>
</li>
<li ng-class="{ 'is-active': ctrl.onWrapupPage(), 'is-completed': ctrl.challengeProgress.courseCompleted }" class='completionList-item' tooltip='Wrapup'>
<svg class='icon completionList-item-icon' width='14' height='14'>
<use xlink:href='#icon-star'/>
</svg>
<a ng-if='ctrl.challengeProgress.courseCompleted' ng-click='ctrl.activateChallenge(null)' class='completionList-item-link'></a>
</li>
</ol>
</nav>
<div ng-if='ctrl.challenges.length'>
<js-challenge ng-repeat='challenge in ::ctrl.challenges' challenge='challenge' ng-if='challenge.active' class='animate--fade'></js-challenge>
<div ng-if='ctrl.onWrapupPage()' class='animate--fade'>
<div class="g">
<div class="g-b g-b--m--2of5 mbl">
<img src='/images/badge-try-javascript.svg' width='220' height='220' class='thumb mhc' alt='Try JavaScript Badge'/>
</div>
<div class='g-b g-b--m--3of5'>
<h1 class='h h--1 h--semibold'>Congratulations!</h1>
<p>You completed Try JavaScript and you earned this shiny new badge! If you'd like to add it to your achievements, you'll need to sign into your Code School account below.</p>
<p class="mbl">Otherwise, if you want to learn about other places to get started with JavaScript, head over to our <a href='/resources'>Resources</a> page.</p>
<a href='https://www.codeschool.com/achievements/512/award' class='btn db dib--s mbs mrs mrs--s'>Claim Your Badge</a>
<a href='/resources' class='btn db dib--s btn--a--bordered'>Nope, I’m Good</a>
</div>
</div>
</div>
</div>
</div>
<div class='g-b g-b--m--1of4 dn db--m tac'>
<img src='/images/img-try-javascript.svg' class='por potmn' width='200' alt='Try JavaScript'/>
</div>
</div>
</div>
</section>
<div class='row bc-snow'>
<div class='cell well well--s--l'>
<js-messages></js-messages>
<js-console></js-console>
</div>
</div>
</div>