this is a unbelievably important skill to have as a front end developer. This can be used to loop over data so you can save to write the same code 100 times or used to pull info out of an API. This video is a gem
OMG. . . . I was stuck for so long on this ( I'm a newbie wanting to become a Frond-end Developer ) and this video FINALLY helped me !!!!! I was trying to figure it out myself, but I see it was "simply" a combination of index-targeting + .property. THANK YOU SOOOO VERY MUCH FOR THIS VIDEO BROTHER !!!!!!! ( sorry for the caps, but I am so happy right now )❤❤
how do i take this same concept and target an number in an array that is not defined and console log that number to a different array if that number is greater than 200?
Maksym Zakharzhevskiy this is an older video and with the rise of ES6, there are a lot of other ways to loop, forEach being one of them. I’d recommend learning about them, they’re called ES6 helper functions.
Thank you for your great explanation - penny finally dropped after watching your video :-). question is there a difference between "make": "Honda" and make: "Honda"?
I was previously was set this as a technical test for a job, done something and submitted it but I'm still curious to find out how the function should have written. const newCandidates = [ { name: "Kerrie", skills: ["JavaScript", "Docker", "Ruby"] }, { name: "Mario", skills: ["Python", "AWS"] }, { name: "Jacquline", skills: ["JavaScript", "Azure"] }, { name: "Kathy", skills: ["JavaScript", "Java"] }, { name: "Anna", skills: ["JavaScript", "AWS"] }, { name: "Matt", skills: ["PHP", "AWS"] }, { name: "Matt", skills: ["PHP", ".Net", "Docker"] }, ]; and the function body which was provided is as follows: function filterCandidateBySkill(candidates, skill) { // INSERT YOUR LOGIC HERE
What if I don't know the name for the objects? You used "make", "year" and "model". What if I am checking a NoSQL document through an API, and idk what I am going to get next? Is there a way to loop through it?
I'm trying free code camp but not been successful in understanding how to use methods I mean where to use what methods. is there any cheat sheet sort of thing because I'm not from a traditional programming background. I'm a life science student aspiring to be a programmer. any suggestions would be highly helpful.
That's a tough one, because while free code camp is a good resource, it's definitely not built for beginners. I haven't used it in a while, so it might be different, but from what I remember, they wanted you to solve each problem in a very very specific way without telling you that specific way. I'm sure that if you google free code camp javascript solutions something will pop up though :)
Codify Academy Now i know why i couldnt come up with solutions my self especialy in Javascript on free code camp, while seeing other peoples solutions and later feeling bad about not making one my self. However, it did help me to get into some basics of web development but i admit if it wasnt for Hint button on challenges i wouldnt understand most of stuff.