Convert String to Kebab Case with JavaScript

# Introduction In this lab, we will explore how to convert a given string into kebab case using JavaScript. Kebab case is a common naming convention in programming where words in a string are separated by hyphens. We will use regular expressions and array methods to split the string into words and then combine them using the kebab case format.

|60 : 00

Click the virtual machine below to start practicing