How to use addEventListnener in javascript to change text using toUpperCase method code example
Example 1: uppercase javascript
var str = "Hello World!";
var res = str.toUpperCase(); //HELLO WORLD!
Example 2: to upper javascrit
var str = "Hello World!";
var res = str.toUpperCase();