Skip to content

Commit 17e6d50

Browse files
committed
Fix lint issues
Not ready yet: any links starting `/` need to be rewritten
1 parent 7687677 commit 17e6d50

File tree

26 files changed

+70
-153
lines changed

26 files changed

+70
-153
lines changed

legacy/javascript/homework-projects/README.md

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,8 @@
44

55
During the JS2 and JS3 modules, you will be working on a project instead of the usual weekly homework assignments (which you can still do, as optional practice). Each week, you will be required to add new features to your project. By the end of JS3, you will have built an actual app using your newly gained knowledge and coding skills!
66

7-
87
![diagram](assets/project-flow.png)
98

10-
119
## WHY
1210

1311
We're doing this for four main reasons:
@@ -17,7 +15,6 @@ We're doing this for four main reasons:
1715
- You will build a solid project for your portfolio that you can showcase on your CV and in future tech interviews!
1816
- You will gain experience presenting your project and code in a 'mini-tech interview' at the end of JS3.
1917

20-
2118
## PROJECT IDEAS
2219

2320
[Currency Converter](projects/currency-converter/currency-converter.md)
@@ -29,32 +26,22 @@ We're doing this for four main reasons:
2926
> [!NOTE]
3027
> New projects are welcome to be added by mentors. Just follow a similar structure to the existing ones, and submit it as a PR for review by staff and other mentors.
3128
32-
33-
3429
## HOW
3530

3631
The projects will either be worked on individually, in a pair or as a group. You may also be set up to peer review another's project. This is up to the staff and mentors running the module.
3732

38-
39-
4033
First, you will pick a project idea from above. Each week, you will have specific tasks that you have to deliver. Those tasks are provided in your chosen project description. The tasks are designed to help you practice the main learning points throughout the JS2 and JS3 modules.
4134

42-
43-
4435
You will work in your project repository for JS2 and JS3 (not the central homework repository!), and you will submit the weekly task in the usual way by creating a Pull Request.
4536

4637
During JS2 and JS3, refer to the relevant [homework submission guide](guides/weekly-submission-guide.md).
4738

4839
The main difference is that you will be on a different repository and that you will merge the PR after implementing the review-based improvements, while all the technical steps are the same as always.
4940

50-
51-
5241
## DEPLOYMENT
5342

5443
So you can demo your project easily both at the end of the project, but also to future employers, it is a requirement that you deploy the project. You can use the [HackYourFuture project template](https://github.com/HackYourFuture-CPH/hyf-project-template) as a starting point, or an otherwise agreed upon process by the staff and mentors.
5544

56-
57-
5845
## CONCLUSION
5946

6047
When you wrap up your project in JS3 week3, you will get a chance to present your project either as a video recording or on a demo day. If your team is hosting a demo day, then check out [this guide](guides/demo-day-presentation.md) for how to prepare for the presentation.

legacy/javascript/homework-projects/guides/weekly-submission-guide.md

Lines changed: 11 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,6 @@
1212
- [ ] stay patient. Slack, Google and ChatGPT are your best friends now.
1313
- [ ] make the changes as per PR review in the appropriate branch, push the changes to the appropriate branch and merge the PR.
1414

15-
<br/>
16-
17-
<hr>
18-
<hr>
19-
2015
## Before you start the project
2116

2217
- Create a public project repository in your GitHub account (choose the option to add README.md).
@@ -25,70 +20,48 @@
2520
## Before you start your homework
2621

2722
1. You are probably opening your project repo on the last weeks branch - make sure that any changes you have there are either committed and pushed, or stashed, or discarded - whatever you prefer. The point is to be mindful that:
28-
<br/> - you are most probably starting on a branch you last worked with, that is how VS Code works,
29-
<br/> - and there might be changes that you have not handled last time.
30-
<br/> - if you are about to start a new homework, you need to go to `main` first.
3123

32-
<br/>
24+
- you are most probably starting on a branch you last worked with, that is how VS Code works,
25+
- and there might be changes that you have not handled last time.
26+
- if you are about to start a new homework, you need to go to `main` first.
3327

3428
2. Checkout to `main` and pull the latest changes from it. If you skip this step, you will get in trouble sooner or later.
3529

36-
<br/>
37-
3830
3. Checkout to your new homework branch, following the branch naming convention of `module-week/yourname`.
3931
See [allowed branch name prefixes](#allowed-branch-name-prefixes).
4032

41-
<br/>
4233
❗ Always firstly checkout to the new homework branch from an updated `main`. Always.
4334

44-
<br/>
45-
4635
### Allowed branch name prefixes
4736

48-
| | | | | |
49-
| ----------------- | ----------------- | ----------------- | --- | --- |
50-
| javascript2-week1 | javascript2-week2 | javascript2-week3 | |
51-
| javascript3-week1 | javascript3-week2 | javascript3-week3 | |
37+
| | | |
38+
| ----------------- | ----------------- | ----------------- |
39+
| javascript2-week1 | javascript2-week2 | javascript2-week3 |
40+
| javascript3-week1 | javascript3-week2 | javascript3-week3 |
5241

5342
### Examples
5443

55-
> ❌ javascript3/maria <br/>
56-
> ❌ javascript2-week1-homework <br/>
57-
> ❌ javascript3-week2 <br/>
58-
> ✅ javascript3-week3/maria
59-
60-
<br/>
44+
- ❌ javascript3/maria
45+
- ❌ javascript2-week1-homework
46+
- ❌ javascript3-week2
47+
- ✅ javascript3-week3/maria
6148

6249
## Completing and submitting your homework
6350

6451
1. Implement your homework. Be mindful of structuring and naming. Make sure you complete all the tasks listed for that week in your project description.
6552

66-
<br/>
67-
6853
2. Verify that your branch name is right. Commit and push your homework to the repository. If the branch name is not right, you can commit and checkout to a new, correct branch from the current branch - you will carry all the commits with you. Then you can push.
6954

70-
<br/>
71-
7255
3. Go to your project repository and create a Pull Request from your weekly homework branch to `main`.
7356

74-
<br/>
75-
7657
4. Post the link to the PR to your class channel and celebrate with your classmates! 🎉 💃🏽 🕺🏾 🥳
7758

78-
<br/>
79-
8059
## After submitting your homework
8160

8261
1. Follow the PR to see the review and interact with the reviewer as well as make the suggested changes.
8362

84-
<br/>
85-
8663
2. When you have made changes to the code since the homework submission and review, push the changes and merge the PR.
8764

88-
<br/>
89-
9065
3. Update your local `main` with the merged changes in the remote `main`.
9166

92-
<br/>
93-
9467
4. Take a moment to celebrate your progress and be proud of your learning!

legacy/javascript/homework-projects/projects/currency-converter/currency-converter.md

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
![](https://media.giphy.com/media/LdOyjZ7io5Msw/giphy.gif)
2-
31
# CURRENCY CONVERTER
42

3+
![showering in money](https://media.giphy.com/media/LdOyjZ7io5Msw/giphy.gif)
4+
55
You started working in a new cool fintech startup, and your first task is to build a simple currency converter app.
66
It is expected that your app will have at least these features and functionality:
77

@@ -54,20 +54,16 @@ Then, after an update (the bonus task) it could look something like this:
5454
}
5555
```
5656

57-
---
58-
5957
### `JS2 week2` - Array functions, Arrow function
6058

6159
Start with creating an array of currency rate objects. Even a small one is perfectly enough, but go as big as you want!
6260
Continue with the format of the object you used last week or improve it and refactor!
6361

6462
- [ ] List: Traverse through your array of the currency rate objects, and display them in a grid of items containing all the relevant details.
65-
- [ ] Implement a function to find a specific currency rate, searching by the currency `from` or `to`. <br/>
63+
- [ ] Implement a function to find a specific currency rate, searching by the currency `from` or `to`.
6664
Basically, it is just a search function! With a twist, though, because you have both the `from` and the `to` fields.
6765
As a user, I want to find a specific rate, but I am too lazy to scan through all the rates with my eyes, I want to be able to type in and search!
6866

69-
---
70-
7167
### `JS2 week3` - Callback function, Asynchronicity, Scope
7268

7369
- [ ] Implement a timeout to show an announcement when the market open or/and close. The market opens at 9AM and closes at 5PM local time.
@@ -76,35 +72,24 @@ Continue with the format of the object you used last week or improve it and refa
7672
a. Implement a watcher to periodically check a specific currency conversion and alert the user when the value reaches a speicfic point. Let's say the user is interested in converting USD to Danish kroner but the rate today is very bad, 1 USD is 5 DKK. We wan to alert the user when 1 USD is 7 DKK so the user can convert with maximum gain
7773
b. Watch currency updates and show a banner with the hotest currency exchange rate. I.e., currency conversion reaching the double value.
7874

79-
---
80-
8175
### `JS3 week1` - Json, Apis, Fetch
8276

8377
- [ ] Follow the [API creation guide](/homework-projects/guides/making-your-API-guide.md) to make your own API that you will use from now on.
8478
- [ ] Refactor your code so that you use the currency rates dynamically from your API instead of the static array of objects.
8579
- [ ] Implement functionality to search for a specific currency.
8680
- [ ] Ensure all the functionality is working smoothly after refactoring.
8781

88-
---
89-
9082
### `JS3 week2` - Promises, Async/Await
9183

9284
- [ ] You used promise chaining last week - now rewrite the fetch in the "async await" approach.
9385
- [ ] Testing. Implement a test to ensure that the application will work as expected after the refactoring.
9486

95-
---
96-
9787
### `JS3 week3` - Classes, Revision and Presentation of projects
9888

9989
- [ ] Rest, revise JS fundamentals, finish, and brush up your project, prepare to present and explain it.
10090
- [ ] Make improvements to the style or functionality or add additional functionality.
10191
- [ ] Prepare to showcase your project to external people, talk through your code and explain what you have implemented.
10292

103-
---
104-
105-
<br/>
106-
<br/>
107-
10893
## Project completion checklist ✅
10994

11095
- [ ] I can insert a new currency rate

legacy/javascript/homework-projects/projects/memory-game/memory-game.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
![Agent J from "Men In Black": "Hey, don't even worry about it", while flashing the neuralyzer](https://media.giphy.com/media/374pcIBVEGb6g/giphy.gif)
44

5-
You joined an online game platform startup and your task is to build one of the small classic games. <br/>
5+
You joined an online game platform startup and your task is to build one of the small classic games.
6+
67
You will build a Memory Game, where a user needs to flip all the cards in a game in pairs until they find all the matching pairs. You aspire to make the game smooth and pleasant, so the user is compelled to spend more time playing it.
78

89
> [!NOTE]

legacy/javascript/homework-projects/projects/movie-app/movie-app.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
# MOVIE APP
32

43
![Garfield, slouched in a chair and changing the TV channel](https://media.giphy.com/media/KZe02gpoAj4yVjxKQt/giphy.gif)

legacy/javascript/homework-projects/projects/quiz-app/quiz-app.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
# QUIZ APP
32

43
![Dexter from "Dexter's Laboratory" filling in some answers on a piece of paper](https://media.giphy.com/media/y1JYvLe9fFfpK/giphy.gif)
@@ -39,7 +38,6 @@ const quizQuestion = {
3938
};
4039
```
4140

42-
4341
### `JS2 week2` - Array functions, Arrow function
4442

4543
Start with creating an array of quiz question objects. Even a small one is perfectly enough, but go as big as you want!
@@ -51,8 +49,6 @@ Continue with the format of the question object you used last week or improve it
5149

5250
- [ ] build a function to filter the questions by searching the content of the question.
5351

54-
55-
5652
### `JS2 week3` - Callback function, Asynchronicity, Scope
5753

5854
- [ ] add inputs for 2 player names and a button to start a quiz. When the quiz starts, player names are displayed with their collected points (0 to begin with).
@@ -65,7 +61,6 @@ b. add number inputs for the player points and use the browser's arrow buttons o
6561

6662
- [ ] optional bonus: play a sound and end the quiz game when one of the players has reached 10 points.
6763

68-
6964
### `JS3 week1` - Json, Apis, Fetch
7065

7166
- [ ] follow the [API creation guide](/homework-projects/guides/making-your-API-guide.md) to make your own API that you will use from now on.
@@ -76,8 +71,6 @@ b. add number inputs for the player points and use the browser's arrow buttons o
7671

7772
- [ ] add alphabetical sorting of the questions and random sorting of the questions and let the user choose.
7873

79-
80-
8174
### `JS3 week2` - Promises, Async/Await
8275

8376
- [ ] you used promise chaining last week - now rewrite the fetch in the "async await" approach.

legacy/javascript/homework-projects/projects/recipe-app/recipe-app.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
# RECIPE APP
32

43
![Spongebob Squarepants, doing some cooking](https://media.giphy.com/media/N23cG6apipMmQ/giphy.gif)
@@ -40,8 +39,6 @@ const recipeObject = {
4039
- [ ] Implement a form to add a new recipe with a minimum of 5 ingredients.
4140
- [ ] Optional: implement functionality to add a new ingredient to a recipe.
4241

43-
44-
4542
### `JS2 week2` - Array functions, Arrow function
4643

4744
Start with creating an array of recipe objects. Even a small one is perfectly enough, but go as big as you want!
@@ -52,39 +49,31 @@ Continue with the format of the recipe object you used last week or improve it a
5249
- find a recipe by a provided search word to check in the recipe title.
5350
- sort the recipe array by the amount of ingredients needed.
5451

55-
56-
5752
### `JS2 week3` - Callback function, Asynchronicity, Scope
5853

5954
- [ ] Implement a cooking timer where the time is user-picked via an input or hard-coded. The timer should alert and/or ring once the time is up.
6055
- [ ] Implement a timer for how much time you have spent on the page.
6156

62-
6357
### `JS3 week1` - Json, Apis, Fetch
6458

6559
- [ ] Follow the [API creation guide](/homework-projects/guides/making-your-API-guide.md) to make your own API that you will use from now on.
6660
- [ ] Refactor your code so that you ditch the static array of objects and instead fetch the recipes data from your API.
6761
- [ ] Implement functionality to search for an ingredient, fetch and display the relevant ingredient prices for a recipe
6862
- [ ] Ensure all the functionality is working smoothly after refactoring.
6963

70-
---
71-
7264
### `JS3 week2` - Promises, Async/Await
7365

7466
- [ ] You used promise chaining last week - now rewrite the fetch in the "async await" approach.
7567
- [ ] Use the fuunctions created in preivous week and build functionality to:
7668
- [ ] Find a recipe by a provided search word to check in the recipe title.
7769
- [ ] Sort the recipe array by the amount of ingredients needed.
7870

79-
8071
### `JS3 week3` - Classes, Revision and Presentation of projects
8172

8273
- [ ] Rest, revise JS fundamentals, finish, and brush up your project, prepare to present and explain it.
8374
- [ ] Make improvements to the style or functionality or add additional functionality.
8475
- [ ] Prepare to showcase your project to external people, talk through your code and explain what you have implemented.
8576

86-
87-
8877
## Project completion checklist ✅
8978

9079
- [ ] I can see a page with a list of recipes displayed in a grid;

0 commit comments

Comments
 (0)