JavaScript Taskbook Level 10.3
Make an input that only accepts numbers. No other characters should be entered into the input.
Given a block. When clicked on, show a tooltip with some fairly long text. Show the tooltip either at the top or bottom, taking into account that it fits entirely on the screen and does not go under the scroll.
Given an array of six digits, check if you can assemble a winning ticket from these digits.
Given a rectangular table. By pressing the button, paint the cells of one diagonal red and the second diagonal green.
Write a code that will generate a password of a given size. The password must contain a lowercase and uppercase letter, a number, and some special symbol.
Given a browser window, make the elements that are entirely in the left half of the window turn green, those that are entirely in the right half of the window turn blue, and those that are in both turn red.
Given two numbers, display the process of dividing these numbers in a column, as in school.
Given a string containing two numbers and a mathematical operation between them:
'10 + 20'
Write code that will calculate the result of the written mathematical operation.