Skip to main content

Command Palette

Search for a command to run...

What is SNAKE CASE

Published
•1 min read
What is SNAKE CASE
D

I am 17 years old and a young passionate and self-taught frontend web developer and have an intention to become a successful developer. I usually write about JavaScript and Web Development and share some tips in the articles.

You have heard about Uppercase and Lowercase, right?

But probably you haven't heard about Snake case

Not a problem if you haven't, today I am going to talk about that in this article...

Let's gets started,

Snake case is a special styling of writing in which each space is replaced by an underscore

How to implement SNAKE CASE in JavaScript

const snake = text.replace(/\s/g, '_');

Check out the live demo - https://codewithsnowbit.github.io/snakefy/


Thank you for reading!

39 views

More from this blog

D

Dhairya Shah

119 posts