Jan 07 2024
Listing All Files Recursively in a Directory In NodeJs
Here's an example of how you can use the fs module in nodejs to recursively list all the files in a directory and its subdirectories
Read MoreJan 07 2024
Here's an example of how you can use the fs module in nodejs to recursively list all the files in a directory and its subdirectories
Read MoreJan 07 2024
In this article, we will show you how to use global SASS variables in _variables.scss file within your Vue components without importing your variables file.
Read MoreJan 06 2024
In EJS (Embedded JavaScript), you can pass data to components by using the <%- include(filename, locals) %> syntax.
Read MoreJan 06 2024
Customize your tailwind CSS theme by defining primary, secondary and accent colors
Read MoreJan 06 2024
Javascript `indexOf()` method is used for finding the index of a specific element within an array or a substring within a string.
Read MoreJan 04 2024
The javascript splice method allows you to add or remove elements from an array. This method modifies the original array and returns the removed elements.
Read MoreJan 04 2024
Let's create a toggle switch, with Tailwind CSS, which is mostly used for control themes on websites.
Read MoreJan 04 2024
The tr:Illegal byte sequence error is an error you can face when working with the tr command in Unix-like operating systems suchas Macos and Linux.
Read MoreJan 02 2024
The javascript join method takes an array and returns a string, where each element of the array is separated by a specified separator.
Read MoreJan 02 2024
The JavaScript sort method allows us to easily rearrange the elements of an array in a specific order. You can easily sort numbers and strings in an array in ascending or descending order using it.
Read More