joelnazarene

Untitled

Mar 4th, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.45 KB | None | 0 0
  1. <html>
  2. <head>
  3. <title>
  4. title
  5. </title>
  6. </head>
  7. <body>
  8. <script>
  9. var letters = 'So, today we have REALLY good day';
  10. var ltters = 'So, today we have REALLY good day';
  11.     for(var i = 0; i<letters.length; i++){
  12.        if(letters[i] === letters[i].toLowerCase()){
  13.            ltters = letters[i].toUpperCase();
  14.        }else {
  15.            ltters = letters[i].toLowerCase();
  16.        }
  17.  
  18. document.write(ltters);
  19.    }
  20.  
  21.  
  22.  
  23. </script>
  24. </body>
  25. </html>
Add Comment
Please, Sign In to add comment