File size: 84,510 Bytes
16a5250
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
<!DOCTYPE html>
<html lang="en"><head>
<link class="__meteor-css__" href="/c039cef9b47481baf0e9a343e536154438171f0f.css?meteor_css_resource=true" rel="stylesheet" type="text/css"/>
<link class="__meteor-css__" href="/52f02f273b0d7fd6013f016f05c3645aa114c8e6.css?meteor_css_resource=true" rel="stylesheet" type="text/css"/>
<meta content="!" name="fragment"/>
<link href="/_404.html" rel="stylesheet"/>
<link href="/_cdn/praxide-fonts.s3-us-west-1.amazonaws.com/avenir.css?family=Avenir" rel="stylesheet"/>
<link href="/_cdn/s3.amazonaws.com/edabit-images/logo_main_medium.png" rel="icon" type="image/png"/>
<title>2,500+ JavaScript Practice Challenges // Praxide</title>
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
<link href="/_404.html" rel="stylesheet"/>
<link href="/_cdn/praxide-fonts.s3-us-west-1.amazonaws.com/avenir.css?family=Avenir" rel="stylesheet"/>
<link href="/_cdn/s3.amazonaws.com/edabit-images/logo_main_medium.png" rel="icon" type="image/png"/>
<style type="text/css">.s-alert-box,.s-alert-box *{-webkit-box-sizing:border-box;box-sizing:border-box}.s-alert-box{position:fixed;background:rgba(42,45,50,0.85);padding:22px;line-height:1.4;z-index:1000;pointer-events:none;color:rgba(250,251,255,0.95);font-size:100%;font-family:'Helvetica Neue', 'Segoe UI', Helvetica, Arial, sans-serif;-webkit-transition:top .4s, bottom .4s;transition:top .4s, bottom .4s}.s-alert-box.s-alert-show{pointer-events:auto}.s-alert-box a{color:inherit;opacity:0.7;font-weight:700}.s-alert-box a:hover,.s-alert-box a:focus{opacity:1}.s-alert-box p{margin:0}.s-alert-box.s-alert-show,.s-alert-box.s-alert-visible{pointer-events:auto}.s-alert-bottom-left{top:auto;right:auto;bottom:30px;left:30px}.s-alert-top-left{top:30px;right:auto;bottom:auto;left:30px}.s-alert-top-right{top:30px;right:30px;bottom:auto;left:auto}.s-alert-bottom-right{top:auto;right:30px;bottom:30px;left:auto}.s-alert-bottom{width:100%;max-width:100%;bottom:0;left:0;right:0;top:auto}.s-alert-top{width:100%;max-width:100%;top:0;left:0;right:0;bottom:auto}.s-alert-info{background:#2987CD;color:#fff}.s-alert-success{background:#2DB84B;color:#fff}.s-alert-warning{background:#FABC2E;color:#fff}.s-alert-error{background:#DB2828;color:#fff}[class^="s-alert-effect-"].s-alert-hide,[class*=" s-alert-effect-"].s-alert-hide{-webkit-animation-direction:reverse;animation-direction:reverse}.s-alert-box-height{visibility:hidden;position:fixed}</style><style type="text/css">.s-alert-effect-jelly a{color:#fff}.s-alert-effect-jelly a:hover,.s-alert-effect-jelly a:focus{color:#fff}.s-alert-effect-jelly .s-alert-close::before,.s-alert-effect-jelly .s-alert-close::after{background:#fff}.s-alert-effect-jelly .s-alert-close:hover::before,.s-alert-effect-jelly .s-alert-close:hover::after{background:#fff}.s-alert-effect-jelly.s-alert-show{-webkit-animation-name:animJelly;animation-name:animJelly;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-timing-function:linear;animation-timing-function:linear}.s-alert-effect-jelly.s-alert-hide{-webkit-animation-name:animFade;animation-name:animFade;-webkit-animation-duration:0.3s;animation-duration:0.3s}@-webkit-keyframes animFade{0%{opacity:0}100%{opacity:1}}@keyframes animFade{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes animJelly{0%{-webkit-transform:matrix3d(0.7, 0, 0, 0, 0, 0.7, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.7, 0, 0, 0, 0, 0.7, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}2.083333%{-webkit-transform:matrix3d(0.75266, 0, 0, 0, 0, 0.76342, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.75266, 0, 0, 0, 0, 0.76342, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}4.166667%{-webkit-transform:matrix3d(0.81071, 0, 0, 0, 0, 0.84545, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.81071, 0, 0, 0, 0, 0.84545, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}6.25%{-webkit-transform:matrix3d(0.86808, 0, 0, 0, 0, 0.9286, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.86808, 0, 0, 0, 0, 0.9286, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}8.333333%{-webkit-transform:matrix3d(0.92038, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.92038, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}10.416667%{-webkit-transform:matrix3d(0.96482, 0, 0, 0, 0, 1.05202, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.96482, 0, 0, 0, 0, 1.05202, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}12.5%{-webkit-transform:matrix3d(1, 0, 0, 0, 0, 1.08204, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1, 0, 0, 0, 0, 1.08204, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}14.583333%{-webkit-transform:matrix3d(1.02563, 0, 0, 0, 0, 1.09149, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.02563, 0, 0, 0, 0, 1.09149, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}16.666667%{-webkit-transform:matrix3d(1.04227, 0, 0, 0, 0, 1.08453, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.04227, 0, 0, 0, 0, 1.08453, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}18.75%{-webkit-transform:matrix3d(1.05102, 0, 0, 0, 0, 1.06666, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.05102, 0, 0, 0, 0, 1.06666, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}20.833333%{-webkit-transform:matrix3d(1.05334, 0, 0, 0, 0, 1.04355, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.05334, 0, 0, 0, 0, 1.04355, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}22.916667%{-webkit-transform:matrix3d(1.05078, 0, 0, 0, 0, 1.02012, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.05078, 0, 0, 0, 0, 1.02012, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}25%{-webkit-transform:matrix3d(1.04487, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.04487, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}27.083333%{-webkit-transform:matrix3d(1.03699, 0, 0, 0, 0, 0.98534, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.03699, 0, 0, 0, 0, 0.98534, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}29.166667%{-webkit-transform:matrix3d(1.02831, 0, 0, 0, 0, 0.97688, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.02831, 0, 0, 0, 0, 0.97688, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}31.25%{-webkit-transform:matrix3d(1.01973, 0, 0, 0, 0, 0.97422, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.01973, 0, 0, 0, 0, 0.97422, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}33.333333%{-webkit-transform:matrix3d(1.01191, 0, 0, 0, 0, 0.97618, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.01191, 0, 0, 0, 0, 0.97618, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}35.416667%{-webkit-transform:matrix3d(1.00526, 0, 0, 0, 0, 0.98122, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.00526, 0, 0, 0, 0, 0.98122, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}37.5%{-webkit-transform:matrix3d(1, 0, 0, 0, 0, 0.98773, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1, 0, 0, 0, 0, 0.98773, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}39.583333%{-webkit-transform:matrix3d(0.99617, 0, 0, 0, 0, 0.99433, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.99617, 0, 0, 0, 0, 0.99433, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}41.666667%{-webkit-transform:matrix3d(0.99368, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.99368, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}43.75%{-webkit-transform:matrix3d(0.99237, 0, 0, 0, 0, 1.00413, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.99237, 0, 0, 0, 0, 1.00413, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}45.833333%{-webkit-transform:matrix3d(0.99202, 0, 0, 0, 0, 1.00651, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.99202, 0, 0, 0, 0, 1.00651, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}47.916667%{-webkit-transform:matrix3d(0.99241, 0, 0, 0, 0, 1.00726, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.99241, 0, 0, 0, 0, 1.00726, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}50%{-webkit-transform:matrix3d(0.99329, 0, 0, 0, 0, 1.00671, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.99329, 0, 0, 0, 0, 1.00671, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}52.083333%{-webkit-transform:matrix3d(0.99447, 0, 0, 0, 0, 1.00529, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.99447, 0, 0, 0, 0, 1.00529, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}54.166667%{-webkit-transform:matrix3d(0.99577, 0, 0, 0, 0, 1.00346, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.99577, 0, 0, 0, 0, 1.00346, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}56.25%{-webkit-transform:matrix3d(0.99705, 0, 0, 0, 0, 1.0016, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.99705, 0, 0, 0, 0, 1.0016, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}58.333333%{-webkit-transform:matrix3d(0.99822, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.99822, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}60.416667%{-webkit-transform:matrix3d(0.99921, 0, 0, 0, 0, 0.99884, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.99921, 0, 0, 0, 0, 0.99884, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}62.5%{-webkit-transform:matrix3d(1, 0, 0, 0, 0, 0.99816, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1, 0, 0, 0, 0, 0.99816, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}64.583333%{-webkit-transform:matrix3d(1.00057, 0, 0, 0, 0, 0.99795, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.00057, 0, 0, 0, 0, 0.99795, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}66.666667%{-webkit-transform:matrix3d(1.00095, 0, 0, 0, 0, 0.99811, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.00095, 0, 0, 0, 0, 0.99811, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}68.75%{-webkit-transform:matrix3d(1.00114, 0, 0, 0, 0, 0.99851, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.00114, 0, 0, 0, 0, 0.99851, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}70.833333%{-webkit-transform:matrix3d(1.00119, 0, 0, 0, 0, 0.99903, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.00119, 0, 0, 0, 0, 0.99903, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}72.916667%{-webkit-transform:matrix3d(1.00114, 0, 0, 0, 0, 0.99955, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.00114, 0, 0, 0, 0, 0.99955, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}75%{-webkit-transform:matrix3d(1.001, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.001, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}77.083333%{-webkit-transform:matrix3d(1.00083, 0, 0, 0, 0, 1.00033, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.00083, 0, 0, 0, 0, 1.00033, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}79.166667%{-webkit-transform:matrix3d(1.00063, 0, 0, 0, 0, 1.00052, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.00063, 0, 0, 0, 0, 1.00052, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}81.25%{-webkit-transform:matrix3d(1.00044, 0, 0, 0, 0, 1.00058, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.00044, 0, 0, 0, 0, 1.00058, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}83.333333%{-webkit-transform:matrix3d(1.00027, 0, 0, 0, 0, 1.00053, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.00027, 0, 0, 0, 0, 1.00053, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}85.416667%{-webkit-transform:matrix3d(1.00012, 0, 0, 0, 0, 1.00042, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.00012, 0, 0, 0, 0, 1.00042, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}87.5%{-webkit-transform:matrix3d(1, 0, 0, 0, 0, 1.00027, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1, 0, 0, 0, 0, 1.00027, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}89.583333%{-webkit-transform:matrix3d(0.99991, 0, 0, 0, 0, 1.00013, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.99991, 0, 0, 0, 0, 1.00013, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}91.666667%{-webkit-transform:matrix3d(0.99986, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.99986, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}93.75%{-webkit-transform:matrix3d(0.99983, 0, 0, 0, 0, 0.99991, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.99983, 0, 0, 0, 0, 0.99991, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}95.833333%{-webkit-transform:matrix3d(0.99982, 0, 0, 0, 0, 0.99985, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.99982, 0, 0, 0, 0, 0.99985, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}97.916667%{-webkit-transform:matrix3d(0.99983, 0, 0, 0, 0, 0.99984, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.99983, 0, 0, 0, 0, 0.99984, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}100%{-webkit-transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}}@keyframes animJelly{0%{-webkit-transform:matrix3d(0.7, 0, 0, 0, 0, 0.7, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.7, 0, 0, 0, 0, 0.7, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}2.083333%{-webkit-transform:matrix3d(0.75266, 0, 0, 0, 0, 0.76342, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.75266, 0, 0, 0, 0, 0.76342, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}4.166667%{-webkit-transform:matrix3d(0.81071, 0, 0, 0, 0, 0.84545, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.81071, 0, 0, 0, 0, 0.84545, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}6.25%{-webkit-transform:matrix3d(0.86808, 0, 0, 0, 0, 0.9286, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.86808, 0, 0, 0, 0, 0.9286, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}8.333333%{-webkit-transform:matrix3d(0.92038, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.92038, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}10.416667%{-webkit-transform:matrix3d(0.96482, 0, 0, 0, 0, 1.05202, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.96482, 0, 0, 0, 0, 1.05202, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}12.5%{-webkit-transform:matrix3d(1, 0, 0, 0, 0, 1.08204, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1, 0, 0, 0, 0, 1.08204, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}14.583333%{-webkit-transform:matrix3d(1.02563, 0, 0, 0, 0, 1.09149, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.02563, 0, 0, 0, 0, 1.09149, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}16.666667%{-webkit-transform:matrix3d(1.04227, 0, 0, 0, 0, 1.08453, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.04227, 0, 0, 0, 0, 1.08453, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}18.75%{-webkit-transform:matrix3d(1.05102, 0, 0, 0, 0, 1.06666, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.05102, 0, 0, 0, 0, 1.06666, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}20.833333%{-webkit-transform:matrix3d(1.05334, 0, 0, 0, 0, 1.04355, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.05334, 0, 0, 0, 0, 1.04355, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}22.916667%{-webkit-transform:matrix3d(1.05078, 0, 0, 0, 0, 1.02012, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.05078, 0, 0, 0, 0, 1.02012, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}25%{-webkit-transform:matrix3d(1.04487, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.04487, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}27.083333%{-webkit-transform:matrix3d(1.03699, 0, 0, 0, 0, 0.98534, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.03699, 0, 0, 0, 0, 0.98534, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}29.166667%{-webkit-transform:matrix3d(1.02831, 0, 0, 0, 0, 0.97688, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.02831, 0, 0, 0, 0, 0.97688, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}31.25%{-webkit-transform:matrix3d(1.01973, 0, 0, 0, 0, 0.97422, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.01973, 0, 0, 0, 0, 0.97422, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}33.333333%{-webkit-transform:matrix3d(1.01191, 0, 0, 0, 0, 0.97618, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.01191, 0, 0, 0, 0, 0.97618, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}35.416667%{-webkit-transform:matrix3d(1.00526, 0, 0, 0, 0, 0.98122, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.00526, 0, 0, 0, 0, 0.98122, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}37.5%{-webkit-transform:matrix3d(1, 0, 0, 0, 0, 0.98773, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1, 0, 0, 0, 0, 0.98773, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}39.583333%{-webkit-transform:matrix3d(0.99617, 0, 0, 0, 0, 0.99433, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.99617, 0, 0, 0, 0, 0.99433, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}41.666667%{-webkit-transform:matrix3d(0.99368, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.99368, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}43.75%{-webkit-transform:matrix3d(0.99237, 0, 0, 0, 0, 1.00413, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.99237, 0, 0, 0, 0, 1.00413, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}45.833333%{-webkit-transform:matrix3d(0.99202, 0, 0, 0, 0, 1.00651, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.99202, 0, 0, 0, 0, 1.00651, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}47.916667%{-webkit-transform:matrix3d(0.99241, 0, 0, 0, 0, 1.00726, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.99241, 0, 0, 0, 0, 1.00726, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}50%{-webkit-transform:matrix3d(0.99329, 0, 0, 0, 0, 1.00671, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.99329, 0, 0, 0, 0, 1.00671, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}52.083333%{-webkit-transform:matrix3d(0.99447, 0, 0, 0, 0, 1.00529, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.99447, 0, 0, 0, 0, 1.00529, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}54.166667%{-webkit-transform:matrix3d(0.99577, 0, 0, 0, 0, 1.00346, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.99577, 0, 0, 0, 0, 1.00346, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}56.25%{-webkit-transform:matrix3d(0.99705, 0, 0, 0, 0, 1.0016, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.99705, 0, 0, 0, 0, 1.0016, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}58.333333%{-webkit-transform:matrix3d(0.99822, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.99822, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}60.416667%{-webkit-transform:matrix3d(0.99921, 0, 0, 0, 0, 0.99884, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.99921, 0, 0, 0, 0, 0.99884, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}62.5%{-webkit-transform:matrix3d(1, 0, 0, 0, 0, 0.99816, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1, 0, 0, 0, 0, 0.99816, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}64.583333%{-webkit-transform:matrix3d(1.00057, 0, 0, 0, 0, 0.99795, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.00057, 0, 0, 0, 0, 0.99795, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}66.666667%{-webkit-transform:matrix3d(1.00095, 0, 0, 0, 0, 0.99811, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.00095, 0, 0, 0, 0, 0.99811, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}68.75%{-webkit-transform:matrix3d(1.00114, 0, 0, 0, 0, 0.99851, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.00114, 0, 0, 0, 0, 0.99851, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}70.833333%{-webkit-transform:matrix3d(1.00119, 0, 0, 0, 0, 0.99903, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.00119, 0, 0, 0, 0, 0.99903, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}72.916667%{-webkit-transform:matrix3d(1.00114, 0, 0, 0, 0, 0.99955, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.00114, 0, 0, 0, 0, 0.99955, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}75%{-webkit-transform:matrix3d(1.001, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.001, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}77.083333%{-webkit-transform:matrix3d(1.00083, 0, 0, 0, 0, 1.00033, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.00083, 0, 0, 0, 0, 1.00033, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}79.166667%{-webkit-transform:matrix3d(1.00063, 0, 0, 0, 0, 1.00052, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.00063, 0, 0, 0, 0, 1.00052, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}81.25%{-webkit-transform:matrix3d(1.00044, 0, 0, 0, 0, 1.00058, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.00044, 0, 0, 0, 0, 1.00058, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}83.333333%{-webkit-transform:matrix3d(1.00027, 0, 0, 0, 0, 1.00053, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.00027, 0, 0, 0, 0, 1.00053, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}85.416667%{-webkit-transform:matrix3d(1.00012, 0, 0, 0, 0, 1.00042, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1.00012, 0, 0, 0, 0, 1.00042, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}87.5%{-webkit-transform:matrix3d(1, 0, 0, 0, 0, 1.00027, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1, 0, 0, 0, 0, 1.00027, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}89.583333%{-webkit-transform:matrix3d(0.99991, 0, 0, 0, 0, 1.00013, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.99991, 0, 0, 0, 0, 1.00013, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}91.666667%{-webkit-transform:matrix3d(0.99986, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.99986, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}93.75%{-webkit-transform:matrix3d(0.99983, 0, 0, 0, 0, 0.99991, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.99983, 0, 0, 0, 0, 0.99991, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}95.833333%{-webkit-transform:matrix3d(0.99982, 0, 0, 0, 0, 0.99985, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.99982, 0, 0, 0, 0, 0.99985, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}97.916667%{-webkit-transform:matrix3d(0.99983, 0, 0, 0, 0, 0.99984, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(0.99983, 0, 0, 0, 0, 0.99984, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}100%{-webkit-transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}}</style><meta content="Sharpen your JavaScript skills with quick, playful exercises. Earn XP, unlock badges, and level up your streak. Coding practice that finally feels like a game." dochead="1" name="description"/><link dochead="1" href="/_cdn/s3.amazonaws.com/edabit-images/logo_main_medium.png" rel="icon" type="image/png"/><meta charset="utf-8" dochead="1"/><meta content="coding challenges, programming challenges" dochead="1" name="keywords"/><meta content="summary_large_image" dochead="1" name="twitter:card"/><meta content="@praxide" dochead="1" name="twitter:site"/><meta content="Learn to code with fun, bite-sized challenges. Earn XP, unlock achievements and level up. It's like Duolingo for learning to code." dochead="1" property="og:description"/><meta content="/_cdn/s3.amazonaws.com/edabit-images/logo_wide_large.png" dochead="1" property="og:image"/><meta content="praxide" dochead="1" property="og:site_name"/><meta content="Learn to Code with 10,000+ Interactive Challenges" dochead="1" property="og:title"/><meta content="website" dochead="1" property="og:type"/><style data-captured-cssinjs="true">.s-alert-box, .s-alert-box * { box-sizing: border-box; }
.s-alert-box { position: fixed; background: rgba(42, 45, 50, 0.85); padding: 22px; line-height: 1.4; z-index: 1000; pointer-events: none; color: rgba(250, 251, 255, 0.95); font-size: 100%; font-family: "Helvetica Neue", "Segoe UI", Helvetica, Arial, sans-serif; transition: top 0.4s, bottom 0.4s; }
.s-alert-box.s-alert-show { pointer-events: auto; }
.s-alert-box a { color: inherit; opacity: 0.7; font-weight: 700; }
.s-alert-box a:hover, .s-alert-box a:focus { opacity: 1; }
.s-alert-box p { margin: 0px; }
.s-alert-box.s-alert-show, .s-alert-box.s-alert-visible { pointer-events: auto; }
.s-alert-bottom-left { inset: auto auto 30px 30px; }
.s-alert-top-left { inset: 30px auto auto 30px; }
.s-alert-top-right { inset: 30px 30px auto auto; }
.s-alert-bottom-right { inset: auto 30px 30px auto; }
.s-alert-bottom { width: 100%; max-width: 100%; inset: auto 0px 0px; }
.s-alert-top { width: 100%; max-width: 100%; inset: 0px 0px auto; }
.s-alert-info { background: rgb(41, 135, 205); color: rgb(255, 255, 255); }
.s-alert-success { background: rgb(45, 184, 75); color: rgb(255, 255, 255); }
.s-alert-warning { background: rgb(250, 188, 46); color: rgb(255, 255, 255); }
.s-alert-error { background: rgb(219, 40, 40); color: rgb(255, 255, 255); }
[class^="s-alert-effect-"].s-alert-hide, [class*=" s-alert-effect-"].s-alert-hide { animation-direction: reverse; }
.s-alert-box-height { visibility: hidden; position: fixed; }.s-alert-effect-jelly a { color: rgb(255, 255, 255); }
.s-alert-effect-jelly a:hover, .s-alert-effect-jelly a:focus { color: rgb(255, 255, 255); }
.s-alert-effect-jelly .s-alert-close::before, .s-alert-effect-jelly .s-alert-close::after { background: rgb(255, 255, 255); }
.s-alert-effect-jelly .s-alert-close:hover::before, .s-alert-effect-jelly .s-alert-close:hover::after { background: rgb(255, 255, 255); }
.s-alert-effect-jelly.s-alert-show { animation-name: animJelly; animation-duration: 1s; animation-timing-function: linear; }
.s-alert-effect-jelly.s-alert-hide { animation-name: animFade; animation-duration: 0.3s; }
@-webkit-keyframes animFade { 
  0% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes animFade { 
  0% { opacity: 0; }
  100% { opacity: 1; }
}
@-webkit-keyframes animJelly { 
  0% { transform: matrix3d(0.7, 0, 0, 0, 0, 0.7, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  2.08333% { transform: matrix3d(0.75266, 0, 0, 0, 0, 0.76342, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  4.16667% { transform: matrix3d(0.81071, 0, 0, 0, 0, 0.84545, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  6.25% { transform: matrix3d(0.86808, 0, 0, 0, 0, 0.9286, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  8.33333% { transform: matrix3d(0.92038, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  10.4167% { transform: matrix3d(0.96482, 0, 0, 0, 0, 1.05202, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  12.5% { transform: matrix3d(1, 0, 0, 0, 0, 1.08204, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  14.5833% { transform: matrix3d(1.02563, 0, 0, 0, 0, 1.09149, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  16.6667% { transform: matrix3d(1.04227, 0, 0, 0, 0, 1.08453, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  18.75% { transform: matrix3d(1.05102, 0, 0, 0, 0, 1.06666, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  20.8333% { transform: matrix3d(1.05334, 0, 0, 0, 0, 1.04355, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  22.9167% { transform: matrix3d(1.05078, 0, 0, 0, 0, 1.02012, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  25% { transform: matrix3d(1.04487, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  27.0833% { transform: matrix3d(1.03699, 0, 0, 0, 0, 0.98534, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  29.1667% { transform: matrix3d(1.02831, 0, 0, 0, 0, 0.97688, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  31.25% { transform: matrix3d(1.01973, 0, 0, 0, 0, 0.97422, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  33.3333% { transform: matrix3d(1.01191, 0, 0, 0, 0, 0.97618, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  35.4167% { transform: matrix3d(1.00526, 0, 0, 0, 0, 0.98122, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  37.5% { transform: matrix3d(1, 0, 0, 0, 0, 0.98773, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  39.5833% { transform: matrix3d(0.99617, 0, 0, 0, 0, 0.99433, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  41.6667% { transform: matrix3d(0.99368, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  43.75% { transform: matrix3d(0.99237, 0, 0, 0, 0, 1.00413, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  45.8333% { transform: matrix3d(0.99202, 0, 0, 0, 0, 1.00651, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  47.9167% { transform: matrix3d(0.99241, 0, 0, 0, 0, 1.00726, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  50% { transform: matrix3d(0.99329, 0, 0, 0, 0, 1.00671, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  52.0833% { transform: matrix3d(0.99447, 0, 0, 0, 0, 1.00529, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  54.1667% { transform: matrix3d(0.99577, 0, 0, 0, 0, 1.00346, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  56.25% { transform: matrix3d(0.99705, 0, 0, 0, 0, 1.0016, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  58.3333% { transform: matrix3d(0.99822, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  60.4167% { transform: matrix3d(0.99921, 0, 0, 0, 0, 0.99884, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  62.5% { transform: matrix3d(1, 0, 0, 0, 0, 0.99816, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  64.5833% { transform: matrix3d(1.00057, 0, 0, 0, 0, 0.99795, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  66.6667% { transform: matrix3d(1.00095, 0, 0, 0, 0, 0.99811, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  68.75% { transform: matrix3d(1.00114, 0, 0, 0, 0, 0.99851, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  70.8333% { transform: matrix3d(1.00119, 0, 0, 0, 0, 0.99903, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  72.9167% { transform: matrix3d(1.00114, 0, 0, 0, 0, 0.99955, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  75% { transform: matrix3d(1.001, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  77.0833% { transform: matrix3d(1.00083, 0, 0, 0, 0, 1.00033, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  79.1667% { transform: matrix3d(1.00063, 0, 0, 0, 0, 1.00052, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  81.25% { transform: matrix3d(1.00044, 0, 0, 0, 0, 1.00058, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  83.3333% { transform: matrix3d(1.00027, 0, 0, 0, 0, 1.00053, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  85.4167% { transform: matrix3d(1.00012, 0, 0, 0, 0, 1.00042, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  87.5% { transform: matrix3d(1, 0, 0, 0, 0, 1.00027, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  89.5833% { transform: matrix3d(0.99991, 0, 0, 0, 0, 1.00013, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  91.6667% { transform: matrix3d(0.99986, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  93.75% { transform: matrix3d(0.99983, 0, 0, 0, 0, 0.99991, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  95.8333% { transform: matrix3d(0.99982, 0, 0, 0, 0, 0.99985, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  97.9167% { transform: matrix3d(0.99983, 0, 0, 0, 0, 0.99984, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  100% { transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
}
@keyframes animJelly { 
  0% { transform: matrix3d(0.7, 0, 0, 0, 0, 0.7, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  2.08333% { transform: matrix3d(0.75266, 0, 0, 0, 0, 0.76342, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  4.16667% { transform: matrix3d(0.81071, 0, 0, 0, 0, 0.84545, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  6.25% { transform: matrix3d(0.86808, 0, 0, 0, 0, 0.9286, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  8.33333% { transform: matrix3d(0.92038, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  10.4167% { transform: matrix3d(0.96482, 0, 0, 0, 0, 1.05202, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  12.5% { transform: matrix3d(1, 0, 0, 0, 0, 1.08204, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  14.5833% { transform: matrix3d(1.02563, 0, 0, 0, 0, 1.09149, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  16.6667% { transform: matrix3d(1.04227, 0, 0, 0, 0, 1.08453, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  18.75% { transform: matrix3d(1.05102, 0, 0, 0, 0, 1.06666, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  20.8333% { transform: matrix3d(1.05334, 0, 0, 0, 0, 1.04355, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  22.9167% { transform: matrix3d(1.05078, 0, 0, 0, 0, 1.02012, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  25% { transform: matrix3d(1.04487, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  27.0833% { transform: matrix3d(1.03699, 0, 0, 0, 0, 0.98534, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  29.1667% { transform: matrix3d(1.02831, 0, 0, 0, 0, 0.97688, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  31.25% { transform: matrix3d(1.01973, 0, 0, 0, 0, 0.97422, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  33.3333% { transform: matrix3d(1.01191, 0, 0, 0, 0, 0.97618, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  35.4167% { transform: matrix3d(1.00526, 0, 0, 0, 0, 0.98122, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  37.5% { transform: matrix3d(1, 0, 0, 0, 0, 0.98773, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  39.5833% { transform: matrix3d(0.99617, 0, 0, 0, 0, 0.99433, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  41.6667% { transform: matrix3d(0.99368, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  43.75% { transform: matrix3d(0.99237, 0, 0, 0, 0, 1.00413, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  45.8333% { transform: matrix3d(0.99202, 0, 0, 0, 0, 1.00651, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  47.9167% { transform: matrix3d(0.99241, 0, 0, 0, 0, 1.00726, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  50% { transform: matrix3d(0.99329, 0, 0, 0, 0, 1.00671, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  52.0833% { transform: matrix3d(0.99447, 0, 0, 0, 0, 1.00529, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  54.1667% { transform: matrix3d(0.99577, 0, 0, 0, 0, 1.00346, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  56.25% { transform: matrix3d(0.99705, 0, 0, 0, 0, 1.0016, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  58.3333% { transform: matrix3d(0.99822, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  60.4167% { transform: matrix3d(0.99921, 0, 0, 0, 0, 0.99884, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  62.5% { transform: matrix3d(1, 0, 0, 0, 0, 0.99816, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  64.5833% { transform: matrix3d(1.00057, 0, 0, 0, 0, 0.99795, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  66.6667% { transform: matrix3d(1.00095, 0, 0, 0, 0, 0.99811, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  68.75% { transform: matrix3d(1.00114, 0, 0, 0, 0, 0.99851, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  70.8333% { transform: matrix3d(1.00119, 0, 0, 0, 0, 0.99903, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  72.9167% { transform: matrix3d(1.00114, 0, 0, 0, 0, 0.99955, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  75% { transform: matrix3d(1.001, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  77.0833% { transform: matrix3d(1.00083, 0, 0, 0, 0, 1.00033, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  79.1667% { transform: matrix3d(1.00063, 0, 0, 0, 0, 1.00052, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  81.25% { transform: matrix3d(1.00044, 0, 0, 0, 0, 1.00058, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  83.3333% { transform: matrix3d(1.00027, 0, 0, 0, 0, 1.00053, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  85.4167% { transform: matrix3d(1.00012, 0, 0, 0, 0, 1.00042, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  87.5% { transform: matrix3d(1, 0, 0, 0, 0, 1.00027, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  89.5833% { transform: matrix3d(0.99991, 0, 0, 0, 0, 1.00013, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  91.6667% { transform: matrix3d(0.99986, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  93.75% { transform: matrix3d(0.99983, 0, 0, 0, 0, 0.99991, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  95.8333% { transform: matrix3d(0.99982, 0, 0, 0, 0, 0.99985, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  97.9167% { transform: matrix3d(0.99983, 0, 0, 0, 0, 0.99984, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
  100% { transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
}</style><style>*,*::before,*::after{animation-duration:0s!important;animation-delay:0s!important;transition-duration:0s!important;transition-delay:0s!important;scroll-behavior:auto!important;caret-color:transparent!important}</style></head>
<body>
<iframe aria-hidden="true" id="_hjSafeContext_27700700" src="/challenges/javascript/about:blank" style="display: none !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important;" tabindex="-1" title="_hjSafeContext"></iframe><div id="react-root"><div id="MainLayout"><header><div class="nav-shadow" style="background-color: rgb(45, 184, 75);"><div class="ui inverted text attached menu"><div class="ui container" style="height: 65px;"><a class="active link item edabit-logo" href="/." style="margin-top: 4px; margin-left: -18px; font-weight: 600;">praxide</a><a class="link item navbar-item" href="/tutorials" style="font-size: 1.15rem; font-weight: 500; letter-spacing: 0.02em;"><span>Tutorials</span></a><a class="active link item navbar-item" href="/challenges" style="font-size: 1.15rem; font-weight: 500; letter-spacing: 0.02em; padding-bottom: 5px; border-bottom: 2px solid rgb(247, 247, 247);"><span>Challenges</span></a><a class="link item navbar-item" href="/practice" style="font-size: 1.15rem; font-weight: 500; letter-spacing: 0.02em;"><span>Practice</span></a><a class="link item navbar-item" href="/shuffle" style="font-size: 1.15rem; font-weight: 500; letter-spacing: 0.02em;"><span>Shuffle</span></a><div class="right menu"><div class="item"><button class="ui inverted button" role="button"><span>Sign In</span></button></div><div class="item"><button class="ui inverted button" role="button"><span>Register</span></button></div></div></div></div></div></header><main id="Main"><div class="ui container" style="margin-bottom: 20px;"><div class="ui doubling stackable two column grid" style="margin-top: 3px;"><div class="four wide column"><form class="ui form no-highlight" style="margin-top: 6px;"><div class="field"><div class="field"><div aria-expanded="false" class="ui fluid selection dropdown" role="listbox" tabindex="0"><div aria-live="polite" class="text" role="alert">JavaScript</div><i aria-hidden="true" class="dropdown icon"></i><div class="menu transition"><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">C#</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">C++</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Java</div><div aria-checked="true" aria-selected="true" class="active selected item" role="option" style="pointer-events: all;">JavaScript</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">PHP</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Python</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Ruby</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Swift</div></div></div></div></div><div class="field"><div class="field"><div aria-expanded="false" class="ui fluid selection dropdown" role="listbox" style="margin-top: -2px;" tabindex="0"><div aria-live="polite" class="text" role="alert">Very Easy</div><i aria-hidden="true" class="dropdown icon"></i><div class="menu transition"><div aria-checked="false" aria-selected="true" class="selected item" role="option" style="pointer-events: all;">Very Easy</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Easy</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Medium</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Hard</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Very Hard</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Expert</div></div></div></div></div><div class="field"><div class="field"><div aria-expanded="false" class="ui fluid search selection dropdown" role="combobox" style="margin-top: -2px; margin-bottom: -2px;"><input aria-autocomplete="list" autocomplete="off" class="search" tabindex="0" type="text" value=""/><div aria-live="polite" class="default text" role="alert">Tags (optional)</div><i aria-hidden="true" class="dropdown icon"></i><div class="menu transition" role="listbox"><div aria-checked="false" aria-selected="true" class="selected item" role="option" style="pointer-events: all;">Algebra</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Algorithms</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Arrays</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Bit Operations</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Bug Fixes</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Classes</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Closures</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Conditions</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Control Flow</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Cryptography</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Data Structures</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Dates</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Formatting</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Functional Programming</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Games</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Geometry</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Higher Order Functions</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Interview</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Language Fundamentals</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Logic</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Loops</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Math</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Numbers</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Objects</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Physics</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Recursion</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Regex</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Scope</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Sorting</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Strings</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Validation</div></div></div></div></div></form><div class="no-highlight hide-complete" style="color: rgb(224, 225, 226); cursor: not-allowed;"><div><span style="text-transform: uppercase; font-size: 11px; margin-left: 5px;"><span>Hide complete</span></span><div class="disabled field float-right"><div class="ui disabled fitted toggle checkbox"><input class="hidden" readonly="" tabindex="-1" type="checkbox" value="on"/><label></label></div></div></div></div><div style="margin-top: 26px;"><div class="no-highlight hidden-small"><svg class="react-calendar-heatmap" viewbox="0 0 175 90"><g class="react-calendar-heatmap-month-labels" transform="translate(0, 0)"><text class="react-calendar-heatmap-month-label" x="22" y="10">Mar</text><text class="react-calendar-heatmap-month-label" x="77" y="10">Apr</text><text class="react-calendar-heatmap-month-label" x="121" y="10">May</text></g><g class="react-calendar-heatmap-all-weeks" transform="translate(0, 14)"><g class="react-calendar-heatmap-week" transform="translate(0, 0)"><rect class="color-empty" height="10" width="10" x="0" y="55"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="66"><title></title></rect></g><g class="react-calendar-heatmap-week" transform="translate(11, 0)"><rect class="color-empty" height="10" width="10" x="0" y="0"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="11"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="22"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="33"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="44"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="55"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="66"><title></title></rect></g><g class="react-calendar-heatmap-week" transform="translate(22, 0)"><rect class="color-empty" height="10" width="10" x="0" y="0"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="11"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="22"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="33"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="44"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="55"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="66"><title></title></rect></g><g class="react-calendar-heatmap-week" transform="translate(33, 0)"><rect class="color-empty" height="10" width="10" x="0" y="0"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="11"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="22"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="33"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="44"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="55"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="66"><title></title></rect></g><g class="react-calendar-heatmap-week" transform="translate(44, 0)"><rect class="color-empty" height="10" width="10" x="0" y="0"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="11"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="22"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="33"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="44"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="55"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="66"><title></title></rect></g><g class="react-calendar-heatmap-week" transform="translate(55, 0)"><rect class="color-empty" height="10" width="10" x="0" y="0"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="11"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="22"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="33"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="44"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="55"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="66"><title></title></rect></g><g class="react-calendar-heatmap-week" transform="translate(66, 0)"><rect class="color-empty" height="10" width="10" x="0" y="0"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="11"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="22"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="33"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="44"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="55"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="66"><title></title></rect></g><g class="react-calendar-heatmap-week" transform="translate(77, 0)"><rect class="color-empty" height="10" width="10" x="0" y="0"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="11"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="22"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="33"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="44"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="55"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="66"><title></title></rect></g><g class="react-calendar-heatmap-week" transform="translate(88, 0)"><rect class="color-empty" height="10" width="10" x="0" y="0"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="11"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="22"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="33"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="44"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="55"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="66"><title></title></rect></g><g class="react-calendar-heatmap-week" transform="translate(99, 0)"><rect class="color-empty" height="10" width="10" x="0" y="0"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="11"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="22"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="33"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="44"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="55"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="66"><title></title></rect></g><g class="react-calendar-heatmap-week" transform="translate(110, 0)"><rect class="color-empty" height="10" width="10" x="0" y="0"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="11"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="22"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="33"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="44"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="55"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="66"><title></title></rect></g><g class="react-calendar-heatmap-week" transform="translate(121, 0)"><rect class="color-empty" height="10" width="10" x="0" y="0"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="11"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="22"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="33"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="44"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="55"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="66"><title></title></rect></g><g class="react-calendar-heatmap-week" transform="translate(132, 0)"><rect class="color-empty" height="10" width="10" x="0" y="0"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="11"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="22"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="33"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="44"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="55"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="66"><title></title></rect></g><g class="react-calendar-heatmap-week" transform="translate(143, 0)"><rect class="color-empty" height="10" width="10" x="0" y="0"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="11"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="22"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="33"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="44"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="55"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="66"><title></title></rect></g><g class="react-calendar-heatmap-week" transform="translate(154, 0)"><rect class="color-empty" height="10" width="10" x="0" y="0"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="11"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="22"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="33"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="44"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="55"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="66"><title></title></rect></g><g class="react-calendar-heatmap-week" transform="translate(165, 0)"><rect class="color-empty" height="10" width="10" x="0" y="0"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="11"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="22"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="33"><title></title></rect><rect class="color-empty" height="10" width="10" x="0" y="44"><title></title></rect></g></g><g class="react-calendar-heatmap-weekday-labels" transform="translate(10, 14)"></g></svg></div></div><div class="hidden-small" style="margin-top: 20px; text-align: center;"><svg class="CircularProgressbar no-highlight" viewbox="0 0 100 100"><path class="CircularProgressbar-trail" d="
      M 50,50
      m 0,-48.5
      a 48.5,48.5 0 1 1 0,97
      a 48.5,48.5 0 1 1 0,-97
    " fill-opacity="0" stroke-width="3"></path><path class="CircularProgressbar-path" d="
      M 50,50
      m 0,-48.5
      a 48.5,48.5 0 1 1 0,97
      a 48.5,48.5 0 1 1 0,-97
    " fill-opacity="0" stroke-width="3" style="stroke-dasharray: 304.734px, 304.734px; stroke-dashoffset: 304.734px;"></path><text class="CircularProgressbar-text" x="50" y="50">Level 0</text></svg></div></div><div class="twelve wide column"><div style="margin-bottom: 15px; margin-top: 5px;"><div class="explore-message inf no-highlight"><i aria-hidden="true" class="red video play large icon" style="margin-right: 15px;"></i>See a quick demo of how Praxide works.<div class="message-button"><button class="ui blue tiny button" role="button">WATCH DEMO</button></div></div></div><div class="ui container"><div class="ui divided selection very relaxed middle aligned list" role="list"><div class="item no-highlight" role="listitem"><div class="right floated content"><div aria-expanded="false" class="ui simple top right pointing dropdown" role="listbox" style="margin-bottom: 30px; margin-top: 0px; padding-bottom: 3px;" tabindex="0"><div aria-live="polite" class="text" role="alert"></div><i aria-hidden="true" class="ellipsis horizontal large link icon"></i><div class="menu transition" style="margin-right: -4px; margin-top: 0px; min-width: 115px;"><div aria-disabled="true" class="disabled item" role="option">Add to bookmarks</div><div aria-disabled="true" class="disabled item" role="option">Add to collection</div></div></div></div><a class="content" href="/challenge/ARr5tA458o2tC9FTN"><h3 class="header">How Praxide Works</h3><div class="description" style="font-size: 1.05rem; min-height: 45px;">Here's a quick, friendly walkthrough of how challenges on Praxide work. In the Code tab above, you'll spot a starter function that looks just like this: function hello() { } All you have to do is drop return "hello praxide.com" between the curly braces { } and then tap the Check button. Get it right, and the button will light up red and …</div><div class="tags"><div class="ui small label">language_fundamentals</div><div class="ui small label">strings</div></div><div style="color: rgb(45, 184, 75); float: right; font-size: 12px; padding-right: 10px; padding-top: 11px;">Very Easy</div></a></div><div class="item no-highlight" role="listitem"><div class="right floated content"><div aria-expanded="false" class="ui simple top right pointing dropdown" role="listbox" style="margin-bottom: 30px; margin-top: 0px; padding-bottom: 3px;" tabindex="0"><div aria-live="polite" class="text" role="alert"></div><i aria-hidden="true" class="ellipsis horizontal large link icon"></i><div class="menu transition" style="margin-right: -4px; margin-top: 0px; min-width: 115px;"><div aria-disabled="true" class="disabled item" role="option">Add to bookmarks</div><div aria-disabled="true" class="disabled item" role="option">Add to collection</div></div></div></div><a class="content" href="/challenge/3LpBLgNRyaHMvNb4j"><h3 class="header">Sum Two Numbers and Return It</h3><div class="description" style="font-size: 1.05rem; min-height: 45px;">Build a function that accepts two numbers as its arguments and hands back their total. Examples addition(3, 2) ➞ 5 addition(-3, -6) ➞ -9 addition(7, 3) ➞ 10 Notes Remember to return your answer. Stuck on a challenge? Grab a quick hint in the Resources tab. Totally stuck? Reveal the answer in the Solutions tab.</div><div class="tags"><div class="ui small label">algebra</div><div class="ui small label">language_fundamentals</div><div class="ui small label">math</div><div class="ui small label">numbers</div></div><div style="color: rgb(45, 184, 75); float: right; font-size: 12px; padding-right: 10px; padding-top: 11px;">Very Easy</div></a></div><div class="item no-highlight" role="listitem"><div class="right floated content"><div aria-expanded="false" class="ui simple top right pointing dropdown" role="listbox" style="margin-bottom: 30px; margin-top: 0px; padding-bottom: 3px;" tabindex="0"><div aria-live="polite" class="text" role="alert"></div><i aria-hidden="true" class="ellipsis horizontal large link icon"></i><div class="menu transition" style="margin-right: -4px; margin-top: 0px; min-width: 115px;"><div aria-disabled="true" class="disabled item" role="option">Add to bookmarks</div><div aria-disabled="true" class="disabled item" role="option">Add to collection</div></div></div></div><a class="content" href="/challenge/8q54MKnRrm89pSLmW"><h3 class="header">Turn Minutes into Total Seconds</h3><div class="description" style="font-size: 1.05rem; min-height: 45px;">Create a function that receives an integer minutes and transforms it into seconds. Examples convert(5) ➞ 300 convert(3) ➞ 180 convert(2) ➞ 120 Notes Remember to return your answer. Feeling stuck on a challenge? Find a hint in the Resources tab. Really stuck? Unlock the answer in the Solutions tab.</div><div class="tags"><div class="ui small label">language_fundamentals</div><div class="ui small label">math</div><div class="ui small label">numbers</div></div><div style="color: rgb(45, 184, 75); float: right; font-size: 12px; padding-right: 10px; padding-top: 11px;">Very Easy</div></a></div><div class="item no-highlight" role="listitem"><div class="right floated content"><div aria-expanded="false" class="ui simple top right pointing dropdown" role="listbox" style="margin-bottom: 30px; margin-top: 0px; padding-bottom: 3px;" tabindex="0"><div aria-live="polite" class="text" role="alert"></div><i aria-hidden="true" class="ellipsis horizontal large link icon"></i><div class="menu transition" style="margin-right: -4px; margin-top: 0px; min-width: 115px;"><div aria-disabled="true" class="disabled item" role="option">Add to bookmarks</div><div aria-disabled="true" class="disabled item" role="option">Add to collection</div></div></div></div><a class="content" href="/challenge/NAQhEoxbofPidLxm9"><h3 class="header">Return the Value That Follows the Given Integer</h3><div class="description" style="font-size: 1.05rem; min-height: 45px;">Build a function that receives a number as its argument, adds +1 to it, and hands back the result. Examples addition(0) ➞ 1 addition(9) ➞ 10 addition(-3) ➞ -2 Notes Remember to return your answer. Whenever a challenge trips you up, look for guidance in the Resources tab. And if you're truly stuck, unlock solutions in the So …</div><div class="tags"><div class="ui small label">algebra</div><div class="ui small label">math</div><div class="ui small label">numbers</div></div><div style="color: rgb(45, 184, 75); float: right; font-size: 12px; padding-right: 10px; padding-top: 11px;">Very Easy</div></a></div><div class="item no-highlight" role="listitem"><div class="right floated content"><div aria-expanded="false" class="ui simple top right pointing dropdown" role="listbox" style="margin-bottom: 30px; margin-top: 0px; padding-bottom: 3px;" tabindex="0"><div aria-live="polite" class="text" role="alert"></div><i aria-hidden="true" class="ellipsis horizontal large link icon"></i><div class="menu transition" style="margin-right: -4px; margin-top: 0px; min-width: 115px;"><div aria-disabled="true" class="disabled item" role="option">Add to bookmarks</div><div aria-disabled="true" class="disabled item" role="option">Add to collection</div></div></div></div><a class="content" href="/challenge/3CaszbdZYGN4otQD8"><h3 class="header">Triangle Area Solver</h3><div class="description" style="font-size: 1.05rem; min-height: 45px;">Build a function that receives the base and height of a triangle and returns its area. Examples triArea(3, 2) ➞ 3 triArea(7, 4) ➞ 14 triArea(10, 10) ➞ 50 Notes A triangle's area equals: (base * height) / 2 Remember to return your answer. Whenever a challenge trips you up, find guidance in the Resources tab. And if you're really st …</div><div class="tags"><div class="ui small label">geometry</div><div class="ui small label">math</div><div class="ui small label">numbers</div></div><div style="color: rgb(45, 184, 75); float: right; font-size: 12px; padding-right: 10px; padding-top: 11px;">Very Easy</div></a></div><div class="item no-highlight" role="listitem"><div class="right floated content"><div aria-expanded="false" class="ui simple top right pointing dropdown" role="listbox" style="margin-bottom: 30px; margin-top: 0px; padding-bottom: 3px;" tabindex="0"><div aria-live="polite" class="text" role="alert"></div><i aria-hidden="true" class="ellipsis horizontal large link icon"></i><div class="menu transition" style="margin-right: -4px; margin-top: 0px; min-width: 115px;"><div aria-disabled="true" class="disabled item" role="option">Add to bookmarks</div><div aria-disabled="true" class="disabled item" role="option">Add to collection</div></div></div></div><a class="content" href="/challenge/bL7hSc6Zh4zZJzGmw"><h3 class="header">Change Age to Days</h3><div class="description" style="font-size: 1.05rem; min-height: 45px;">Build a function that receives an age in years and returns that age in days. Examples calcAge(65) ➞ 23725 calcAge(0) ➞ 0 calcAge(20) ➞ 7300 Notes Treat every year as 365 days for this challenge. Skip leap years and the days between the last birthday and today. Assume only positive integer inputs.</div><div class="tags"><div class="ui small label">algebra</div><div class="ui small label">algorithms</div><div class="ui small label">math</div></div><div style="color: rgb(45, 184, 75); float: right; font-size: 12px; padding-right: 10px; padding-top: 11px;">Very Easy</div></a></div><div class="item no-highlight" role="listitem"><div class="right floated content"><div aria-expanded="false" class="ui simple top right pointing dropdown" role="listbox" style="margin-bottom: 30px; margin-top: 0px; padding-bottom: 3px;" tabindex="0"><div aria-live="polite" class="text" role="alert"></div><i aria-hidden="true" class="ellipsis horizontal large link icon"></i><div class="menu transition" style="margin-right: -4px; margin-top: 0px; min-width: 115px;"><div aria-disabled="true" class="disabled item" role="option">Add to bookmarks</div><div aria-disabled="true" class="disabled item" role="option">Add to collection</div></div></div></div><a class="content" href="/challenge/j7yQbF3J3rToHsDBP"><h3 class="header">Fix the Bug (Part 1)</h3><div class="description" style="font-size: 1.05rem; min-height: 45px;">Repair the code in the code tab so it passes this challenge (only syntax errors). Study the examples below to understand what the function should do. Examples cubes(3) ➞ 27 cubes(5) ➞ 125 cubes(10) ➞ 1000 Notes READ EVERY WORD CAREFULLY, CHARACTER BY CHARACTER! Don't overthink this challenge; it's really not that hard.</div><div class="tags"><div class="ui small label">bugs</div><div class="ui small label">language_fundamentals</div></div><div style="color: rgb(45, 184, 75); float: right; font-size: 12px; padding-right: 10px; padding-top: 11px;">Very Easy</div></a></div><div class="item no-highlight" role="listitem"><div class="right floated content"><div aria-expanded="false" class="ui simple top right pointing dropdown" role="listbox" style="margin-bottom: 30px; margin-top: 0px; padding-bottom: 3px;" tabindex="0"><div aria-live="polite" class="text" role="alert"></div><i aria-hidden="true" class="ellipsis horizontal large link icon"></i><div class="menu transition" style="margin-right: -4px; margin-top: 0px; min-width: 115px;"><div aria-disabled="true" class="disabled item" role="option">Add to bookmarks</div><div aria-disabled="true" class="disabled item" role="option">Add to collection</div></div></div></div><a class="content" href="/challenge/QaApgtePE6QrCZ64o"><h3 class="header">Return the Leading Value of an Array</h3><div class="description" style="font-size: 1.05rem; min-height: 45px;">Build a function that receives an array holding only numbers and returns its first element. Examples getFirstValue([1, 2, 3]) ➞ 1 getFirstValue([80, 5, 100]) ➞ 80 getFirstValue([-500, 0, 50]) ➞ -500 Notes The first element in any array always sits at index 0.</div><div class="tags"><div class="ui small label">arrays</div><div class="ui small label">language_fundamentals</div></div><div style="color: rgb(45, 184, 75); float: right; font-size: 12px; padding-right: 10px; padding-top: 11px;">Very Easy</div></a></div><div class="item no-highlight" role="listitem"><div class="right floated content"><div aria-expanded="false" class="ui simple top right pointing dropdown" role="listbox" style="margin-bottom: 30px; margin-top: 0px; padding-bottom: 3px;" tabindex="0"><div aria-live="polite" class="text" role="alert"></div><i aria-hidden="true" class="ellipsis horizontal large link icon"></i><div class="menu transition" style="margin-right: -4px; margin-top: 0px; min-width: 115px;"><div aria-disabled="true" class="disabled item" role="option">Add to bookmarks</div><div aria-disabled="true" class="disabled item" role="option">Add to collection</div></div></div></div><a class="content" href="/challenge/wAdE9te55cowBLcPs"><h3 class="header">Compute the Power</h3><div class="description" style="font-size: 1.05rem; min-height: 45px;">Build a function that receives voltage and current and returns the resulting power. Examples circuitPower(230, 10) ➞ 2300 circuitPower(110, 3) ➞ 330 circuitPower(480, 20) ➞ 9600 Notes Needs the basic calculation of electrical circuits (see Resources for info).</div><div class="tags"><div class="ui small label">math</div><div class="ui small label">numbers</div></div><div style="color: rgb(45, 184, 75); float: right; font-size: 12px; padding-right: 10px; padding-top: 11px;">Very Easy</div></a></div><div class="item no-highlight" role="listitem"><div class="right floated content"><div aria-expanded="false" class="ui simple top right pointing dropdown" role="listbox" style="margin-bottom: 30px; margin-top: 0px; padding-bottom: 3px;" tabindex="0"><div aria-live="polite" class="text" role="alert"></div><i aria-hidden="true" class="ellipsis horizontal large link icon"></i><div class="menu transition" style="margin-right: -4px; margin-top: 0px; min-width: 115px;"><div aria-disabled="true" class="disabled item" role="option">Add to bookmarks</div><div aria-disabled="true" class="disabled item" role="option">Add to collection</div></div></div></div><a class="content" href="/challenge/6AnQqiEjkJdZrWhPS"><h3 class="header">Hours to Seconds Converter</h3><div class="description" style="font-size: 1.05rem; min-height: 45px;">Build a function that takes a number of hours and gives back the total seconds. Examples howManySeconds(2) ➞ 7200 howManySeconds(10) ➞ 36000 howManySeconds(24) ➞ 86400 Notes There are 60 seconds in a minute and 60 minutes in an hour.</div><div class="tags"><div class="ui small label">language_fundamentals</div><div class="ui small label">math</div><div class="ui small label">numbers</div></div><div style="color: rgb(45, 184, 75); float: right; font-size: 12px; padding-right: 10px; padding-top: 11px;">Very Easy</div></a></div><div class="item no-highlight" role="listitem"><div class="right floated content"><div aria-expanded="false" class="ui simple top right pointing dropdown" role="listbox" style="margin-bottom: 30px; margin-top: 0px; padding-bottom: 3px;" tabindex="0"><div aria-live="polite" class="text" role="alert"></div><i aria-hidden="true" class="ellipsis horizontal large link icon"></i><div class="menu transition" style="margin-right: -4px; margin-top: 0px; min-width: 115px;"><div aria-disabled="true" class="disabled item" role="option">Add to bookmarks</div><div aria-disabled="true" class="disabled item" role="option">Add to collection</div></div></div></div><a class="content" href="/challenge/nhXofMMyrowMyr9Nv"><h3 class="header">Longest Side of a Triangle</h3><div class="description" style="font-size: 1.05rem; min-height: 45px;">Write a function that works out the largest possible length for a triangle's third edge, given that every side is a whole number. Examples nextEdge(8, 10) ➞ 17 nextEdge(5, 7) ➞ 11 nextEdge(9, 2) ➞ 10 Notes (side1 + side2) - 1 = maximum range of third edge. Every side length of the triangle is a positive integer. Don't forget to return …</div><div class="tags"><div class="ui small label">algorithms</div><div class="ui small label">math</div><div class="ui small label">numbers</div></div><div style="color: rgb(45, 184, 75); float: right; font-size: 12px; padding-right: 10px; padding-top: 11px;">Very Easy</div></a></div><div class="item no-highlight" role="listitem"><div class="right floated content"><div aria-expanded="false" class="ui simple top right pointing dropdown" role="listbox" style="margin-bottom: 30px; margin-top: 0px; padding-bottom: 3px;" tabindex="0"><div aria-live="polite" class="text" role="alert"></div><i aria-hidden="true" class="ellipsis horizontal large link icon"></i><div class="menu transition" style="margin-right: -4px; margin-top: 0px; min-width: 115px;"><div aria-disabled="true" class="disabled item" role="option">Add to bookmarks</div><div aria-disabled="true" class="disabled item" role="option">Add to collection</div></div></div></div><a class="content" href="/challenge/Q2j5FTFtsk7PdzrQk"><h3 class="header">Find the Remainder of Two Numbers</h3><div class="description" style="font-size: 1.05rem; min-height: 45px;">JavaScript hands you a single operator that returns whatever is left over after a division. Two numbers arrive as parameters, and the first divided by the second leaves a remainder, which could well be zero. Send that value back. Examples remainder(1, 3) ➞ 1 remainder(3, 4) ➞ 3 remainder(-9, 45) ➞ -9 r …</div><div class="tags"><div class="ui small label">math</div><div class="ui small label">numbers</div></div><div style="color: rgb(45, 184, 75); float: right; font-size: 12px; padding-right: 10px; padding-top: 11px;">Very Easy</div></a></div><div class="item no-highlight" role="listitem"><div class="right floated content"><div aria-expanded="false" class="ui simple top right pointing dropdown" role="listbox" style="margin-bottom: 30px; margin-top: 0px; padding-bottom: 3px;" tabindex="0"><div aria-live="polite" class="text" role="alert"></div><i aria-hidden="true" class="ellipsis horizontal large link icon"></i><div class="menu transition" style="margin-right: -4px; margin-top: 0px; min-width: 115px;"><div aria-disabled="true" class="disabled item" role="option">Add to bookmarks</div><div aria-disabled="true" class="disabled item" role="option">Add to collection</div></div></div></div><a class="content" href="/challenge/XnJ24rWW7iJkNrtsh"><h3 class="header">Calculate a Rectangle's Perimeter</h3><div class="description" style="font-size: 1.05rem; min-height: 45px;">Build a function that accepts a length and a width, then returns the perimeter of a rectangle. Examples findPerimeter(6, 7) ➞ 26 findPerimeter(20, 10) ➞ 60 findPerimeter(2, 9) ➞ 22 Notes Remember to return the result. If you get stuck, look for hints in the Resources tab. If you're really stuck, check the Solutions tab.</div><div class="tags"><div class="ui small label">geometry</div><div class="ui small label">language_fundamentals</div><div class="ui small label">math</div><div class="ui small label">numbers</div></div><div style="color: rgb(45, 184, 75); float: right; font-size: 12px; padding-right: 10px; padding-top: 11px;">Very Easy</div></a></div><div class="item no-highlight" role="listitem"><div class="right floated content"><div aria-expanded="false" class="ui simple top right pointing dropdown" role="listbox" style="margin-bottom: 30px; margin-top: 0px; padding-bottom: 3px;" tabindex="0"><div aria-live="polite" class="text" role="alert"></div><i aria-hidden="true" class="ellipsis horizontal large link icon"></i><div class="menu transition" style="margin-right: -4px; margin-top: 0px; min-width: 115px;"><div aria-disabled="true" class="disabled item" role="option">Add to bookmarks</div><div aria-disabled="true" class="disabled item" role="option">Add to collection</div></div></div></div><a class="content" href="/challenge/MvZK536X7fyrWH8Qc"><h3 class="header">Give Me Something Back!</h3><div class="description" style="font-size: 1.05rem; min-height: 45px;">Create a function that glues the string "something" together with a space " " and whatever argument a you pass in. Examples giveMeSomething("is better than nothing") ➞ "something is better than nothing" giveMeSomething("Bob Jane") ➞ "something Bob Jane" giveMeSomething("something") ➞ "something something" Notes Assume an input is given.</div><div class="tags"><div class="ui small label">language_fundamentals</div><div class="ui small label">strings</div></div><div style="color: rgb(45, 184, 75); float: right; font-size: 12px; padding-right: 10px; padding-top: 11px;">Very Easy</div></a></div><div class="item no-highlight" role="listitem"><div class="right floated content"><div aria-expanded="false" class="ui simple top right pointing dropdown" role="listbox" style="margin-bottom: 30px; margin-top: 0px; padding-bottom: 3px;" tabindex="0"><div aria-live="polite" class="text" role="alert"></div><i aria-hidden="true" class="ellipsis horizontal large link icon"></i><div class="menu transition" style="margin-right: -4px; margin-top: 0px; min-width: 115px;"><div aria-disabled="true" class="disabled item" role="option">Add to bookmarks</div><div aria-disabled="true" class="disabled item" role="option">Add to collection</div></div></div></div><a class="content" href="/challenge/ks3vMrqdnW3CQ3F4i"><h3 class="header">Fix the Broken Code</h3><div class="description" style="font-size: 1.05rem; min-height: 45px;">Repair the code in the code tab so this challenge passes (only syntax errors). Study the examples below to get a sense of what the function should do. Examples squared(5) ➞ 25 squared(9) ➞ 81 squared(100) ➞ 10000 Notes READ EVERY WORD CAREFULLY, CHARACTER BY CHARACTER! Don't overthink this challenge; it's not supposed to be …</div><div class="tags"><div class="ui small label">algebra</div><div class="ui small label">bugs</div><div class="ui small label">language_fundamentals</div></div><div style="color: rgb(45, 184, 75); float: right; font-size: 12px; padding-right: 10px; padding-top: 11px;">Very Easy</div></a></div><div class="item no-highlight" role="listitem"><div class="right floated content"><div aria-expanded="false" class="ui simple top right pointing dropdown" role="listbox" style="margin-bottom: 30px; margin-top: 0px; padding-bottom: 3px;" tabindex="0"><div aria-live="polite" class="text" role="alert"></div><i aria-hidden="true" class="ellipsis horizontal large link icon"></i><div class="menu transition" style="margin-right: -4px; margin-top: 0px; min-width: 115px;"><div aria-disabled="true" class="disabled item" role="option">Add to bookmarks</div><div aria-disabled="true" class="disabled item" role="option">Add to collection</div></div></div></div><a class="content" href="/challenge/PTiLYyb4A69KZtBCg"><h3 class="header">Determine If a Number Is Zero or Below</h3><div class="description" style="font-size: 1.05rem; min-height: 45px;">Build a function that accepts a single number and hands back true whenever that value sits at zero or below, and false in every other situation. Examples lessThanOrEqualToZero(5) ➞ false lessThanOrEqualToZero(0) ➞ true lessThanOrEqualToZero(-2) ➞ true Notes Remember to actually return your answer, not just compute it. Stuck partway through a puzzle?</div><div class="tags"><div class="ui small label">conditions</div><div class="ui small label">language_fundamentals</div><div class="ui small label">validation</div></div><div style="color: rgb(45, 184, 75); float: right; font-size: 12px; padding-right: 10px; padding-top: 11px;">Very Easy</div></a></div><div class="item no-highlight" role="listitem"><div class="right floated content"><div aria-expanded="false" class="ui simple top right pointing dropdown" role="listbox" style="margin-bottom: 30px; margin-top: 0px; padding-bottom: 3px;" tabindex="0"><div aria-live="polite" class="text" role="alert"></div><i aria-hidden="true" class="ellipsis horizontal large link icon"></i><div class="menu transition" style="margin-right: -4px; margin-top: 0px; min-width: 115px;"><div aria-disabled="true" class="disabled item" role="option">Add to bookmarks</div><div aria-disabled="true" class="disabled item" role="option">Add to collection</div></div></div></div><a class="content" href="/challenge/fBJyQSe5Jmbm9hPAG"><h3 class="header">Add Up Polygon Angles</h3><div class="description" style="font-size: 1.05rem; min-height: 45px;">For a regular polygon that has n sides, calculate and return the combined measure of all its interior angles (in degrees). Examples sumPolygon(3) ➞ 180 sumPolygon(4) ➞ 360 sumPolygon(6) ➞ 720 Notes n will always be greater than 2. The formula (n - 2) x 180 gives the sum of all the measures of the angles of an n-sided polygon.</div><div class="tags"><div class="ui small label">functional_programming</div><div class="ui small label">math</div><div class="ui small label">numbers</div></div><div style="color: rgb(45, 184, 75); float: right; font-size: 12px; padding-right: 10px; padding-top: 11px;">Very Easy</div></a></div><div class="item no-highlight" role="listitem"><div class="right floated content"><div aria-expanded="false" class="ui simple top right pointing dropdown" role="listbox" style="margin-bottom: 30px; margin-top: 0px; padding-bottom: 3px;" tabindex="0"><div aria-live="polite" class="text" role="alert"></div><i aria-hidden="true" class="ellipsis horizontal large link icon"></i><div class="menu transition" style="margin-right: -4px; margin-top: 0px; min-width: 115px;"><div aria-disabled="true" class="disabled item" role="option">Add to bookmarks</div><div aria-disabled="true" class="disabled item" role="option">Add to collection</div></div></div></div><a class="content" href="/challenge/Y46Xp2pcvTB77bmdD"><h3 class="header">Basketball Scoring</h3><div class="description" style="font-size: 1.05rem; min-height: 45px;">You're keeping the scoreboard for a basketball game. Given how many 2-pointers and how many 3-pointers a team sank, add everything up and return the team's total score. Examples points(1, 1) ➞ 5 points(7, 5) ➞ 29 points(38, 8) ➞ 100 Notes N/A</div><div class="tags"><div class="ui small label">language_fundamentals</div><div class="ui small label">math</div><div class="ui small label">numbers</div></div><div style="color: rgb(45, 184, 75); float: right; font-size: 12px; padding-right: 10px; padding-top: 11px;">Very Easy</div></a></div><div class="item no-highlight" role="listitem"><div class="right floated content"><div aria-expanded="false" class="ui simple top right pointing dropdown" role="listbox" style="margin-bottom: 30px; margin-top: 0px; padding-bottom: 3px;" tabindex="0"><div aria-live="polite" class="text" role="alert"></div><i aria-hidden="true" class="ellipsis horizontal large link icon"></i><div class="menu transition" style="margin-right: -4px; margin-top: 0px; min-width: 115px;"><div aria-disabled="true" class="disabled item" role="option">Add to bookmarks</div><div aria-disabled="true" class="disabled item" role="option">Add to collection</div></div></div></div><a class="content" href="/challenge/ZNwHGgHvsdnYwJ5WK"><h3 class="header">Repair the Variable</h3><div class="description" style="font-size: 1.05rem; min-height: 45px;">A beginner picking up JavaScript set out to write a function. Their code is meant to join the string name it receives with the string "Praxide" and stash the outcome inside a variable named result. Something has gone wrong, so lend a hand and get it working. Examples nameString("Kiran") ➞ "KiranPraxide" nameString("Theo") ➞ "TheoPraxide" nameString("javaScript")</div><div class="tags"><div class="ui small label">bugs</div><div class="ui small label">functional_programming</div><div class="ui small label">language_fundamentals</div><div class="ui small label">strings</div></div><div style="color: rgb(45, 184, 75); float: right; font-size: 12px; padding-right: 10px; padding-top: 11px;">Very Easy</div></a></div><div class="item no-highlight" role="listitem"><div class="right floated content"><div aria-expanded="false" class="ui simple top right pointing dropdown" role="listbox" style="margin-bottom: 30px; margin-top: 0px; padding-bottom: 3px;" tabindex="0"><div aria-live="polite" class="text" role="alert"></div><i aria-hidden="true" class="ellipsis horizontal large link icon"></i><div class="menu transition" style="margin-right: -4px; margin-top: 0px; min-width: 115px;"><div aria-disabled="true" class="disabled item" role="option">Add to bookmarks</div><div aria-disabled="true" class="disabled item" role="option">Add to collection</div></div></div></div><a class="content" href="/challenge/9MjEpkL7yAjAqiH58"><h3 class="header">Sum Below 100?</h3><div class="description" style="font-size: 1.05rem; min-height: 45px;">Take two numbers and return true when they add up to something under 100, and return false when they don't. Examples lessThan100(22, 15) ➞ true // 22 + 15 = 37 lessThan100(83, 34) ➞ false // 83 + 34 = 117 lessThan100(3, 77) ➞ true Notes N/A</div><div class="tags"><div class="ui small label">language_fundamentals</div><div class="ui small label">math</div><div class="ui small label">validation</div></div><div style="color: rgb(45, 184, 75); float: right; font-size: 12px; padding-right: 10px; padding-top: 11px;">Very Easy</div></a></div></div><button class="ui fluid button" role="button"><span>LOAD MORE</span></button></div></div></div></div></main><footer id="Footer"><div class="ui container no-highlight" style="margin: 0px; padding: 0px;"><div class="ui fitted divider" style="margin-bottom: 20px;"></div><div class="ui horizontal right floated list" role="list"><a class="item fancy-link" href="/contact" role="listitem"><span>Contact</span></a><a class="item fancy-link" href="/_404.html" role="listitem" target="_blank"><span>Blog</span></a><a class="item fancy-link" href="/about" role="listitem"><span>About</span></a></div><div class="ui horizontal left floated list" role="list"><div class="disabled item" role="listitem">© 2021 Praxide, Inc</div><a class="item fancy-link" href="/docs/terms" role="listitem"><span>Terms</span></a><a class="item fancy-link" href="/docs/privacy" role="listitem"><span>Privacy</span></a><a class="item fancy-link" href="/roadmap" role="listitem"><span>Roadmap</span></a><a class="item fancy-link" href="/affiliates" role="listitem"><span>Affiliates</span></a><a class="item fancy-link" href="/help" role="listitem"><span>Help</span></a></div><div aria-expanded="false" class="ui button compact labeled upward dropdown icon" role="listbox" style="bottom: 0px; margin-bottom: 7px; min-width: 122px; position: fixed; right: 4px;" tabindex="0"><div aria-live="polite" class="text" role="alert">English</div><i aria-hidden="true" class="caret up icon"></i><div class="menu transition"><div aria-checked="true" aria-selected="true" class="active selected item" role="option" style="pointer-events: all;">English</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Español</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Français</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Deutsch</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Português</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">日本語</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">中文</div><div aria-checked="false" aria-selected="false" class="item" role="option" style="pointer-events: all;">Pусский</div></div></div></div></footer><div class="s-alert-wrapper"></div></div></div><script src="/cr-site.js"></script>
</body></html>