String to Slug (Challenge)

# Introduction In web development, it is common to have URLs that contain readable words instead of random characters. These readable words are called slugs. Slugs are used to make URLs more user-friendly and easier to remember. In this challenge, you will create a function that converts a string to a URL-friendly slug.

|60 : 00

Click the virtual machine below to start practicing