Toncho Dev

Front-End Web Development

Sharing knowledge to make the web an amazing place.

👀 Sign up for email newsletter or use this RSS feed to get notified of new blog posts!🔥

How to capitalize a string in Javascript

How to uppercase the first letter of a string in JavaScript? there are many ways to capitalize a string to make the first character uppercase, let's see how to do it using plain Javascript

How to sort an array of objects by a property value in JavaScript

Let's find out how to sort an array of objects by a property value

How to get the first n items in an array in Javascript

How do you get just the first n items of an array? Just use the built-in slice() method that comes with each array instance

How to empty an array in Javascript

How do you empty an array? let's see how to clear it and empty all its elements

CSS Pseudo Classes

Learn everything you need to know about the Pseudo Classes in CSS

CSS Combinators Selectors

Learn everything you need to know about the Combinators Selectors in CSS

CSS Basic Selectors

Learn the basics things about Selectors in CSS

Javascript Check Empty Object

Find out how to check if a variable with an object is empty or not

Introduction to the npm node package manager

A simple guide to npm, with a briefly introduction to the node package manager, In September 2019 over 1 million packages were reported beign listed in the npm registry, making npm the biggest single language code repository!

Javascript in Operator

Learn the basics of the JavaScript in Operator.