This repository was archived by the owner on Jan 14, 2024. It is now read-only.
LND10 | Adrian Ilovan | JS1 Coursework Week3#262
Open
AdrianIlovan wants to merge 4 commits intoCodeYourFuture:mainfrom
Open
LND10 | Adrian Ilovan | JS1 Coursework Week3#262AdrianIlovan wants to merge 4 commits intoCodeYourFuture:mainfrom
AdrianIlovan wants to merge 4 commits intoCodeYourFuture:mainfrom
Conversation
| @@ -12,6 +12,16 @@ | |||
| */ | |||
|
|
|||
| function getTemperatureReport(cities) { | |||
| Implement the function below, which will return a new array | ||
| containing only article titles which will fit. | ||
| */ | ||
|
|
Contributor
There was a problem hiding this comment.
Looks very good 👍
For extra practice, can you try re-writing this using the filter array method?
| Implement the function below, which returns the title with the fewest words. | ||
| (you can assume words will always be seperated by a space) | ||
| */ | ||
| function titleWithFewestWords(allArticleTitles) { |
| @@ -24,6 +44,13 @@ function titleWithFewestWords(allArticleTitles) { | |||
| */ | |||
Contributor
There was a problem hiding this comment.
The next few exercises look good as well!
I would recommend you practice all of these using array methods now 😄
Contributor
|
Hey @AdrianIlovan! This is a very good start - when you have time, it would be good practice to come back and finish the remaining questions 😄 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Only 2/3 mandatory completed so far.