Skip to content

London | 26-ITP-May | Talia Kucuk | Sprint 1 | Coursework#1513

Open
TaliaKucuk wants to merge 15 commits into
CodeYourFuture:mainfrom
TaliaKucuk:coursework/sprint-1
Open

London | 26-ITP-May | Talia Kucuk | Sprint 1 | Coursework#1513
TaliaKucuk wants to merge 15 commits into
CodeYourFuture:mainfrom
TaliaKucuk:coursework/sprint-1

Conversation

@TaliaKucuk

Copy link
Copy Markdown

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

Submission for Coursework Sprint 1

@TaliaKucuk TaliaKucuk added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Jul 15, 2026
Comment thread Sprint-1/1-key-exercises/4-random.js Outdated
// Try breaking down the expression and using documentation to explain what it means
// It will help to think about the order in which expressions are evaluated
// Try logging the value of num and running the program several times to build an idea of what the program is doing
// num generates a random number between 1 and 100 No newline at end of file

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Your answer is correct, but can you explain how the expression generates a number between 1 and 100?

Try breaking the line down step by step and describe what each part does.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Hi, thank you for all your comments. I've now added a more detailed breakdown

@hey-hammad hey-hammad 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 Jul 16, 2026
Comment thread Sprint-1/2-mandatory-errors/3.js Outdated
@@ -1,9 +1,7 @@
const cardNumber = 4533787178994213;
const cardNumber = "4533787178994213";

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Suppose you're not allowed to modify the original value. How would you achieve this using code alone?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Hi, I've now changed this so that the original code is not modified. Thank you


// lines 1, 2, 7 and 8 are variable declarations
// e) Describe what the expression Number(carPrice.replaceAll(",","")) is doing - what is the purpose of this expression?
// This expression is replacing the , in '10,000' with nothing - essentially removing it No newline at end of file

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

please review the whole code snippet again, and mention whats the purpose of removing the ","

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

I've added info regarding the purpose of removing the ","


// To begin, we can start with
// 1. const penceString = "399p": initialises a string variable with the value "399p"
// 3-6. removes the p from "399p"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Can you add more detail about the purpose of each operation rather than just the result? The exercise is looking for a step-by-step explanation of how the code works.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

I've added information about the purpose of each operation rather than just the result. Thank you for taking the time to review my work, much appreciated.

@hey-hammad hey-hammad added Reviewed Volunteer to add when completing a review with trainee action still to take. and removed Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. labels Jul 16, 2026
@TaliaKucuk TaliaKucuk added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Jul 16, 2026
@hey-hammad hey-hammad added Complete Volunteer to add when work is complete and all review comments have been addressed. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. Reviewed Volunteer to add when completing a review with trainee action still to take. labels Jul 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Complete Volunteer to add when work is complete and all review comments have been addressed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants