JavaScript30 – Day 2

In today’s lesson, I learned how to use CSS transitions and transformations as well as how to handle the JavaScript date object. The target of the lesson was to create a CSS/JS clock. The final code can be found on 02 – JS and CSS Clock. References: JavaScript date object CSS transformations CSS transitions

JavaScript30 – Day 1

Another year, another challenge. Last year, I attempted the 30 Days of Node.js challenge, which I failed after 16 days due to various factors. My main takeaways from that challenge have been that daily practice really helps to master a subject, but also that it’s sometimes hard to do the daily exercise due to travelling […]

30 Days of Node.js – Day 7

As mentioned in an earlier post, reinventing the wheel is rather unproductive. That’s why npm (Node Package Manager) is bundled with Node.js. In today’s lesson, I’ve learned how to install and update npm itself as well as latest packages, exact versions of packages or package versions within a semantic range. The code snippets are not […]

30 Days of Node.js – Day 6

Arrays are important to store information. But how to add, edit, sort, filter and remove entries within arrays. Well, array methods have been the topic of today’s lesson of the 30-day Node.js challenge. The results of today’s lesson can be found on https://github.com/nielslange/30-days-of-node-js/tree/master/Day%2006%20-%20Array%20methods. References: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array

30 Days of Node.js – Day 5

Today’s lesson was about error handling in Node.js. I’ve learned how to propagate errors as well as how to define error callback functions. I also learned that try & catch statements cannot be used within asynchronous functions. Today’s code can be found on https://github.com/nielslange/30-days-of-node-js/tree/master/Day%2005%20-%20All%20about%20errors. References: https://nodejs.org/api/errors.html https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/try…catch