Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cb7b387

Browse files
committed
minor updates to enable homework via PR
1 parent 632247e commit cb7b387

File tree

13 files changed

+38
-30
lines changed

13 files changed

+38
-30
lines changed

Week1/homework/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<!-- replace this with your HTML content -->

Week1/homework/style.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/* add your styling here */

Week2/MAKEME.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,6 @@ Follow these steps. Each step should build on the result of the previous step.
104104
- Choose variable and parameters names that most accurately describe their contents or purpose. When naming an array, use a plural form, e.g. `durations`. For a single item, use a singular form, e.g. `duration`. For details, see [Naming Conventions](https://github.com/HackYourFuture/fundamentals/blob/master/fundamentals/naming_conventions.md).
105105
- Don't forget to use `=>`.
106106

107-
108-
109107
## Step 3: ROVER
110108

111109
Finish up to chapter 7: JSON on [roverjs.com](http://roverjs.com/)!
File renamed without changes.
File renamed without changes.

Week3/homework/3-step3.js

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
'use strict';
2+
3+
// use a 'for' loop
4+
function repeatStringNumTimesWithFor(str, num) {
5+
// add your code here
6+
return str;
7+
}
8+
9+
console.log('for', repeatStringNumTimesWithFor('abc', 3));
10+
11+
// use a 'while' loop
12+
function repeatStringNumTimesWithWhile(str, num) {
13+
// add your code here
14+
return str;
15+
}
16+
17+
console.log('while', repeatStringNumTimesWithWhile('abc', 3));
18+
19+
// use a 'do...while' loop
20+
function repeatStringNumTimesWithDoWhile(str, num) {
21+
// add your code here
22+
return str;
23+
}
24+
25+
console.log('while', repeatStringNumTimesWithDoWhile('abc', 3));

Week3/homework/4-step3.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
'use strict';
2+
// paste your freeCodeCamp solutions in here

Week3/homework/5-step3.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
'use strict';
2+
// paste your freeCodeCamp solutions in here

Week3/homework/6-step3.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
'use strict';
2+
3+
const arr2d = [[1, 2], [3, 4], [5, 6]];
4+
const arr3d = [[[1, 2], [3, 4]], [[5, 6], [7, 8]]];
5+
6+
// add your solution here, or add a comment on how you would tackle this problem

Week3/homework/step3-3-7.js renamed to Week3/homework/7-step3.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,5 @@ f2(y);
2121

2222
console.log(y);
2323

24-
/*
25-
Add your explanation as a comment here:
24+
// Add your explanation as a comment here
2625

27-
28-
*/

Week3/homework/step3-3-1.js

Lines changed: 0 additions & 8 deletions
This file was deleted.

Week3/homework/step3-3-2.js

Lines changed: 0 additions & 8 deletions
This file was deleted.

Week3/homework/step3-3-3.js

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)