Manchester | 26-ITP-May | Abid Akhtar | Sprint 1 | Exercises #1509
Open
AbidAkhtar-tech wants to merge 10 commits into
Open
Manchester | 26-ITP-May | Abid Akhtar | Sprint 1 | Exercises #1509AbidAkhtar-tech wants to merge 10 commits into
AbidAkhtar-tech wants to merge 10 commits into
Conversation
hey-hammad
reviewed
Jul 16, 2026
| // Declare a variable called initials that stores the first character of each string. | ||
| // 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 = `${firstName.charAt(0)} ${middleName.charAt(0)} ${lastName.charAt(0)}`; |
There was a problem hiding this comment.
Please review the instruction and value of the variable again. Thanks
Author
There was a problem hiding this comment.
Can you elaborate on what is missing in this exercise?
hey-hammad
reviewed
Jul 16, 2026
|
|
||
| What effect does calling the `prompt` function have? | ||
| What is the return value of `prompt`? | ||
| Open a new window in Chrome, |
hey-hammad
reviewed
Jul 16, 2026
|
|
||
| What does `console` store? | ||
| What does the syntax `console.log` or `console.assert` mean? In particular, what does the `.` mean? | ||
| ## Objects |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Self checklist
Changelist
This PR is about different error exercises and code snippets that needed to be solved while learning the different functions involved.