Skip to content

Manchester | 26-ITP-Jan | Mehroz Munir | Sprint 2 | Coursework#1077

Open
MehrozMunir wants to merge 2 commits intoCodeYourFuture:mainfrom
MehrozMunir:coursework/sprint-2
Open

Manchester | 26-ITP-Jan | Mehroz Munir | Sprint 2 | Coursework#1077
MehrozMunir wants to merge 2 commits intoCodeYourFuture:mainfrom
MehrozMunir:coursework/sprint-2

Conversation

@MehrozMunir
Copy link

Learners, PR Template

Self checklist

  • I have titled my PR with Region | Cohort | FirstName LastName | Sprint | Assignment Title
  • My changes meet the requirements of the task
  • I have tested my changes
  • My changes follow the style guide

Changelist

This pull request is to get review for changes made in the sprint 2 folder. I have tried my best to follow the instructiosn provided in each js file of this folder to explain the code, write the code or fix errors.

@MehrozMunir MehrozMunir added 📅 Sprint 2 Assigned during Sprint 2 of this module Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. Module-Structuring-And-Testing-Data The name of the module. labels Feb 26, 2026
@@ -1,5 +1,5 @@
// Predict and explain first...
// =============> write your prediction here
// I am not able to predict any error, everything seems fine to me.

Choose a reason for hiding this comment

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

There's an error in the function. Have a look again and write the fix in the commented out code below on line 16

// =============> write your explanation here
// =============> Yes, the error is because the identifier decimalNumber has already been declared.

// Finally, correct the code to fix the problem

Choose a reason for hiding this comment

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

Finally, you need to correct the code to fix the problem. Correct the code below. Code seems to be commented out


// Finally, correct the code to fix the problem
// =============> write your new code here
/*

Choose a reason for hiding this comment

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

The code is commented out

//The function is returning undefined

// Finally, correct the code to fix the problem
// =============> write your new code here

Choose a reason for hiding this comment

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

The code is commented out. You need to uncomment this part of the code, which is your fix for the error above


// Finally, correct the code to fix the problem
// =============> write your new code here
/*

Choose a reason for hiding this comment

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

Same here. Fix is commented out

// Finally, correct the code to fix the problem

// =============> write your new code here

Choose a reason for hiding this comment

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

same here

Copy link
Author

Choose a reason for hiding this comment

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

Hi @netEmmanuel
Thank you for your feedback.
I wrote the correct code in these files in comments to avoid the confusion of the same name function in the code. Moreover, it was not clear from the instructions in some of the files if we even supposed to write the correct code like in 1-key-errors/0.js file. However, I have commented out the correct code in all these files.
I have pushed my latest code. You may review please.

@netEmmanuel netEmmanuel added Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Mar 6, 2026
@MehrozMunir MehrozMunir added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Mar 14, 2026
@MehrozMunir
Copy link
Author

@netEmmanuel Could you please review my code now? I have made the changes you asked me for.

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Module-Structuring-And-Testing-Data The name of the module. Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. 📅 Sprint 2 Assigned during Sprint 2 of this module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants