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: Week1/MAKEME.md
+11-3Lines changed: 11 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -210,13 +210,21 @@ It should include the following components:
210
210
211
211
### 1.7 Handing in your homework
212
212
213
+
To determine if your code will be accepted when you submit your homework as a pull request you need to ensure that it does not contain linting errors. Open a terminal window in VSCode and type the following command:
214
+
215
+
```
216
+
npm test
217
+
```
218
+
219
+
If any errors or warnings are reported by this command you need to fix them before submitting a pull request.
220
+
221
+
In addition, check for the following:
222
+
213
223
- Have you removed all commented out code (should never be present in a PR)?
214
-
- Have you used `const` and `let` and avoided `var`?
215
224
- Do the variable, function and argument names you created follow the [Naming Conventions](../../../../fundamentals/blob/master/fundamentals/naming_conventions.md)?
216
225
- Is your code well-formatted (see [Code Formatting](../../../../fundamentals/blob/master/fundamentals/code_formatting.md))?
217
-
- Have you resolved all issues flagged by ESLint and the spell checker (no wavy red and green underlines in VSCode)?
218
226
219
-
If the answer is 'yes' to all preceding questions you are ready to follow these instructions:
227
+
If the answer is 'yes' to the preceding questions you are ready to follow these instructions:
@@ -35,9 +34,9 @@ The homework for week 2 will build on the work you did in week 1. You will creat
35
34
1. Make sure that you committed all changes in the week 1 version of your homework.
36
35
2. Create a new `week2` branch:
37
36
38
-
```
39
-
git checkout -b week2
40
-
```
37
+
```
38
+
git checkout -b week2
39
+
```
41
40
42
41
### 3.2 Assignment
43
42
@@ -50,19 +49,27 @@ You will continue to work on the files `index.js` and (possibly) `style.css`.
50
49
51
50
### 3.3 Handing in your homework
52
51
52
+
To determine if your code will be accepted when you submit your homework as a pull request you need to ensure that it does not contain linting errors. Open a terminal window in VSCode and type the following command:
53
+
54
+
```
55
+
npm test
56
+
```
57
+
58
+
If any errors or warnings are reported by this command you need to fix them before submitting a pull request.
59
+
60
+
In addition, check for the following:
61
+
53
62
- Have you removed all commented out code (should never be present in a PR)?
54
-
- Have you used `const` and `let` and avoided `var`?
55
63
- Do the variable, function and argument names you created follow the [Naming Conventions](../../../../fundamentals/blob/master/fundamentals/naming_conventions.md)?
56
-
- Is your code well-formatted (see [Code Formatting](../../../../fundamentals/blob/master/fundamentals/naming_conventions.md))?
57
-
- Have you resolved all issues flagged by ESLint and the spell checker (no wavy red and green underlines in VSCode)?
64
+
- Is your code well-formatted (see [Code Formatting](../../../../fundamentals/blob/master/fundamentals/code_formatting.md))?
58
65
59
-
If the answer is 'yes' to all preceding questions you are ready to follow these instructions:
66
+
If the answer is 'yes' to the preceding questions you are ready to follow these instructions:
60
67
61
68
1. Push your `week2` branch to GitHub:
62
69
63
-
```
64
-
git push -u origin week2
65
-
```
70
+
```
71
+
git push -u origin week2
72
+
```
66
73
67
74
2. Create a pull request for your `week2` branch.
68
75
@@ -74,4 +81,3 @@ Note:
74
81
## Step 4: Read before next lecture
75
82
76
83
Go through the reading material in the [README.md](../Week3/README.md) to prepare for your next class.
Copy file name to clipboardExpand all lines: Week3/MAKEME.md
+12-4Lines changed: 12 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -80,13 +80,21 @@ For the GitHub application ARIA-compliance means that the Contributors list shou
80
80
81
81
#### 2.2.4 Handing in your homework
82
82
83
+
To determine if your code will be accepted when you submit your homework as a pull request you need to ensure that it does not contain linting errors. Open a terminal window in VSCode and type the following command:
84
+
85
+
```
86
+
npm test
87
+
```
88
+
89
+
If any errors or warnings are reported by this command you need to fix them before submitting a pull request.
90
+
91
+
In addition, check for the following:
92
+
83
93
- Have you removed all commented out code (should never be present in a PR)?
84
-
- Have you used `const` and `let` and avoided `var`?
85
94
- Do the variable, function and argument names you created follow the [Naming Conventions](../../../../fundamentals/blob/master/fundamentals/naming_conventions.md)?
86
-
- Is your code well-formatted (see [Code Formatting](../../../../fundamentals/blob/master/fundamentals/naming_conventions.md))?
87
-
- Have you resolved all issues flagged by ESLint and the spell checker (no wavy red and green underlines in VSCode)?
95
+
- Is your code well-formatted (see [Code Formatting](../../../../fundamentals/blob/master/fundamentals/code_formatting.md))?
88
96
89
-
If the answer is 'yes' to all preceding questions you are ready to follow these instructions:
97
+
If the answer is 'yes' to the preceding questions you are ready to follow these instructions:
0 commit comments