All Articles

  1. How to merge JSON files in python

    Learn different techniques to merge multiple JSON files in Python using built-in JSON module and Pandas library. Includes examples for combining data arrays and merging dictionaries by key.

  2. Top 40 Git commands with Examples

  3. Check GitHub Account in the Terminal

  4. Install Tailwind CSS in Vue 3 and Vite App

  5. How to Install Pip(pip3) in Ubuntu Linux 22.04

  6. How to Write If-Else Statements in One Line in Python

  7. Qbasic Programming Examples and Exercises

  8. QBASIC Programming – Beginner’s Friendly

  9. Qbasic Looping statements with Examples

  10. Qbasic Control Statements with Examples

  11. QBasic Commands and Statements

  12. Free QBasic Online Compilers Editors (Complete List)

  13. Download Qbasic for Windows 10 and 11 for Free

  14. Qbasic Color statement

  15. How to add Google Analytics 4 in Nuxt Application?

  16. Trigger an event on route change in Vue | VueJS

  17. Find square root of negative number using python

  18. Pytube Description and Keyword Not Showing: Solution

    Solve the issue with Pytube not showing youtube description and tags in this article.

  19. How to Fix the subprocess-exited-with-error in Python

    Learn what cause the subprocess-exited-with-error in Python and also learn how to solve the error in your code.

  20. Solve npm ERR! ENOENT - No Such File or Directory Error

    Learn what causes the npm ERR! ENOENT error, steps to troubleshoot it, and how to fix the no such file or directory issue when running npm start or npm install commands on your Node.js project.

  21. Fix error:0308010C:digital envelope routines::unsupported

    Learn to solve the "Error: error:0308010C:digital envelope routines::unsupported" error in Node.js application (Vue, Angular or react) using the solutions in this article.

  22. How to create a horizontal list using HTML and CSS

    Find out different ways to create horizontal list using inline-block and flex-box in CSS for your navigation bar on your website.

  23. Press Shift + Enter for new Line in Textarea

    Override default textarea behavior on Enter key press without Shift, prevent new lines, and take custom actions like submitting forms instead. Still allow Shift+Enter newlines.

  24. in vs hasOwnProperty(): Differences in Inherited Properties

    The article explains the differences between JavaScript's 'in' operator and 'hasOwnProperty()' method. And also learn the use cases of both in JS.

  25. How to Clear Cache in NPM?

    In this tutorial we will learn how to clean or remove npm cache from Windows, linux and Mac using npm cache clean command.

  26. Python Integer Division: The Floor Division Operator Explained

    Article on Python Integer Division operator (//) with examples and the difference between standard division and floor division.

  27. SyntaxError: Unexpected EOF While Parsing - Python Error Solved

    This article explains what causes the common "SyntaxError: unexpected EOF while parsing" error in Python and how to fix it with various examples.

  28. How to use calc() in tailwind CSS

    Learn the use of calc() in tailwind CSS class. The calc() CSS function allows complex calculations to determine element sizes responsively.

  29. React TypeError: map() is not a function error [Solved]

    Learn how to fix the common error "React map is not a function" in your code by properly importing and using the Array.map method.

  30. Fixing Inconsistent Indentation Errors in Python

    Inconsistent Indentation Errors in Python occurs because of mixing tabs and spaces in your python code.

  31. How to Fix "ReferenceError: document is not defined" in JavaScript

    The "ReferenceError: document is not defined" is a common error in JavaScript that occurs when trying to access the `document` object in a non-browser environment like Node.js.

  32. How to Fix the "Cannot Read Property of Undefined" Error in JavaScript

    The "Cannot read property of undefined" error occurs when you try to access a property or method of a variable that is undefined in JavaScript.

  33. Checkbox inside GitHub Markdown Table

    Short article on how to create checkbox or tick and cross mark inside markdown table in Github using emoji.

  34. Capitalize First Letter of a String - JavaScript

    This article is about how to capitalize the first letter of a string using JavaScript.

  35. How to Change default terminal in VSCode

    This article is on how to change or set the default terminal in VSCode. You can use your favorite shell like CMD or GitBash by following the steps in this article.

  36. How to Fix Unknown at rule @tailwindcss(unknownAtRules)

    Easy guide on how to fix the Unknown at rule @tailwindcss in VSCode error in VScode editor using extension and correct configuration of the editor.

  37. (Solved) Non-Numeric Argument to Binary Operator Error in R

    Learn how to fix Non-Numeric Argument to Binary Operator Error in R using inbuilt functions like class(), as.numeric() and ifelse() functions.

  38. Cannot find module 'dotenv' Error in Node.js - Solved

    Learn how to solve the "Cannot find module 'dotenv'" error in Node.js. Here you will getstep-by-step guide to troubleshoot and fix this common module issue.

  39. Remove special characters of the URL in JavaScript

    Learn how to remove special characters from URLs using JavaScript. Avoid broken links and improve website accessibility with our solutions.

  40. [Solved] 'rm' is not recognized as an internal or external command

    Learn how to solve "rm is not recognized as an internal or external command" error in windows using CMD, PowerShell and Git Bash tool.

  41. [Solved] Consider using the --user option or check the permissions.

    Learn to solve the "Consider using the --user option or check permission" error when installing Python packages. Use --user flag, sudo or virtual environment.

  42. Vertically Center Align a div in Tailwind CSS

    Learn how to vertically center align a div in Tailwind CSS using Flexbox and absolute positioning and make your web development more efficient and fast.

  43. How to Convert JSON to YAML in Python 3

    Learn how to convert JSON to YAML in Python with this easy-to-follow guide. Use the json and pyyaml libraries to convert data seamlessly.

  44. [Solved] react-scripts: command not found error

    Learn how to solve the "react-scripts: command not found" error in your React application with these simple steps in the solutions.

  45. [Solved] webpack: command not found error

    This article explores solutions to the common "webpack: command not found" error that developers encounter while using webpack-cli from the terminal.

  46. How to get the id from the URL in Vue 3

    Learn how to retrieve the URL id or slug in Vue 3 using the route object and access it in your component's template or setup function.

  47. Solving TypeError: string indices must be integers error in Python

    Learn how to fix the "string indices must be integers" error in Python using index number (integer) instead of a string.

  48. Solving the AttributeError: module 'numpy' has no attribute 'int' Error

    Learn how to solve the 'AttributeError: module 'numpy' has no attribute 'int'' error in NumPy library. Get the easy solution to fix the error in python.

  49. How to fix error: legacy-install-failure in Python

    Fix "Legacy Install Failure" error in Python. Upgrade Python or use a virtual environment. Manage packages & dependencies without version issues.

  50. [Fix] cannot import name force_text from django.utils.encoding - Python Error

    Learn how to resolve cannot import name force_text from django.utils.encoding python web-framework error. We discussed the possible cause of the error and how to resolve it.

  51. Fix 'failed to push some refs to' Git Errors

    If you have encountered the "error: failed to push refs to" error in git, then follow this solution provided in this article to easily fix the error.

  52. How to get current date and time in Python

    Learn to get current date and time in Python using the `datetime` and `time` modules. Both modules provides all necessary tools for time and date handling in Python.

  53. How to get today date in Python without time?

    Short guide to get the only today's date without the time in python using the datetime and time modules. And also learn to format the date in dd/mm/yyyy format using strftime function.

  54. Solve "No Such File or Directory" Error in Python

    In python, you might come across "No Such File and Directory" error. Learn about the causes and get the step-by-step solution with examples.

  55. How to round down a number in python

    Learn how to round down in Python with step-by-step examples using floor division and the math.floor(), int(), and math.trunc() function to perform mathematical calculation.

  56. How to Downgrade an Installed npm Package

    Learn how to downgrade npm packages for compatibility issues, bug fixes, new features, or personal preference. Follow step-by-step guide for a easy downgrade process.

  57. Solving "npm not recognized as an internal or external command" Error

    Learn what causes the npm not recognized as an internal or external command error and the steps to solve it using the PATH environment variable.

  58. Understanding the Inline If Statement in Python

    Learn what is an Inline If statement and how to use it in a python program and also learn about the use cases of it with some examples

  59. Create a vertical line using Html and Css

    Learn with step-by-step instruction on how to add vertical line in HTML using CSS border, transform and pseudo classes.

  60. How to return a value from a foreach loop? Javascript

    learned how we can return a value in `forEach()` loop and about other methods that can return a value from a JavaScript loop

  61. Validate email using regular expression (Regex) in JavaScript

    Learn how to do email validation using regular expression regex using JavaScript to your form and registration form in sites.

  62. How to Destructure an Array in JavaScript

    Learn how to use destructuring an array or parameters of function in JavaScript with the help of examples.

  63. Line continuation | Long statement in Multiple lines in Python

    Find out how to write long strings that continue to the next line using python. And to solve line continuation in python.

  64. Find Length of Dictionary in Python with Examples

    To find the length of the dictionary we have to use the `len()` function in python. It returns the number of keys in the dictionary.

  65. Reverse an Array in Python (Using Numpy And Array Module)

    We have to create an array in Python using numpy and array module and use reverse() and slicing method to reverse it.

  66. Python import module from parent directory

    We can import methods from a parent directory in python using the sys.path.append() and sys.path.insert() method of the sys and os modules.

  67. How to use Pi in Python? (math and numpy module)

    We can use Pi using the math module in python. The math.pi returns the value of 3.141592653589793 when used in Python.

  68. FileNotFoundError: No such file or directory Error Python

    Find out how to solve the no such file and directory error by specifying the absolute and relative path of the file in python.

  69. Save Python dict as JSON: Convert Dictionary to JSON

    Find out how to convert dictionary to JSON format using python. In python, we can use the json.dumps() method to covert the dict to json object.

  70. Add leading zero to a number in JavaScript (Code Example)

    To add leading zero to a number, first convert the number to a string and use padStart() method to add the leading zero.

  71. Find square root of negative number using python

    We can get the square root of a negative number in python using the cmath python library. It provides us various functions to work with complex numbers.

  72. Square a number in Python (3 ways)

    Find out how to find the square of a number in python. Python programs to find the square number of list and arrays using python.

  73. Add Multiple Classes to HTML elements using JavaScript

    Find out how to add and remove multiple classes to and from an HTML element using JavaScript's classList.add() and classList.remove() method.

  74. Javascript - Convert array to String (with and without commas)

    Short article to convert array to string with commas and without commas using join method.

  75. (Fixed) npm ERR! missing script: start error

    This article is about how to fix npm err! missing script start error in nodejs application.

  76. Javascript nullish coalescing (double question mark) operator

    Short guide explaining about the nullish coalescing (double question mark) operator in Javascript.

  77. (FIXED) NVM Error - exit status 1: Access is denied

    Short article on how to solve NVM Error - exit status 1: Access is denied in windows 10.

  78. How to flatten nested list in python (5 ways)

    A python list can be 2D list or multi-dimensional list. Find out different ways to flatten a list of list (nested list) in python.

  79. Prepend List in Python (Append at the beginning)

    Find out different ways to prepend list in python. Ways to add items at the beginning of the list in python.

  80. Create Directory if not Exists in Python

    To create a directory if the targeted directory does not exist in python we have to use the os.path.exists() method of the os module.

  81. Sort List or Dictionary by two keys in Python

    Learn to sort list, dictionary, tuples with multiple elements in python. Here, we have sort python list and dictionary by two keys.

  82. How to reverse a range in python | Reverse Range

    Find out different ways to reverse a range in python using reversed function, negative step and sorted function.

  83. Python string append | How to Append String in Python

    Find out different ways to append one string to another in Python using += operator, join function or the f-string method.

  84. (Solution) ValueError: math domain error in Python

    Find out how to solve math domain error while using sqrt, acos, and log of a number in python. Also find the solution of this math error.

  85. Python Bitwise XOR Operator and its Uses

    The XOR operator or binary operator is use to perform bitwise calculations on integers and boolean values in python.

  86. Python - Remove Newline From Strings (3 Ways)

    We can remove new line from a string using replace(), strip() and re.sub() method in python.

  87. Python | Delete an Element (key) From a Python Dictionary

    Find out different ways to remove keys from a dictionary and also to remove multiple keys from a python dictionary.

  88. Check for prime number using for and while loop in Python

    Write python programs to find prime numbers using for loop and while loop and also within a given range between 1 to 100.

  89. Merge two dictionaries together using python (3 ways)

    Find out 3 different ways to merge or combime two or more dictionaries in python.

  90. Merge multiple JSON objects into one single object in Python

    Combine multiple JSON objects from a file into a single object and then save it in a file in python.

  91. Python - Check if list is empty or not

    To check if a list is empty or not, we have to use the len(), bool() and not operator method in python.

  92. What is memoization and how to cache function results in Javascript

    Javascript memoization is an optimizing technique to reduce time consuming calculations. It's a type of caching which store previous results in the memory.

  93. Python - Insert an element at specific index in a list

    Find out ways to insert an element at a specific index in a Python list using insert method, append and extend methods.

  94. How to check if input is a number in python

    Find out if the user input is a number or string using isnumeric and isdigit methods in Python program.

  95. Check if user input is empty in python

    Find out how to check if the user input is empty in python using if and while statement and not operator.

  96. How to take input as int (integer) in python?

    Find out how to take integer input in python using int() function with exception handling for errors.

  97. Remove the Last N element from a List in Python

    Find out how to remove the last N element from a Python list using pop(), list slicing and del function.

  98. Convert HTMLCollection into array in JavaScript

    Post on how to convert HTMLCollection to an array to apply forEach() method on its element to loop in JavaScript.

  99. Remove Duplicates from List in Python

    Find out how to remove duplicate items from a list in python using different method and create a unique list.

  100. Python - Check if a string is Empty or Not

    To find if a string is empty of not in python, we can use len(), not operator ,and strip() or isspace() method to check for non-zero length string.

  101. Get the Index or Position of Item in List in Python

    In this post, we will discuss how to find the index of an element from a List in python with some examples.

  102. Replace character in String by index in Python

    Short article on how to replace a character in a string using the index with the help of python code.

  103. Clear cache in Yarn: yarn cache clean

    Find out how to clear cache in yarn using the yarn cache clean command. It deletes all the data of the cached node packages from your local storage.

  104. Split string by whitespace in python

    Find out how to split a string by whitespace using split() method in python. The split method split a string and returns a list.

  105. How to split a list into multiple list using python

    To split a list we have to find the len of the list and then divide it by 2 to find the middle index. It helps to split list by chunks size.

  106. Split String and get the first element using python

    Find out how to split a string and get the first element from the list using maxsplit argument in python.

  107. Convert a string into integer or float using Python

    Find out how to convert a string into an integer or floating point number using int() and float() function in Python.

  108. [Solved] date.getDate() is not a function error in JavaScript

    Find out how to solve the date object error, TypeError: date.getDate() is not a function in JavaScript.

  109. Convert and Save HTML elements as Image using JavaScript

    Find out how to convert a div to image without using canvas in JavaScript. Here we will save an HTML element as image using html2canvas package.

  110. Check if String starts with a space in JavaScript

    Find out whether a string starts with a space or not using regex test method, string match method and startsWith method in JavaScript.

  111. JavaScript - Detect if a string contains any space

    FInd out how to detect if a string contains any white space using regex test() method and string indexOf() method in Javascript.

  112. Get the current directory/folder in Node Js

    Find out how to get the current folder or directory path where a Javascript code is executed in Node.

  113. Delete a file in Node using unlink() and unlinkSync() method

    Short tutorial on how to remove a file from the file system in node js using unlink() and unlinkSync() functions.

  114. Add property to each object in an array of object in JavaScript

    Short article on how to add property to each object in an array of objects using JavaScript.

  115. JavaScript - Get Month Name from Date

    Find out how to get the name of the month from JavaScript Date object using toLocaleString method andd Intl.DateTimeFormat object.

  116. Easy Way to use localStorage with Vue

    Short article on how to use local storage with Vue and learn saving and storing data in local storage with the setItem() and getItem() methods.

  117. How to split First name and Last name in JavaScript

    Short article to separate first name and last name in a form field using split method in JavaScript.

  118. Change image source (src) on hover using CSS

    Find out how to change the source of the image tag on hover using CSS using :hover selector.

  119. How to change image on hover JavaScript

    Short article on how to change the source of the image <img> tag on hover using JavaScript.

  120. Change image src using onClick event in JavaScript

    Find out how to change or replace the image src (source) on click of a button using onClick() event in JavaScript.

  121. [Fixed] GitHub "fatal: remote origin already exists" error

    Find out to fix "fatal: remote origin already exits" github error while working with remote git repository.

  122. Force update Vue to Reload/Rerender component

    Short tutorial on how to correctly force update Vue.js component to reload or rerender. The component is reinitialized without having to do a browser refresh.

  123. Solved "No such remote origin" Git Error Fatal

    Short article on how do I fix remote origin already exists git error faced when trying to push to remote origin in Github and BitBucket.

  124. Set and get cookies in a browser in Vue App

    Find out how to set and get cookies in a browser for your webpage in Vue using vue-cookies package.

  125. Save vuex state after page refresh in Vue App

    Short tutorial on how to save (or persist) data in a vue application using Vuex and vuex-persist npm package.

  126. How to convert markdown to PDF offline with Pandoc Converter

    Find out how to convert or merge two or more markdown files into a pdf format in windows and MacOs using command line in Pandoc document converter.

  127. How to add common header and footer in Nuxt

    Short post on how to add common header and footer component for all your pages in your nuxt application using layouts directory.

  128. Add style to v-html with scoped css in Vue

    Find out how to use deep selectors to add style in v-html with scoped css in sass and regular css in Vue.

  129. Use emoji as list bullet points using CSS list-style

    Find out two different ways to use emoji as bullet point using list-style in CSS with the help of :before pseudo-element and @counter-style CSS at rule.

  130. Convert Kilometers to Miles using JavaScript program

    Find out how to write a JavaScript function that takes a number and converts kilometers to miles i.e km to mi.

  131. Split a String into chunks of N character into an array in JavaScript

    Find out how to split String into Substrings by length of N characters in JavaScript using split(), match() and substr() methods.

  132. How to split string after specific character in JavaScript

    Find out how to split the string at specific character in your string using split() method in JavaScript.

  133. How to add 404 page in Vue using vue-router

    Find out how to add a custom 404 (Page Not Found ) Error page in Vue using vue-router.

  134. How to redirect to another page in Vue

    Find out how to redirect URL to another page routes using redirect property in vue-router in Vue Js.

  135. How to conditionally bind class in Svelte

    Tutorial on how to conditionally bind dynamic classes in Svelte JS using curly braces.

  136. How to register a Global component in Vue 3 and Vue 2

    Short article on how to register a component globally in Vue 2 and 3 to be used in any component without importing in every component.

  137. Create multiline string in JavaScript | Split string to Multilines

    Find out how to create multiline string in JavaScript using string concatenation, blackslash and template literals.

  138. Easy Way to add Emoji in markdown with VS Code

    Find out how to add emoji in your markdown document in VS Code using markdown emoji or emojisense plugins.

  139. How to open markdown link in new tab

    Article on how to open a markdown link in a new tab in browser using target="_blank" in the ahref link.

  140. How to change image size in markdown in GitHub

    Find out different ways on how to change or resize image size in markdown for GitHub profile. Learn to change markdown image size using CSS style.

  141. How to remove an item from array in Vue component

    Find out how to remove an item/element or an object from an array in Vue using splice() and filter() method.

  142. Fix - Cannot use import statement outside module Error in Node

    This article about how to resolve cannot use import statement outside a module error in plain JavaScript and node.

  143. How to write comments in a Markdown File

    Find out the different ways to add comment in a markdown file, so that it wont show up in HTML output of your web page..

  144. How to underline in markdown

    Find out how to underline a text in markdown using the <u> tag in HTML.

  145. How to do text highlight in markdown

    Short article on how to do text highlighting in markdown using <mark> tags or double equal sign in our editor.

  146. How to use setTimeout with Vue | Equivalent of setTimeout() function.

    Find out how to use setTimeout() function in Vue js application.

  147. Only show slot if it has content with Vue.js

    Find out how we can only show slot if it has content in it using $slot property in Vue Js.

  148. How to center align an image in markdown

    Short article on how to center align an image or text in markdown language using align attribute of html.

  149. How to convert markdown files to PDF in VSCode

    Find out how to convert your markdown files and export it as pdf using Markdown PDF plugin in VSCode.

  150. How to make horizontal line in markdown

    Short article on how to make horizontal line in markdown using the hyphens, asterisks, or underscores on a line.

  151. How to write superscript and subscript in markdown

    Find out how we can write superscript and subscript in markdown using html <sup> tag and <sub> tag.

  152. Call a Vue Method on page load in Vue JS

    Short article on how to call a method/function on page load in Vue JS to fetch data or to initialized something using created and mounted hook.

  153. How to remove node_modules from github or bitbucket

    Step by step process to remove node_modules from github or bitbucket after the folder is added to the repository with the help of gitignore file.

  154. How to change the color of <hr> tag using CSS

    Here we will learn how to change the color or the background color of HR element in out html using css style.

  155. How to display JavaScript variable value in HTML

    Short tutorial on how to display JavaScript variable values in HTML using three ways , using innerHTML, document.write() and window.alert().

  156. Get value from input using on change in Vue

    Short tutorial to get the value from an input field to trigger an event/function on change using @input event handler in Vue.

  157. How to get data from the child component in Vue

    Find out how to get or access the data from the child component using the $ref directory in Vue.

  158. How to allow input type=file accept only images

    Find how to allow input field type=file accept only a particular type of file, here only images from users.

  159. Add CSS style to input type=file | Custom file input

    Short tutorial to add css styles to input type=file field on a website using : :file-selector-button pseudo selector for **Webkit/Blink** browsers.

  160. How to pass data from parent component to child using props in Vue

    Find out how to send data from parent component to child component using props in Vue.

  161. Execute a function from child component in Vue

    Find out how we can execute a function in the parent component from the child component using emit function in Vue.

  162. Find the average of n numbers using JavaScript

    Tutorial to write a JavaScript function to find the average of n numbers of items in an Array using JavaScript.

  163. How to find the median value of an array using JavaScript

    Short tutorial on how to find median of odd and even numbers of values in an array using JavaScript.

  164. How to pass data from child to parent component in Vue JS

    Find out how we can pass data from a child component to a parent component using the built-in $emit function with custom event in vuejs .

  165. JavaScript - Show and hide div on button click using JavaScript

    This post is about how to show and hide a div on button click using JavaScript. We will change the CSS property of the element using JavaScript to hide and show the content.

  166. How to read text file in JavaScript (line by line)

    This article is about how to read text file in JavaScript line-by-line from local computer using Html input field.

  167. Enable or Disable button programmatically using JavaScript

    This article is on how to programmatically enable or disable button using JavaScript.

  168. Detect Dark Mode | Color Mode Change using JavaScript and CSS

    Find out how to detect dark mode and detect mode change using JavaScript and CSS in modern browsers like chrome, edge, firefox.

  169. Check if a HTML checkbox is checked using JavaScript

    Find out how to check if the checkbox is checked or not using JavaScript.

  170. Change Text Color Using JavaScript with Example

    This post is about how to change color of text in HTML using JavaScript with and without clicking a button.

  171. JavaScript: Change Background Color of a Webpage.

    Find out how to change the background color of the body tag or a div in a web page using JavaScript.

  172. How to add CSS border inside a div element

    Find out how to add a border inside a div element using CSS box-sizing, outline property and box-shadow inset property.

  173. How to bind text, html and attributes in Svelte

    Short tutorial on how to bind text, html and html attributes in Svelte and render it on our html templates.

  174. How to create a project in Svelte JS

    Short tutorial on how to create a project in Svelte Js and install all its dependencies and create your first app with Svelte Front-end framework.

  175. Fix- 'unexpected console statement (no-console)' Error in Node and Vue

    Short article on how to fix "unexpected console statement (no-console)" error in NodeJs and Vue using .eslintrc.js file and eslintConfig.

  176. Best way - Split an array into half in Javascript

    To divide an single array into half i.e into two different arrays without modifying the original array we can use Array.slice() method in JavaScript.

  177. Get multiple elements by Id using JavaScript

    To select elements by multiple Ids using JavaScript we have to use document.querySelectorAll() method instead getElementById() method in JavaScript.

  178. Fix - "fatal:refusing to merge unrelated histories" git error

    This article is about how to resolve or fix fatal:refusing to merge unrelated histories git error.

  179. Resolve - node unexpected token import error in Nodejs

    Article on how to resolve SyntaxError: Unexpected token import error in nodejs using type require instead of import and setting type attribute to module in package.json file.

  180. Update Parent data from child component in VueJs

    This article is about how to update parent data from a child component in vuejs. We will use custom events to pass data from child to parent component.

  181. Trigger an event on route change in Vue | VueJS

    This article is about how we can trigger an event when we change routes in vueJS. We will use watch method and beforeRouteUpdate guard to detect the changes in routes.

  182. Set URL Query Params In Vue 2 Using Vue-Router

    Short tutorial on how to set URL query params in Vue with Vue-Router using router-link, router.push and router.replace

  183. [Solution] Add External Script Tags in Vue JS component

    The article is about how to add external Js script in Vue component. We will be using mounted() and two modules to add script tags in vue locally.

  184. How To Add Multiple Classes in VueJS | Class Binding

    Vuejs tutorial on how to add or bind multiple classes dynamically in Vuejs using v-bind directive.

  185. Call Vue Component Method from Outside the Component

    Find out how to call a method in a component from outside the component in Vue. Calling a child component method from the parent component.

  186. Pass multiple objects as props in Vue

    Short tutorial on how to pass multiple objects as props to a child component from parent in vue using v-for directive.

  187. How to pass multiple props to component in Vue

    Short article on how to pass multiple props to a component in vue using v-bind.

  188. How to use computed property for v-for in Vue JS

    Quick tutorial about Vue computed property and how to use computed property value for v-for in Vue.

  189. How to reference static image assets in Vue JS

    Learn how to reference images from assets folder in Vue template using Webpack's require() method or using the relative path.

  190. Trigger a button click on pressing Enter in Vue

    Quick tutorial on how to trigger a button click in a form on pressing Enter on keyboard in Vuejs.

  191. Create Confirmation Alert Box with YES and NO options - JavaScript

    Find out how to create confirmation dialog box to confirm yes or no in JavaScript using confirm() method.

  192. Set page title dynamically in Vue JS

    Short article on different methods to set document title dynamically using document.title property or vue-meta packages in Vue JS application.

  193. Update component when we change route in Vue

    Short tutorial on how to update the component whenever the route is changed in Vue to re-render the page and fire the created() or the mounted() hook.

  194. How to listen for props changes in VueJS?

    This article is about how to listen for prop changes in vue. We will be vuejs watcher or watch property to listen for any changes in props.

  195. YAML Comments - Inline And Block Comment

    This article is about YAML commenting and how to do inline or block multi-line comment in a YAML file.

  196. Horizontal scrolling div with arrows using HTML and CSS

    Tutorial on how to make horizontal scrolling div with arrows using html and css and for smooth scrolling we will use scrollBy() function in Javascript.

  197. What is insertAdjacentHTML() ? How to use it?

    Tutorial on Javascript insertAdjacentHTML() method and how can we use it to insert html elements to specific position in our HTML page.

  198. How to add empty folder/directory in Git

    Find out how to add an empty folder/directory in our github repository to be tracked by git using .gitignore , .gitkeep and readme file.

  199. How to check Git email address and username in terminal?

    This article is about how to check GitHub email address and username from your terminal in windows and Mac.

  200. How to save username, email and password globally in Github?

    This post is about how to save username, email and password globally in Github using terminal.

  201. How to Create New Folder in Github Repository?

    This article is about how to create or add new folder in github repository directly from the web browser.

  202. Open Github repository in VS Code in Online

    This article is about how to open any github repository in VSCode in our browser online without the need of cloning the repo.

  203. Get user location from browser using JavaScript

    Tutorial on how to get user location like latitude and longitude from our browser using geolocation() function in JavaScript.

  204. Fixed Error - npm ERR! missing script: dev

    Find out how to fixed npm error, npm missing script dev while running the node serve in your javascript node project.

  205. How to make a placeholder for select box in HTML

    Short tutorial on how we can add placeholder text for the select option element for dropdown in Html without CSS.

  206. How to add Google Analytics in Vue?

    Short tutorial on how to integrate google analytics in our vue application. we will be using vue-gtag npm module to add analytics Id in our website and application.

  207. How to uninstall npm modules in NodeJS

    Short article on how to uninstall npm modules locally and globally from your computer completely.

  208. [Fixed] npm WARN : No description field in Node

    To fix npm warning - npm WARN: no description field from our node projects. we have to add description in the package.json file.

  209. How to get list of globally installed npm packages

    To get the list of npm packages installed globally in your computer, we have to use -g flag along with npm list command.

  210. How to make dashed line using HTML and CSS

    Short tutorial to make dashed line in HTML using hr tag and CSS repeating-linear-gradient() function.

  211. Convert seconds to minutes and seconds (mm:ss) using JavaScript

    Find out how to convert seconds to minutes and second format mm:ss using toString() and padStart() in JavaScript.

  212. Merge Two Arrays and Remove Duplicates - JavaScript

    Tutorial on how to merge two or more array and remove duplicates in JavaScript.

  213. Replace all occurrences of a string in JavaScript

    Tutorial on How to replace all occurrences of a string in JavaScript using replace() with regular expression (regex)

  214. Use Array forEach() to loop through JavaScript object

    FInd out how to use forEach in an object and return key, value and also convert it's properties to an array using JavaScript.

  215. Fixed Error: npm cannot find module error in NodeJS

    This article is no how to resolve npm cannot find module in nodejs. It is a very common error in javascript require method.

  216. JavaScript - Convert Days to Seconds

    Tutorial to write a program to convert days to seconds using JavaScript.

  217. How to make a collapsible list in html without JavaScript

    Short article on how to make a expand / collapse html div without using JavaScript. We can use details and summary tag to create a collapsible div.

  218. How to Get the ID of a Clicked Button or Element in JavaScript

    Find out how to get the id of a button when clicked in JavaScript using onclick event listener and passing on the this.id or this.target.id.

  219. JavaScript - How to export multiple functions from a file

    In this article, we will be covering how we can export and import multiple functions in JavaScript.

  220. How to find exponent power of a number in JavaScript

    Find out how to get the exponent power of a number with and without using the Math.pow() method in JavaScript.

  221. How to multiply all numbers in an array using JavaScript

    Quick tutorial on how to multiply all the elements in an array using iterative i.e loop and reduce method in JavaScript.

  222. Return multiple values from a function in JavaScript

    Tutorial on how to return multiple values i.e more than one value from a function in JavaScript.

  223. How to check if String contains only spaces in JavaScript

    Quick way to check if a string contains only spaces or have empty string using trim() and regular expression using JavaScript.

  224. Round to the nearest hundredth of a decimal in JavaScript

    FInd out how to round off an floating value i.e a decimal number to the nearest hundredth using Math.round() and toFixed() method in javascript.

  225. Align the elements of <input> tag to center on HTML

    Find out how to align the element of the input tag to center on the html page using inline style and css.

  226. JavaScript hasOwnProperty() method of an Object

    Tutorial about the Javascript hasOwnProperty() method of an object, its use, advantages and limitations.

  227. How to set a default value to input with a v-model in Vue

    Find out the simple way on how to set a default value to input with v-model in vue.

  228. 5 ways to convert string to number in JavaScript

    Find out how to convert a string to a number in JavaScript using parseInt(), parseFloat(), unary plus and math.round method.

  229. Firebase 9 - How to detect first time login of new user using googleAuth

    Find out how to detect first time login of a new user using googleAuth in firebase 9.

  230. How to declare global variable in Vue JS

    Find out how to set and declare global variables in vue js 2 and vue 3 to access the variable any where in the project.

  231. How to convert a decimal number to an integer in Vue

    Short article on how to convert an decimal number to an integer in Vue using parseInt method.

  232. Fill array with incrementing numbers/ intergers using JavaScript

    Find out how to fill an array with incrementing numbers/integers using JavaScript's for loop and Array.from() method with keys().

  233. How to add background image with gradient overlay in CSS

    Short tutorial on how to add background image with semi-opaque / semi-transparent gradient over the image using CSS.

  234. How to remove bullets from unordered list using CSS

    Find out how to remove bullets from an unordered list using CSS property.

  235. How to disable the resizable property of a textarea

    Short article on how to disable the resizable property of a textarea using CSS property resize.

  236. How to add getter to an existing JavaScript Object

    Short tutorial on adding a getter to an existing JavaScript object using Object.defineProperty method.

  237. How to Remove Underline from Links in Bootstrap.

    Find out how you can remove underline from links in bootstrap using CSS or simple using bootstrap class.

  238. How to redirect to another web page/ website using JavaScript

    Find out how to redirect to another web page or website using JavaScript location object

  239. Hide and Show element in Vue js - Toggle visibility

    Find out how to hide/show element on vue using inbuilt directives like v-if and v-show and class binding.

  240. How to get value from JSON object in JavaScript

    Short article on how to get or fetch a value from a JSON object in JavaScript using JSON.parse() method.

  241. Pretty Print JSON Programmatically using JavaScript

    Find out how to beautify or pretty print a JSON string Programmically in JavaScript.

  242. How to add dynamic Key to an object in JavaScript

    Short tutorial on how to create and add dynamic key to an object in JavaScript using bracket syntax and ES6 methods.

  243. Check if multiple values exists in an array using JavaScript

    Tutorial on How to check if multiple values exist within an JavaScript array using includes(), every() and indexOf() method.

  244. Convert a Unix timestamp to time in JavaScript

    Find out how to convert a unix timestamp to time format in JavaScript using toLocaleTimeString() method.

  245. How to remove a property from an object in JavaScript?

    This article is about how to remove a property from an object in javascript using delete operator.

  246. Convert array to string with brackets and quotes in JavaScript

    Short article on how to convert an array to a string while preserving brackets and quotes.

  247. How to get current route name in VueJs?

    Find out how to get the current name of the route and the path in Vue 2 and Vue 3.

  248. Open router link in a new tab in Vue

    Learn how to open router-link or external url links in a new tab / window in Vuejs

  249. Change default port number in Vue CLI App

    Short article on how to change the default port number i.e 8080 in vue-cli via terminal and package.json file.

  250. How to Check null Values in JavaScript? | isNull() JavaScript

    Find out how to check if object values is null in JavaScript using isNull() function.

  251. How to stop and exit a Function In JavaScript?

    Find out how to stop or exit a function in javascript using return statement or try catch statement.

  252. Compare Two Strings in JavaScript | String Comparison

    Tutorial on how to compare two case insensitive strings in JavaScript. Using localeCompare() to do string comparison with case-sensitive strings.

  253. How to write isNumber() in JavaScript?

    Tutorial on how to code a isNumber() function to check if a value is a number or not in JavaScript.

  254. How can I do String interpolation in JavaScript?

    Article on different ways we can do string interpolation in JavaScript using template literals or string templates.

  255. How to remove hashbang (#) from URL in Vue ?

    Short tutorial on how to remove the hash from the page URL in VueJS with Vue Router 3 and 4

  256. How to update vue-cli to latest version?

    Article about how to update vue-cli from version 2 to latest versions like Vue CLI 3 or 4.

  257. JavaScript - How to Remove Character From A String.

    Find out how to remove character from a string in JavaScript using replace() and split and join method.

  258. Compare Elements of Two Arrays in JavaScript

    Find out how to compare elements of two arrays in JavaScript using JSON.stringify(), toString(), every() or Lodash and uderscorejs.

  259. Get Tomorrow's Date using JavaScript - Quick Way

    Tutorial on how to get tomorrow's date using JavaScript and momentjs library

  260. Npm update all dependencies in NodeJS

    Article on how to npm update all dependencies to latest version in Nodejs.

  261. Check if String Is a Number or Not in JavaScript

    Tutorial on how can I check if a string is a valid number or not in JavaScript.

  262. Include external CSS file in Vue.js component

    Tutorial on how to include external or local css in vue globally or only in one component.

  263. Generate Random Number in a specific range in JavaScript

    This post is about how to generate random number in a given range in JavaScript.

  264. How to change git username and password on PC

    This post is about how to change git username and password locally and globally in your computer.

  265. [Solve] npm WARN package.json: No repository field

    This article is about how to solve npm warn package.json: no repository field in our nodejs applications.

  266. Copy text from an HTML element to clipboard-JavaScript

    This article is about how to copy text from an html element to clipboard using JavaScript. You can copy from element with input field.

  267. How to Remove Last Character from a string in javascript

    This article is about how to remove last character from a string using JavaScript using splice() and substring() method.

  268. Code on how to get Yesterday date in JavaScript

    This article is about how to get yesterday's date in JavaScript. We will get current date using new Date() and the substract one day from it.

  269. Remove first and last element from an array in JavaScript

    This article is about how to remove first or last element from an array in JavaScript using in-built functions like pop(), shift() and splice().

  270. SyntaxError: Unexpected end of JSON input in JavaScript

    This article is about how to fix SyntaxError: unexpected end of JSON input error in Javascript while using JSON.parse() method.

  271. How to fix "npm ERR cb() never called" | Quick Fix

    learn how to fix npm ERR cb() never called error in nodejs easily. This methods will solve the error from node and npm easily.

  272. Uninstall/Remove package using Yarn

    This article is about what are the best practices that we can follow to yarn remove package and update yarn.lock file properly.

  273. Sort an array of String with non-ASCII characters.

    This article is how to sort an array of string with non-ASCII characters. Using localeCompare() we can sort mixed array with non-ascii characters.

  274. How to Remove Trailing Slash from URL in Nuxt + Netlify ?

    This article is about how to remove trialing slash from URL in nuxt js hosted in Netlify as server.

  275. How to add external script tag in head in Nuxt

    To add external javascript script in nuxt we have to add the script tag with src in the head() method.

  276. How do I wrap text in <code> tag HTML

    This article is on how to wrap text in code tag in html. We will use white-pace, word-break and word-wrap CSS property to get our result.

  277. Convert image to webp in nuxtjs | Image Optimization

    To optimize an image in nuxt we have to use the @nuxt/image module. It can convert an image to webp format in nuxt application.

  278. Hide Admin Path on Deployment in NetlifyCMS.

    This article is about how to hide admin route in Netlify CMS on deployment of the site. It will not allow us to access the admin dashboard of netlify when the site is live.

  279. How to run Netlify CMS admin locally?

    This article about how to run the NetlifyCMS admin locally in your PC. We can run netlify cms admin in localhost using netlify-cms-proxy-server.

  280. How to add dynamic HTML attributes in VueJS ?

    This article is about how to add dynamic HTML attributes in VueJS . The v-bind helps us to add any attribute to our HTMl while working in vue.

  281. 3 Ways to Combine Multiple Strings into a Single String | Concatenate Strings

    This tutorial is about how to combine or join multiple strings in to a single string in javascript. we will learn three ways to concatenate add string in javascript.

  282. 3 Ways to generate random string/characters in JavaScript

    We will learn about three ways on how to generate random strings/characters in javascript. We will use Math.random() method, shortid npm module and inbuilt method toString() method in javascript.

  283. How to create Multiline string in JavaScript?

    This article is about how to create multiline string or comment in javascript. To create multil-ine string we will be using template literals in javascript.

  284. Default value for prop function in VueJS

    The article is about how to set default value for function prop in vuejs. For props like Function and O

  285. How to set default value of props in VueJS ?

    This article is on how to set default values in props in VueJS. Default values are used when the props are not passed from parent component to its child component.

  286. How to add custom static 404 error page in Nuxt ?

    This article is about how to add a custom static 404 page in our nuxt application. 404 error page willbe the fallback page if a page is not found in the static site.

  287. How to Add Syntax Highlighting PrismJS to Nuxt

    This article is about how to add a code syntax highlighter PrismJS to Nuxt and configure PrismJs theme in NuxtJS.

  288. Convert javascript array to object of same keys/values

    This article is about how to convert javascript array to object of same keys/values. To convert the array to object of same keys/values pair we will use reduce() method in javascript.

  289. How to convert an array to object in javascript?

    Here, we will learn how to convert an array into an object in javascript. we will use Object.assign() method and spread operators to convert it to an object.

  290. How to access LocalHost on your mobile device?

    Here, we will learn how to access LocalHost in your mobile browsers and views your website running on LocalHost from your mobile.

  291. Prevent body from scrolling when a modal is opened.

    Here, in this article we will learn on how to prevent body from scrolling when a modal is opened using javascript and wheel eventListener. It will disable the scroll when the modal is open.

  292. Disable scrolling Behaviour on a body with element on position fixed in mobile.

    In this article we will learn on how to disable the scroll behaviour of a body on a element with position fixed on mobile devices..

  293. How to add Google Analytics 4 in Nuxt Application?

    This article is about how to add google analytics 4 in our nuxt application. we will see about adding Google Analytics 4 in this article too along with the Universal Id version.

  294. How to check Nuxt Version Easy and Quick

    In this tutotrial, we will see how we can check the nuxt version quickly using the terminal or from the package.json file.

  295. How to redirect to external url in vue

    Here we will learn how to redirect to an external url or link in vuejs. We will be using window inbuilt property, window.location.href to redirect to an external URL.

  296. How to call a function in VUE template?

    Here we will define and call a function in vue template. We need to define a function in methods and use a click event to call the function from the template.

  297. How to add common header and footer in vuejs.

    In this article we will learn how to import a common header and footer component in our vuejs application. We can do it by global reference and local reference.

  298. Convert date to long date format using Javascript

    Learn how to convert a date to a long date format using Javascript. To convert it to a long format we will be using a toLocaleDateString() method in javascript.

  299. Get the 10 characters from a string using Javascript.

    How to get the first 10 character from a string using Javascript. Here we will extract the first 10 character from a string using the substring() method in javascript.

  300. How To Add Defer And Preload in script and link tags in Nuxtjs Application

    This post is about how we can add defer and preload in script and link tags in our nuxtjs application to improve the performance of the pages.

  301. [FIX] Your Git Gateway backend is not returning valid settings. Please make sure it is enabled.

    how to fix the error Your Git Gateway backend is not returning valid settings. Please make sure it is enabled in netlify cms

  302. How to generate sitemap for dynamic routes in nuxtjs application

    Here we will create sitemap in nuxtjs application. Learn to generate sitemap for dynamic routes in your nuxt project.

  303. How to make list of objects in Netlify CMS using list and object Widget

    In this tutorial we will learn how to make list of objects for netlify cms using list widget and object widget

  304. How To Add Google Font in Nuxt Application

    Here in this article we will see how to add google font in nuxtjs application

  305. How To Add Font Locally In Nuxt App

    Add font locally in nuxtjs project, put the font file in assests folder and use @font-face css property to use it in the project.

  306. How To Add Robots.txt in your Nuxtjs Application

    Here in this article we will see how to add robots.txt file in nuxtjs application while building or generating the website.