Platform
Resources
Pricing
Sign in
Contact us
mmakutonin
Workspace
Fork
Published
IT-280B SP'20
By
mmakutonin
Edited
Feb 4, 2020
Fork of
Sep 4: Arrays and HTML Project
•
21 forks
IT-280B SP'20
Lesson 1: Syllabus & Intro to Basic Math:
Lesson 2: Variables, Types, and Boolean Algebra
Lesson 3: Type Coercion / Conversion, Plus Comparisons
Lesson 4: if, for, while, and some functions
Lesson 5: Objects and More Function Basics!
Lesson 6: Arrays and HTML Project
Lesson 7: Advanced Functions I: Closures, IIFEs, Factory Functions, and Modules
Lesson 8: Advanced Primitives
Lesson 9: Application Programming Interfaces (APIs)
Lesson 10: Advanced Functions II: Promises, Async/Await
Lesson 11: Advanced Functions III: Higher Order Functions (HOFs)
Lesson 12: Advanced Objects I: Prototypes
Lesson 13: Advanced Functions IV: Advanced this(Bind, Call, Apply), and Function===Object
Lesson 14: Advanced Objects II: Classes
Lesson 4-3 Class Inheritance
Lesson 16: Advanced Functions 5: Arrow Functions and Default Function Parameters, and functional ...rest
Lesson 17: let and const
Lesson 18: Review time!
Lesson 19: Export/Import
Lesson 20: Intro to React, React Native, and Expo (React Day 1)
Lesson 21: React Day 2: this.props and React Event Handling
Lesson 22: React Day 3: Lifting this.state up
Lesson 23: Scrum
Workshop #1: UX/UI Best Practices and Trends
Insert cell
Insert cell
Insert cell
function
mystery
(
input
)
{
var
ret
=
""
input
++
for
(
var
i
=
0
;
i
<
20
;
i
++
)
{
input
--
}
while
(
input
>
0
)
{
ret
=
ret
+
(
input
==
true
)
+
" "
input
=
input
-
5
}
return
ret
}
Insert cell
function
mysteryObject
(
)
{
var
ret
=
{
name
:
'Sammy'
,
money
:
-
10000
,
occupation
:
'Student'
,
mood
:
'Sad'
}
if
(
ret
.
money
>
0
)
{
ret
.
mood
=
'relieved'
}
else
{
ret
.
mood
=
'still sad'
}
ret
.
getMoney
=
function
(
)
{
this
.
money
=
this
.
money
+
1000
return
this
.
money
}
return
ret
}
Insert cell
function
blackBox
(
input1
,
input2
)
{
var
obj
=
{
name
:
input1
,
isCrazy
:
input2
,
getsLoopyOnFrootLoops
:
function
(
cerealBrand
)
{
if
(
cerealBrand
===
'Froot Loops'
&&
this
.
isCrazy
===
true
)
return
true
;
return
false
;
}
}
return
obj
;
}
Insert cell
Insert cell
{
var
orderedNumberList
=
{
first
:
1
,
second
:
2
,
third
:
3
,
fourth
:
4
,
fifth
:
5
,
sixth
:
6
,
seventh
:
7
,
eighth
:
8
,
ninth
:
9
,
tenth
:
10
}
return
orderedNumberList
;
}
Insert cell
Insert cell
orderedNumberList
=
[
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
,
10
]
Insert cell
otherArray
=
[
2
,
1
,
3
,
4
,
5
,
6
,
7
,
8
,
9
,
10
]
Insert cell
Insert cell
orderedNumberList
.
indexOf
(
4
)
;
Insert cell
orderedNumberList
[
2
]
Insert cell
Insert cell
{
var
orderedNumberList
=
[
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
,
10
]
return
orderedNumberList
[
9
]
;
}
Insert cell
Insert cell
wonkyArray
=
[
"bob"
,
-
2.5
,
true
,
"Solly the Sexy Saxaphone"
]
Insert cell
Insert cell
emptyArray
=
[
]
//this is how we declare an empty array
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
theirArmy
=
[
"dog1"
,
"dog2"
,
"dog3"
,
"dog4"
]
//do not change
Insert cell
ourArmy
=
[
"superKitty"
]
//do not change
Insert cell
Insert cell
allAnimals
=
ourArmy
+
theirArmy
Insert cell
Insert cell
allAnimalsII
=
allAnimals
.
addDoggo
(
"superDoggo"
)
Insert cell
Insert cell
allAnimalsIII
=
allAnimalsII
.
findIndexOfSuperKitty
(
)
Insert cell
Insert cell
allAnimalsIV
=
allAnimalsII
.
removeThatSuperDoggoCuzITypoedHisNameO
(
)
Insert cell
Insert cell
Insert cell
Insert cell
Purpose-built for displays of data
Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Try it for free
Learn more
Compare fork
Fork
View
Export
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
mystery
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
mysteryObject
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
blackBox
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
orderedNumberList
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
otherArray
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
wonkyArray
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
emptyArray
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
theirArmy
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
ourArmy
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
allAnimals
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
allAnimalsII
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
allAnimalsIII
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
allAnimalsIV
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML