Strings

Lowercase Text

Lowercase Text

Programs often normalize labels before comparing or storing them. A lowercase copy keeps the original available while giving you a predictable version.

Your task: Create normalizedTag from the provided tag by converting it to lowercase. Log the normalized tag.

Free with a JS Exercises account

Sign in to start coding, run your solution, and keep your progress saved for later. No payment needed.

By continuing, you agree to our Terms and Privacy Policy. We'll send occasional product updates and news. You can unsubscribe anytime.

Lowercase Text

Programs often normalize labels before comparing or storing them. A lowercase copy keeps the original available while giving you a predictable version.

Your task: Create normalizedTag from the provided tag by converting it to lowercase. Log the normalized tag.

Free with a JS Exercises account

Sign in to start coding, run your solution, and keep your progress saved for later. No payment needed.

By continuing, you agree to our Terms and Privacy Policy. We'll send occasional product updates and news. You can unsubscribe anytime.

Console

Run code to see output.