Like when you click on the checkbox to close the block?

There is a task: There are blocks on the site with information and a checkbox. You need to make it so that when clicking on the checkbox, this unit is painted in yellow color and in a second disappeared.

How to do it?
Or where to find something similar?
July 9th 19 at 12:55
3 answers
July 9th 19 at 12:58
July 9th 19 at 13:00
you propose to solve this problem, download Libu 67 KB? - Ivory.Swift90 commented on July 9th 19 at 13:03
: If you made a web app, it is better to use some "high-level" libo than to invent a stunt bike, because without it, the examples a little harder can result in a mountain of js.
And there 21кб is passed, not 67. - Bianka0 commented on July 9th 19 at 13:06
The use of libraries - the architectural solution. If a novice, every response will be to advise the Taliban, its training project will become a hotbed of problems and the basics he will learn soon. In addition, the use of angular without knowledge about angular can also result in mountain ... of the questions on the toaster or the same js code. No, your decision is certainly good, but still. - Ivory.Swift90 commented on July 9th 19 at 13:09
July 9th 19 at 13:02

Find more questions by tags CSSHTMLJavaScriptjQuery