Skip to content

Conversation

@JakeGrath
Copy link
Owner

No description provided.

Copy link
Collaborator

@jeremiahtenbrink jeremiahtenbrink 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.

// ==== Challenge 1 ====
// The dealer can't recall the information for a car with an id of 33 on his lot. Help the dealer find out which car has an id of 33 by logging the car's year, make, and model in the console log provided to you below:
console.log(`Car 33 is a *car year goes here* *car make goes here* *car model goes here*` );
console.log('Car 33 is a ' + inventory[33 - 1].car_year + ' ' + inventory[33 - 1].car_make + ' ' + inventory[33 - 1].car_model);
Copy link
Collaborator

Choose a reason for hiding this comment

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

nice job with the id - 1 for the array index 0 position.

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