Capitalization button | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Capitalization button

I am working a a keyboard project. Im stuck on how to create theupper case button to make the next letter capitalized. I've tried using toUpperCase() but it tells me it is null. Im not sure where to go from here. Does anyone have ideas that could help?

18th Sep 2022, 9:24 PM
Tailor Tolar
Tailor Tolar - avatar
2 Answers
+ 3
It could help you if you put your code to see what the problem is
18th Sep 2022, 9:58 PM
NinjaGamer
NinjaGamer - avatar
+ 2
Without seeing code my best guess is that when you press the uppercase button it is not being given any arguments. You'll have to look at your code and ensure letters are being passed to the uppercase function
19th Sep 2022, 4:29 AM
Jason Kennedy