+ 5

Uppercasing js

Is there a function that uppercases the words for you or do u have to do it manually

27th Mar 2019, 2:12 PM
ANONYMOUS
ANONYMOUS - avatar
6 Answers
+ 7
Use toUpperCase() method on strings to make words uppercase https://www.w3schools.com/jsref/jsref_touppercase.asp
27th Mar 2019, 2:54 PM
VEDANG
VEDANG - avatar
+ 6
ANONYMOUS do you mean alert()
27th Mar 2019, 5:01 PM
VEDANG
VEDANG - avatar
+ 4
i mean for a alert tag
27th Mar 2019, 3:10 PM
ANONYMOUS
ANONYMOUS - avatar
+ 4
ANONYMOUS I don't understand what you want to say? Is alert a tag?
27th Mar 2019, 4:10 PM
VEDANG
VEDANG - avatar
+ 4
can u make the alert tag bigger or no
27th Mar 2019, 4:58 PM
ANONYMOUS
ANONYMOUS - avatar
+ 1
alert() is not a tag it's a function and when js reaches the line where alert locates it pops up the value or argument you passed in if you want to change the value you passed in the alert function to uppercase letters you can use toUpperCase function
8th Jan 2022, 6:38 AM
Abdisa Alemu
Abdisa Alemu - avatar