Birmingham | 26-ITP-May | Tobias Amaechina | Sprint 1 | coursework#1369
Birmingham | 26-ITP-May | Tobias Amaechina | Sprint 1 | coursework#1369Tobias-Amaechina wants to merge 55 commits into
Conversation
…o I used let keyword to declare the variable
…r instead of string
… and it reads number, I have to comment out slice method line of code
… original code to see that error message says TypeError: cardNumber.slice is not a function
…e quotes around the numbers and printing last4Digits
…$ so the the first varible was name was updated to start with doller sign
This comment has been minimized.
This comment has been minimized.
|
Deleted files are also considered "changes". Here's one way to fix the problem. Reverting ChangesOne way to revert changes to a file is via the First, locate a commit before the file was modified. It could be the first commit you made, assuming the branch started in a clean state. Next, record the first 7 characters of the commit SHA. Suppose the file is In your case, After the file is restored, make a commit and push the changes to GitHub. |
This comment has been minimized.
This comment has been minimized.
|
Did you restore the file content by copying-pasting the code? Different editors on different operating systems may format the last line differently. The safest way to restore the files are either through |
… value a number data type
…value to cardNumberString
6615f0e to
a96b47e
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
1 similar comment
This comment has been minimized.
This comment has been minimized.
|
Changes look good. Well done in fixing the branch. |
|
Thank you so much @cjyuan
…On Thu, Jun 25, 2026 at 9:06 PM CJ Yuan ***@***.***> wrote:
*cjyuan* left a comment
(CodeYourFuture/Module-Structuring-and-Testing-Data#1369)
<#1369 (comment)>
Changes look good.
Well done in fixing the branch.
—
Reply to this email directly, view it on GitHub
<#1369?email_source=notifications&email_token=A6WXEOF7YHNG265KV2U2YGD5BWA3LA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTIOBQGM3TANBTGU42M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KYZTPN52GK4S7MNWGSY3L#issuecomment-4803704359>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A6WXEOELNDMTSA3U7QVADST5BWA3LAVCNFSNUABFKJSXA33TNF2G64TZHM3TSOJSGQ2TGNRYHNEXG43VMU5TINZQHE3TMMBUGMZKC5QC>
.
Triage notifications, keep track of coding agent tasks and review pull
requests on the go with GitHub Mobile for iOS
<https://github.com/notifications/mobile/ios/A6WXEOA6MAZQY7UMW3H5MF35BWA3LA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTIOBQGM3TANBTGU42M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KUZTPN52GK4S7NFXXG>
and Android
<https://github.com/notifications/mobile/android/A6WXEOAFB6N337J4ONT43TD5BWA3LA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTIOBQGM3TANBTGU42M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2K4ZTPN52GK4S7MFXGI4TPNFSA>.
Download it today!
You are receiving this because you authored the thread.Message ID:
<CodeYourFuture/Module-Structuring-and-Testing-Data/pull/1369/c4803704359@
github.com>
|
Learners, PR Template
Self checklist
Changelist
This is PR for coursework Solutions for Sprin-1 of the "Module-Structuring- and Testing-Data Module, it covers key exercises on JavaScript fundamentals (variable assignments, string manipulations , String methods ,random numbers , and mandatory error fixing activities along with interpretation exercises that test understanding of code behaviour and syntax .
1-key-exercises/ — 4 files with solutions for count, initials, paths, and random number generation
2-mandatory-errors/ — 5 files fixing syntax/logic errors (comments, variable scope, type issues, naming)
3-mandatory-interpret/ — 3 files with detailed explanations of code behavior
4-stretch-explore/ — 2 files exploring browser APIs and object concepts