Skip to content
This repository was archived by the owner on Jan 14, 2024. It is now read-only.

London10--Kristina Dudnyk--JS--Week3 - #250

Open
KristinaDudnyk wants to merge 3 commits into
CodeYourFuture:mainfrom
KristinaDudnyk:main
Open

London10--Kristina Dudnyk--JS--Week3 #250
KristinaDudnyk wants to merge 3 commits into
CodeYourFuture:mainfrom
KristinaDudnyk:main

Conversation

@KristinaDudnyk

Copy link
Copy Markdown

No description provided.

@AnnaFYZ AnnaFYZ left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now i see why there are no other comments :) because it is minimum one step higher from our level, ha ha ha
Awesome :) 👍

@@ -12,52 +12,47 @@
*/

function getTemperatureReport(cities) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect 👌

@@ -5,7 +5,9 @@
Implement the function below, which will return a new array containing only article titles which will fit.
*/

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also perfect 😄

@@ -14,7 +16,7 @@ function potentialHeadlines(allArticleTitles) {
(you can assume words will always be seperated by a space)
*/

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a very good attempt - but there's one small problem.
Your code returns the title with the fewest characters... But for this exercise, we would like the title with the fewest words 😄
Can you think of how you can change your code to achieve this?

@@ -23,59 +25,71 @@ function titleWithFewestWords(allArticleTitles) {
(Hint: remember that you can also loop through the characters of a string if you need to)
*/

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great!

Comment thread 2-mandatory/3-stocks.js
@@ -34,9 +34,15 @@ const CLOSING_PRICES_LAST_5_DAYS_FOR_ALL_STOCKS = [
Functions can help with this!
*/

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Amazing job!

Comment thread 3-extra/3-fibonacci.js
@@ -14,24 +14,42 @@
*/

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice 😄

@moneyinthesky

Copy link
Copy Markdown
Contributor

Amazing job @KristinaDudnyk!
Your use of helper functions and array methods makes your code concise and readable 😄

@moneyinthesky moneyinthesky added reviewed A mentor has reviewed this code review requested I would like a mentor to review my PR and removed review requested I would like a mentor to review my PR labels Mar 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

reviewed A mentor has reviewed this code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants