Skip to content

Author: admin@master

Angular 2 not updating until any object is clicked

The following is something I’m trying to get working based on the Angular Tutorial. And the View sobots.data looks to be returning the data object as expected – however it’s still not updating until I click on any button/route/any event is fired. No errors show up in the console and I’…

FreeCodeCamp: I am stuck on “Record Collection”

I am doing the Freecodecamp tutorial, but i’m stuck here. Wrote the following code but it steel doesn’t work: please can someone help me!!! Answer I’ve had a go at this problem. The solution below should work. I’ve added individual if statements on one line so that it is easier to foll…

Keep input value after refresh page

I have a form with input field and this input contain a drop down menu read information from database. If the user enters value and when he arrives to the drop menu he doesn’t find what he wants he go to another page to add this info to the drop down menu and then go to the first page to

Add property to an array of objects

I have an array of objects as shown below I want to add one more property named Active to each element of this array of Objects. The final outcome should be as follows. Can someone please let me know how to achieve this. Answer You can use the forEach method to execute a provided function once for each elemen…