If you really do such low-end stuff exclusively, you should really be able to do it without the whole of jQuery. On the other hand, if you want to do more advanced front-ends, you should definitely go without jQuery and let a framework like preact or Vue manage the DOM for you.
Also, you should not use style or shorthands like .hide() unless there's no other option. Better set class names (like .hidden, [hidden]) and handle them in CSS.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
If you really do such low-end stuff exclusively, you should really be able to do it without the whole of jQuery. On the other hand, if you want to do more advanced front-ends, you should definitely go without jQuery and let a framework like preact or Vue manage the DOM for you.
Also, you should not use style or shorthands like
.hide()
unless there's no other option. Better set class names (like.hidden, [hidden]
) and handle them in CSS.