Skip to content

Conversation

@Barboud
Copy link

@Barboud Barboud commented Jan 27, 2026

No description provided.

@github-actions
Copy link

📝 HackYourFuture auto grade

Assignment Score: 0 / 100 ✅

Status: ✅ Passed
Minimum score to pass: 0
🧪 The auto grade is experimental and still being improved

Test Details

@Barboud Barboud changed the title S.R.S Ba-Raboud Salem Ba-Raboud Jan 27, 2026
Copy link

@rafaelhdr rafaelhdr left a comment

Choose a reason for hiding this comment

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

Everything is working great. Congrats 👏

I just made some quick tips to improve de code


if (bookTitle.includes(query)) {
return true;
} else {

Choose a reason for hiding this comment

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

Good. Here, you don't need the else if you are returning it.

This is common and just help for clear code (It is early return)

showWeatherStatus(degreeCelsius);
console.log("---");
}

Choose a reason for hiding this comment

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

Normally we avoid so many empty lines, unless we have a good reason for that.

@rafaelhdr rafaelhdr self-assigned this Jan 30, 2026
@rafaelhdr rafaelhdr added the Reviewed This assignment has been reivewed by a mentor and a feedback has been provided label Jan 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Reviewed This assignment has been reivewed by a mentor and a feedback has been provided

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants