Marcus

Marcus is a fullstack JS developer. He’s passionate about the hapi framework for Node.js and loves to build web apps and APIs. Creator of Futureflix and the “learn hapi” learning path.


JavaScript — Prevent Line Breaks in String Template Literals

Template literates in JavaScript are delimited with backticks and allow you to create string interpolation and multi-line strings. A multi-line string with template literals is convenient because you can add words and line breaks without concatenating strings using a + across lines. A downside of multi-line strings in template literals: it …

Continue Reading

Node.js — What is `Symbol.iterator`?

JavaScript has support for iteration protocols. These iteration protocols aren’t built-in implementations, but protocols outlining the convention that an implementation needs to follow. The Iteration protocol allows custom JavaScript objects to provide iteration behavior, for example how they provide values when looping over them in a for…of loop. …

Continue Reading

Vue.js 3 — Auto-Resize Textarea

It would be best if you had a way for users to share their thoughts when building a content-centric website. Users may comment on tutorials, videos, or other types of content. A common way of sharing comments is the HTML textarea that provides a multiline input field. Using textareas can …

Continue Reading
Page 1 of 64

Explore the Library

Find interesting tutorials and solutions for your problems.