Skip to content
This repository was archived by the owner on Jan 14, 2024. It is now read-only.

TosinOdunuga-JavaScript2-Week1#229

Open
fowobi wants to merge 4 commits into
CodeYourFuture:mainfrom
fowobi:main
Open

TosinOdunuga-JavaScript2-Week1#229
fowobi wants to merge 4 commits into
CodeYourFuture:mainfrom
fowobi:main

Conversation

@fowobi
Copy link
Copy Markdown

@fowobi fowobi commented Mar 21, 2023

Glasgow Class 6 - Tosin Odunuga -JavaScript2-Week 1
Volunteers: Are you marking this coursework? You can find a guide on how to mark this coursework in HOW_TO_MARK.md in the root of this repository

Your Details

  • Your Name: Tosin Odunuga
  • Your City: Glasgow
  • Your Slack Name: Tosin

Homework Details

  • Module: JavaScript2
  • Week:1

Notes

  • What did you find easy?

  • What did you find hard?

  • What do you still not understand?

  • Any other notes?

Copy link
Copy Markdown

@Muath-Alawadhi Muath-Alawadhi left a comment

Choose a reason for hiding this comment

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

Well done , I have added some comments


let dogName; // complete the code
let dogBreed; // complete the code
let dogName = "Spot"
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

You should use the dot notation here the answer should be let dog.Name = "Spot"

let dogBreed ="Dalmatian"

console.log(`${dogName} is a ${dogBreed}`);

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Here as well the same :::dot notation

}


/* EXPECTED RESULT
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Here you could make it easy by finding the index like this console.log(basketballTeam.topPlayers[index number ]);

lookup[countryCode] = currencyCode;
}
return lookup;
}
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

That's great ,but if use object here is going be much easier

@fowobi fowobi added the review requested I would like a mentor to review my PR label Apr 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

review requested I would like a mentor to review my PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants