-
-
Notifications
You must be signed in to change notification settings - Fork 206
WM | 25-ITP-May | Nahom Mesfin | Sprint 2 | coursework #774
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WM | 25-ITP-May | Nahom Mesfin | Sprint 2 | coursework #774
Conversation
|
Your PR's title isn't in the expected format. Please check the expected title format, and update yours to match. Reason: Wrong number of parts separated by |s |
|
Your PR's title isn't in the expected format. Please check the expected title format, and update yours to match. Reason: Wrong number of parts separated by |s |
LonMcGregor
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good work on this sprint - I have a comment in just one task for you to think about
Sprint-2/debug/recipe.js
Outdated
| ingredients: | ||
| ${recipe}`); | ||
| console.log(`${recipe.title} serves ${recipe.serves} ingredients: | ||
| ${ingredient}`); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What happens if you run this code? Is the output easy to read? What would you expect a recipe output to be like?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had misunderstood the instructions. It only requred the ingredients to be each line and not the whole console.log(`${recipe.title} serves ${recipe.serves} ingredients:. I have fixed it now and it logs:
bruschetta serves 2 ingredients:
olive oil
tomatoes
salt
pepper
|
Great - that looks much better. You can close this PR now, you are done |
Learners, PR Template
Self checklist
Changelist
I debugged and fixed issues across the provided files, verifying predictions with node. Implemented new functions (contains, lookup, tally, querystring) based on requirements and tested against multiple inputs. Interpreted larger programs by researching unfamiliar syntax and used console logging to validate behaviour.