4. Custom Jquery - rolling-scopes-school/RS-Short-Track GitHub Wiki
Folder Name | Branch | Coefficient |
---|---|---|
custom-jquery | custom-jquery | 0.8 |
Custom Jquery
Your task is to implement a 'custom' version of jQuery library following the next requirements:
- You should use ES6+ features (any feature supported by the latest stable Chrome).
- Please reuse as much of your code as you see fit.
- You are allowed to use your
custom-lodash
if needed. No other libraries are allowed.
Methods to implement:
See tests
Example usage
$(".my-class")
.each(function (index) {
$(this).html("<b>" + index + "</b>");
})
.append($("div"))
.css({
backgroundColor: "rebeccapurple",
});