Skip to content

London | 26-ITP-May | Boualem Larbi Djebbour | sprint 1 | Coursework#1312

Open
djebsoft wants to merge 71 commits into
CodeYourFuture:mainfrom
djebsoft:coursework/sprint-1
Open

London | 26-ITP-May | Boualem Larbi Djebbour | sprint 1 | Coursework#1312
djebsoft wants to merge 71 commits into
CodeYourFuture:mainfrom
djebsoft:coursework/sprint-1

Conversation

@djebsoft
Copy link
Copy Markdown

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 PR previously discussed in #1090
changes since last PR: no changes

Updated comment to clarify the assignment operation.
Updated the initials variable to dynamically generate initials from first, middle, and last names.
Implemented logic to extract directory and extension from filePath.
Added comments to explain the purpose and behavior of the num variable and the random number generation process.
Changed 'const' to 'let' for age variable to allow reassignment.
Fix variable declaration order to avoid reference error.
Updated last4Digits assignment to convert cardNumber to a string before slicing.
Updated variable names to avoid starting with digits.
Fixed syntax error in priceAfterOneYear assignment and updated comments.
Added comments to explain the purpose of each step in the code.
Updated the capitalise function to fix variable redeclaration and corrected the return variable name.
Declare 'result' with 'let' to avoid redeclaration error.
…ge function

Removed duplicate declaration of decimalNumber and updated comments.
Corrected the square function to properly accept a parameter and return its square.
Refactored multiply function to include return statement and improved logging.
Fix the sum function to correctly return the sum of two numbers.
Corrected the getLastDigit function to accept a parameter and return the last digit of a number.
Added a function to convert a string to upper snake case.
Updated comments in time-format.js to clarify the behavior of the pad function.
Removed comments with answers to questions about the pad function.
Refactor toPounds function for reusability and clarity.
Removed the upperSnakeCase function implementation and example call.
Fix the sum function to return the correct result.
Corrected the square function to properly accept a parameter and return its square.
Updated comments to clarify errors and provide explanations.
Removed duplicate variable declaration and fixed typo in return statement.
djebsoft added 26 commits March 8, 2026 15:49
This reverts commit 3bb9ddf.
This reverts commit 177c368.
This reverts commit bbdcc95.
This reverts commit 895a3ad.
This reverts commit 0714db2.
This reverts commit 64c8174.
This reverts commit 0714db2.
This reverts commit 99f2a39.
This reverts commit ce5e2ad.
This reverts commit bbdcc95.
@djebsoft djebsoft added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label May 11, 2026
@cjyuan cjyuan 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. labels May 11, 2026
@cjyuan
Copy link
Copy Markdown
Contributor

cjyuan commented May 11, 2026

Previously reviewed.

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