February 6th 2018
Hello! At the ES6 course by Wes Bos I learned about the new loop which is for…of which loops over all iterables except objects.
for(const cut of cuts) {
if (cut === 'Brisket') {
continue;
}
console.log(cut);
}
Here it skips over an item and continue the iteration.
You can use for.. of to iterate through anything as long as they are iterable like DOM collections, arrays, maps, sets.
In the CSS grid course we compare where CSS grid and Flexbox work better.
And at the Web Development Bootcamp I started to make a To-Do List by creating different folders for the project. In these folders we save the different files, and we can add this as a structure to sublime editor, so we can view it better. Placing the components in different folders makes it easier to understand and use.
Cheers!