Cape Town | 26-ITP-May | Liyema Mfengwana | Sprint 1 | Coursework Exercises#1340
Cape Town | 26-ITP-May | Liyema Mfengwana | Sprint 1 | Coursework Exercises#1340LiyemaMfengwana wants to merge 17 commits into
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
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.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
LonMcGregor
left a comment
There was a problem hiding this comment.
Good work, some changes needed, see my comments.
| // This should produce the string "CKJ", but you must not write the characters C, K, or J in the code of your solution. | ||
|
|
||
| let initials = ``; | ||
| let initials = `firstName[0]+middleName[0]+lastName[0]`; |
There was a problem hiding this comment.
try running this, maybe with a console.log - what do you get as output?
There was a problem hiding this comment.
Did you actually run this code yourself? When I run it I do not get the correct output. What output do you get?
| const dir = ; | ||
| const ext = ; | ||
| const dir = filePath.slice(0, lastSlashIndex); | ||
| const ext = lastDotIndex === -1 ? "" : filePath.slice(lastDotIndex); |
There was a problem hiding this comment.
Try running this code, what output do you get?
There was a problem hiding this comment.
When I run this code I get an error. What output do you get?
There was a problem hiding this comment.
i fixed it now, when i run i get pdf
LonMcGregor
left a comment
There was a problem hiding this comment.
Hi, thanks for updating. There are still 2 of my original comments you need to have another look at.
| // This should produce the string "CKJ", but you must not write the characters C, K, or J in the code of your solution. | ||
|
|
||
| let initials = ``; | ||
| let initials = `firstName[0]+middleName[0]+lastName[0]`; |
There was a problem hiding this comment.
Did you actually run this code yourself? When I run it I do not get the correct output. What output do you get?
| const dir = ; | ||
| const ext = ; | ||
| const dir = filePath.slice(0, lastSlashIndex); | ||
| const ext = lastDotIndex === -1 ? "" : filePath.slice(lastDotIndex); |
There was a problem hiding this comment.
When I run this code I get an error. What output do you get?
LonMcGregor
left a comment
There was a problem hiding this comment.
Good work, it was just a couple of bits missing. The tasks are complete now. Well done
Self checklist
Changelist
Completed solutions to sprint 1 coursework.