Posts

Showing posts with the label Week 4

Week 1 to 4 - Learning with MCR Codes

Image
My experience with  @MCRcodes   as a Quality Assurance Tester.  This is an evening part-time coding boot camp based in central Manchester which runs for 24 weeks, from February 2018 to July 2018. Week 1 - Meet up with Michael (Coach) and class. Everyone is very friendly and it feels like we all already know each other very well. Started off with setting up our laptop with typical software used by mainstream developers. Got comfortable using GIT and CLI. Session 1 - Getting Set Up Session 2 - Command Line Interface Week 2   - Weekly standup and retrospective have been carried out just like in the working environment. Started learning the fundamentals of JavaScript, and using npm and Jest. Additionally worked in pairs on practical tasks which also included committing work simultaneously to GitHub. This  week assignment was on basic fundamentals of JavaScript which consists of numbers, strings, boolean...

Week 4 - Session 2 - Group Programming Workshop - Virtual Pet

Image
blog image source Group exercise - make our own JavaScript virtual pets, where we will  able to give it a name, feed it, take it for walks. It's going to be great.   The pets were going to make will have the following features: You can give them a name They can get older As they get older, they get hungrier and less fit You can walk your pet to increase its fitness You can feed your pet to decrease its hunger You can talk to your pet to see if it needs feeding or walking Learning objectives from this exercise: What constructor function is? What an object's prototype is? Difference between an object literal and an object created using a constructor function? Difference between a function and a method? What is meant by a state? GitHub Virtual Pet exercise -  https://github.com/SharifCoding/virtual-pet

Week 4 - Session 1 - Constructor and Prototype

Image
Creating multiple objects can be repetitive/tedious. It’s easy to make mistakes when creating new objects, and storing the same method over and over for every object is inefficient. This is where Constructor and Prototype come in. Constructor - blueprint for what properties our object will have. When we create an instance of our object, it will have these properties with values set (in this case, from the parameters). Prototype - blueprint for what methods our instance objects will have access to. Any instances of the object will look to their prototype for methods. Javascript Constructors and Prototypes - http://tobyho.com/2010/11/22/javascript-constructors-and/ Stack Overflow (Trying to understand the difference between prototype and constructor in JavaScript) - https://stackoverflow.com/questions/28600238/trying-to-understand-the-difference-between-prototype-and-constructor-in-javascr Stack Overflow (JavaScript inheritance and the constructor property) - https://stackoverflow.com/...