Keith Kennedy #148
Open
Kennedykid1995 wants to merge 13 commits intobloominstituteoftechnology:masterfrom
Open
Keith Kennedy #148Kennedykid1995 wants to merge 13 commits intobloominstituteoftechnology:masterfrom
Kennedykid1995 wants to merge 13 commits intobloominstituteoftechnology:masterfrom
Conversation
- match header style for Stretch tasks from last week's curriculum. - console.logging assignment decription
- line 14 last sentence - line 22 period
…elpixel-patch-2 PATRICK KENNEDY
…elpixel-patch-1 Patrick Kennedy
I just started on the objects.js creating the objects for interns
I have finished the object.js, had some trouble on the last question before the stretch, not sure if I did it right cause I did get it to multiply, but I did not put Antonietta.math(3, 4), just put math(3, 4)
I dont really understand this section, just cause really am not sure on writing for loops
I have gotten challenge 4 done as well as challenge 2
TERR1E
reviewed
Jun 26, 2018
| // ==== 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 2011 "jeep" "Wrangler"` ); |
There was a problem hiding this comment.
The answer is technically correct but you were supposed to reference it using code.
- Which code do you use to get a specific index value out of an array?
- Which code do you use to get a specific value out of the property of an object?
The same goes for Challenge 2 below.
TERR1E
reviewed
Jun 26, 2018
assignments/arrays.js
Outdated
| // The dealer needs the information on the last car in their inventory. What is the make and model of the last car in the inventory? Log the make and model into the console. | ||
| let lastCar = 0; | ||
| console.log(); | ||
| console.log(`Last car is a "Lincoln" "Town Car"` ) |
There was a problem hiding this comment.
Which code would you use to get the last index value of an array?
TERR1E
reviewed
Jun 26, 2018
assignments/arrays.js
Outdated
| carYears.push(inventory[i].car_year); | ||
| } | ||
| console.log(carYears); | ||
| console.log(); |
There was a problem hiding this comment.
You don't need to put an empty console.log
Made some changes to car array assingment
TERR1E
reviewed
Jun 26, 2018
| function math(x, y){ | ||
| return x*y; | ||
| } | ||
| console.log(math(3,4)); |
There was a problem hiding this comment.
Check out the hint they've given to you:
console.log(antonietta.multiplyNums(3,4));
- How would you name your function based on the hint?
- What are the ways of assigning a new property to the existing object (Antonietta)?
Check out the links below:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Working_with_Objects
http://www.dyn-web.com/tutorials/object-literal/properties.php
added in my code, it doesn't work I am still trying to figure it out, the Alphabetical, <2000, and BMW and Audi
I completed the Alphabet Challenge and now I have two more to complete, but Im gonna work on the Assingment 2 before finishing up this one
1b898f4 to
89edf1d
Compare
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.
I just started on the objects.js creating the objects for interns