On-screen keyboard in JavaScript

Let's implement an on-screen keyboard. It should have buttons with all the letters and numbers of the computer keyboard. By clicking on these buttons, we will be able to enter data, for example, when the keyboard is not working.

Implement the described keyboard. Let this keyboard be tied to some input, that is, by clicking on the keyboard, we will enter data into this input.

Make a Caps Lock button on your keyboard that all letters will be capitalized.