Categories
CSS

Everything we need to know about CSS Borders

The CSS border properties allow us to style element’s border. We can set the width, style, radius, an d color of element’s border. We can style borders in three different ways. Specifying CSS border properties individually Specifying every border individually Using shorthand property Specifying CSS border properties individually There are four properties that we can […]

Categories
JavaScript

JavaScript String length

We have already talked about the Array length property, JavaScript Array length – the definitive guide, and now we are going to explain the JavaScript String length property. The JavaScript String length, .length, property is pretty similar to the Array length property with a few little differences. According to MDN: The length property of a […]

Categories
JavaScript

JavaScript substring method through examples

We have covered 2 easy ways to check if JavaScript string contains a substring and JavaScript String replace method, regarding substrings. In this article, we are going to see what is JavaScript substring method and what can we use it for. What is JavaScript substring method JavaScript substring() method returns the part of the string […]