Codington
0 of 10 problems solved • 0%
Use in a course

Exercise prompt

Make Text Uppercase

The string method .toUpperCase() returns a new string with uppercase letters. It does not change the original string.

Example

const quiet = "welcome"; const loud = quiet.toUpperCase();

loud becomes WELCOME. Your exercise uses another message.

Your task

Create loudMessage from quietMessage using .toUpperCase(). Keep the original message available alongside the uppercase version.