Closed
Conversation
Razan Alkhateeb and Lolwa Alromi
Octowl
reviewed
Mar 6, 2025
| let yearOfBirth: number= 2001; | ||
| let hobby: string= "cooking"; | ||
| let funFact: string = "Graduated from KUNIV"; | ||
| let image: string ="https://th.bing.com/th?id=OIP.GqGVPkLpUlSo5SmeDogUdwHaHa&w=250&h=250&c=8&rs=1&qlt=90&o=6&pid=3.1&rm=2"; |
Contributor
There was a problem hiding this comment.
Make sure you have prettier activated on VSCode.
How did I know? Because there's a space missing between = and " 😀
Octowl
reviewed
Mar 6, 2025
| * 2. ageString -> assign it: "I am {YOUR_AGE}"", and make sure you calculate your age from your year of birth | ||
| * 3. hobbyString -> assign it: "My hobby is {YOUR_HOBBY}"" | ||
| */ | ||
| const d : Date = new Date(); |
Contributor
There was a problem hiding this comment.
It's preferable to give variables meaningful names:
const todaysDate: Date = new Date();
Octowl
reviewed
Mar 6, 2025
| function incrementBy1() { | ||
| // Increment hackerScore by 1 👇🏻 | ||
| // hackerScore++; | ||
| // console.log(hackerScore) |
Contributor
There was a problem hiding this comment.
Commented out code (also called "dead code") should be removed from the file before committing
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.
No description provided.