You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: javascript1/week3/homework.md
+2-49Lines changed: 2 additions & 49 deletions
Original file line number
Diff line number
Diff line change
@@ -1,29 +1,5 @@
1
1
# Homework
2
2
3
-
### Get git ready to work on homework
4
-
5
-
Using the `hyf-homework` repo. In the terminal run `git status`
6
-
7
-
If there are changes that have not been committed, figure out what to do with those changes
8
-
9
-
- Should they be committed to another branch?
10
-
- Should they be committed to `master`?
11
-
- Should they be discarded?
12
-
13
-
When you have figured out what to do with the changes and fixed those. Write `git status` again. If it says `nothing to commit, working tree clean`. Then you are ready to create the branch for this weeks homework.
14
-
15
-
#### Creating the branch
16
-
17
-
Using the `hyf-homework` repo write this command
18
-
19
-
`git checkout master` - You are now on the `master` branch
20
-
21
-
`git checkout -b javascript-javascript1-week3`
22
-
23
-
This will create and checkout the branch so you are ready make commits to it
24
-
25
-
[This video](https://www.youtube.com/watch?v=JcT4wmK1VcA) can help. On slack use the #git-support channel to ask questions about git
26
-
27
3
## Why should i even do this homework?
28
4
29
5
Array's has lots of helper functions, that is used all the time when developing js applications. It is super helpful to be able to **manipulate an array** like **removing elements** or **adding elements** at specific indexes. Another helpful function of arrays is to know **where a specific item is** in the array.
Please add your freecodecamp username as answer for this exercise!
54
-
55
20
---
56
21
57
22
### Item array removal
@@ -158,7 +123,7 @@ function logOutSeriesText() {
158
123
logOutSeriesText(); // logs out the text found above
159
124
```
160
125
161
-
## Step 3: Smart-ease - Back to the basics!
126
+
## Smart-ease - Back to the basics!
162
127
163
128
Smart-ease is going back to the basics. As always Smart-ease starts by helping people fix their problems. So lets venture out into the real world and see what we find:
164
129
@@ -291,23 +256,11 @@ Optional
291
256
292
257
---
293
258
294
-
## Step 4 bonus homework
259
+
## Bonus homework
295
260
296
261
The bonus homework for this week (for those of you want an extra challenge) do the following:
0 commit comments