Get last element of Array in Javascript
You can always do it in the fastest way. If performance is a deal breaker for you where…
Category
Frontend development is building the part of a website or app that runs in the browser, using HTML for structure, CSS for presentation and JavaScript for behaviour. Modern frontend work adds component frameworks such as React, build tools, accessibility and performance tuning for Core Web Vitals. The aim is an interface that loads fast on any device and stays maintainable as features pile up.
72 articles
You can always do it in the fastest way. If performance is a deal breaker for you where…
As the digital world becomes increasingly sophisticated, developers must continuously hone their skills to keep up with these…
Pseudo elements and pseudo classes let you style states and parts of an element that plain selectors cannot…
When developing web applications, there are often times when you need to pass data from the server-side (PHP)…
How I load data without a page refresh using jQuery AJAX: .load() with a fragment selector, a JSON…
The jQuery interview questions I would ask, with short model answers and code run on jQuery 1.11.0: attr…
Let’s be honest: jQuery has been a lifesaver. For years, it smoothed over the rough edges of cross-browser…
How I use jQuery Deferred and promises to tame async code: resolve, reject and notify, .then() chaining, $.when…
As web applications become more complex, the way we structure our JavaScript code matters more than ever. If…
How I set up jQuery form validation with the Validate plugin: rules and messages, class-based rules, submitHandler, a…
How I use jQuery .each() and $.each() on elements, arrays and objects: break and continue, the this trap,…
How I handle events in jQuery 1.9: .on() vs .click(), delegation for elements added later, this vs e.target,…
How I track down "jQuery is not defined" and "$ is not defined" in two minutes: six real…
How I choose between jQuery append, prepend, html and text: insert positions, return values, moving vs cloning, why…