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

Skip to content

Commit 13a5eaa

Browse files
authored
typo fixes
1 parent 42dc1b0 commit 13a5eaa

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

javascript1/week4/homework.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,20 @@ You will be building a voice assistant 🤖! Is that even possible in javascript
1212
Create a function called `getReply(command)`. The function should return a response that corresponds to the command!
1313

1414
These are the commands you should be able to give the voice assistant:
15-
- `Hello my name is Benjamin` - Should save the name benjamin. and respond with "nice to meet you Benjamin" What if someone writes this twice?
16-
- `What is my name` - should respond with the name of the person. What if the name has not yes been mentioned?
15+
- `Hello my name is Benjamin` - Should save the name benjamin. and respond with "nice to meet you Benjamin". What if someone writes this twice?
16+
- `What is my name` - should respond with the name of the person. What if the name has not yet been mentioned?
1717
- `Add fishing to my todo` - Should respond with "fishing added to your todo". Should add fishing to a list of todos
18-
- `Add singing in the shower to my todo` - Should add shinging in the shower to a list of todos
19-
- `Remove fishing from my todo` - Should respond with "Removed finshin form your todo"
20-
- `What is on my todo?` - should repond with the todos. Fx you have 2 todos - fishing and singing in the shower
21-
- `What day is it today?` - Should respond with the date in a human readable format. Fx if today is 30/8-2019 then it should respond with 30. of august 2019
18+
- `Add singing in the shower to my todo` - Should add singing in the shower to a list of todos
19+
- `Remove fishing from my todo` - Should respond with "Removed fishing from your todo"
20+
- `What is on my todo?` - should respond with the todos. Fx you have 2 todos - fishing and singing in the shower
21+
- `What day is it today?` - Should respond with the date in a human readable format. E.g. if today is 30/8/2019 then it should respond with 30. of August 2019
2222
- Should be able to do simple math. fx `what is 3 + 3` should respond with 6. Or `what is 4 * 12` should respond with 48
23-
- `My favorite dish is spaghetti` - should save the users favorite dish as lasagne.
23+
- `My favorite dish is lasagne` - should save the user's favorite dish as lasagne.
2424
- `What is my favorite dish` - should respond with the favorite dish
2525
- `Set a timer for 4 minutes` - Should respond with "Timer set for 4 minutes". When 4 minutes is up: "Timer done". How do we set a timer in js? Google is your friend here!
26-
- `Add Bike ride the 3/5-2019 to my calendar` - Should respond with "Bike ride added to your calendar". Should add an event represented by an object with keys `name` and `date` to an array of events.
27-
- `What am i doing this week?` - should respond with the events for that week. Fx "This week you have 1 event: Bike ride the 3. of may 2019"
28-
- Add one or more commands to your voice assistant
26+
- `Add Bike ride the 3/5/2019 to my calendar` - Should respond with "Bike ride added to your calendar". Should add an event represented by an object with keys `name` and `date` to an array of events.
27+
- `What am I doing this week?` - should respond with the events for that week. Fx "This week you have 1 event: Bike ride the 3. of May 2019"
28+
- Add one or more command to your voice assistant
2929

3030
Here is an example of usage:
3131

@@ -35,7 +35,7 @@ console.log(getReply('What is my name?')); // "Your name is Benjamin"
3535
console.log(getReply('Add Bike ride the 3/5-2019 to my calendar')); // "Bike ride added to your calendar"
3636
```
3737

38-
When you are done, add your `getReply` function and global variables to this codeSandbox and try the voice command out with both commands and speech!
38+
When you are done, add your `getReply` function and global variables to this CodeSandbox and try the voice command out with both commands and speech!
3939

4040
---> https://codesandbox.io/s/beautiful-worker-gnhbw <---
4141

@@ -48,12 +48,12 @@ Go over your homework one last time:
4848
- Do the variable, function and argument names you created follow the [Naming Conventions](https://github.com/HackYourFuture/fundamentals/blob/master/fundamentals/naming_conventions.md)?
4949
- Is your code well-formatted (see [Code Formatting](https://github.com/HackYourFuture/fundamentals/blob/master/fundamentals/naming_conventions.md))?
5050

51-
If you can answer yes to the above questions then you are ready to hand if the homework:
51+
If you can answer yes to the above questions then you are ready to hand in the homework:
5252

5353
* Use the `hyf-homework` repo and add your homework files in the `javascript/javascript1/week4` folder
54-
* Make your commits for the homework. Remember to seperate the code into meaningful commits!
55-
* Push the changes to github
56-
* Share the github link to your classes slack channel.
54+
* Make your commits for the homework. Remember to separate the code into meaningful commits!
55+
* Push the changes to Github
56+
* Share the Github link to your class' slack channel.
5757

5858
---
5959

0 commit comments

Comments
 (0)