JQuey in native JS
This project involves creating a custom JavaScript class that replicates some of the key methods of jQuery, focusing on DOM manipulation and event handling. By doing this, I aim to reduce the dependency on external libraries like jQuery, which, while powerful, includes a lot of unnecessary code for modern browsers and projects. This custom class allows for a more lightweight and modular approach, including only the specific methods required for the project, thereby improving both performance and flexibility. Moreover, it offers the advantage of complete control over the functionality, enabling tailored adjustments to fit project-specific needs.
One of the primary goals of this project is to deepen my understanding of the DOM and modern JavaScript APIs, such as querySelector, addEventListener, and classList. These built-in features allow for efficient and straightforward DOM manipulation, without the overhead of a larger library. By creating my own version of commonly used jQuery methods, I can streamline the code, making it more maintainable and optimized for modern browsers, while also removing unnecessary features designed for older, obsolete environments.
To avoid conflict problems the base variable will be $$.