Skip to content

Comments

Razan Alkhateeb and Lolwa Alromi#13

Closed
Rznalkh wants to merge 4 commits intoJoinCODED:mainfrom
Rznalkh:main
Closed

Razan Alkhateeb and Lolwa Alromi#13
Rznalkh wants to merge 4 commits intoJoinCODED:mainfrom
Rznalkh:main

Conversation

@Rznalkh
Copy link

@Rznalkh Rznalkh commented Mar 6, 2025

No description provided.

Rznalkh and others added 4 commits March 6, 2025 12:58
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";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make sure you have prettier activated on VSCode.
How did I know? Because there's a space missing between = and " 😀

* 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();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's preferable to give variables meaningful names:

const todaysDate: Date = new Date();

function incrementBy1() {
// Increment hackerScore by 1 👇🏻
// hackerScore++;
// console.log(hackerScore)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Commented out code (also called "dead code") should be removed from the file before committing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants