Playwright and Mojolicious - DEV Community
It's Hack Week again at SUSE. 🥳 An annual tradition where we all work on passion projects for a whole... Tagged with mojolicious, perl, javascript, node.
JustSketchMe | Free interactive 3D characters for reference poses.
Free interactive 3D characters for reference poses.
Also mannequin.js
Improve Your JavaScript Level With These 4 Questions | by bitfish | JavaScript In Plain English | Sep, 2020 | Medium
JavaScript is now a very popular programming language, based on which a large number of libraries and frameworks have been derived. But no matter how the upper ecosystem evolves, it can’t do without vanilla JavaScript. Here I’ve selected 4 JavaScript interview questions to test a programmer’s skill of vanilla JavaScript.
GitHub - duetds/date-picker: Duet Date Picker
Duet Date Picker is an open source version of Duet Design System’s WCAG 2.1 compliant date picker. Duet Date Picker can be implemented and used across any JavaScript framework or no framework at all. We accomplish this by using standardized web platform APIs and Web Components.
Essential Cheat Sheet: Convert jQuery to JavaScript
After reading your article, I am more convinced than ever to stick with jQuery.
Javascript regular expressions aren’t that daunting — here’s how to design your own
Fixing memory leaks in web applications | Read the Tea Leaves
Modern web app frameworks like React, Vue, and Svelte use a component-based model. Within this model, the most common way to introduce a memory leak is something like this:
window.addEventListener('message', this.onMessage.bind(this));
That’s it. That’s all it takes to introduce a memory leak. If you call addEventListener on some global object (the window, the
, etc.) and then forget to clean it up with removeEventListener when the component is unmounted, then you’ve created a memory leak.javascript/README.md at master · airbnb/javascript · GitHub
A mostly reasonable approach to JavaScript
Note: this guide assumes you are using Babel, and requires that you use babel-preset-airbnb or the equivalent. It also assumes you are installing shims/polyfills in your app, with airbnb-browser-shims or the equivalent.
ESLint configuration and best practices
If you've never heard of Airbnb style guide, I highly recommend that you take a look at the following pieces of documentation:
- Airbnb JavaScript style guide
- Airbnb React style guide
- Airbnb CSS in JavaScript style guide
- Airbnb Sass style guide
Mastering JS console.log like a Pro - JavaScript in Plain English - Medium
Use placeholders
There are different placeholders that can be used as listed below
%o — which takes an object,
%s — which takes a string, and
%d — which is for a decimal or integer
Interviewing at Microsoft— JavaScript Assessment Questions
Below are 3 questions from Microsoft’s Online Assessment 2019 for developers
JavaScript Design Patterns - Better Programming - Medium
The underlying concept of design patterns has been around in the software engineering industry since the very beginning, but they weren’t really so formalised. Design Patterns: Elements Of Reusable Object-Oriented Software written by Erich Gamma, Richard Helm, Ralph Johnson, and John Vlissides — the famous Gang of Four (GoF)—was instrumental in pushing the formalised concept of design patterns in software engineering. Now, design patterns are an essential part of software development and have been so for a long time.
GitHub - lydiahallie/javascript-questions: A long list of (advanced) JavaScript questions, and their explanations
I post multiple choice JavaScript questions on my Instagram stories, which I'll also post here! Last updated: December 24th
From basic to advanced: test how well you know JavaScript, refresh your knowledge a bit, or prepare for your coding interview! muscle rocket I update this repo regularly with new questions. I added the answers in the collapsed sections below the questions, simply click on them to expand it. It's just for fun, good luck! heart
Using the DOM like a Pro - ITNEXT
The legacy of jQuery is quite impressive and a great example of how it influenced the standards are the querySelector and querySelectorAll methods which mimic jQuery’s $ function.
You can use document.querySelectorAll in the same way as document.querySelector. Any valid CSS selector will do and the only difference is querySelector will return a single element whereas querySelectorAll will return a static NodeList containing the found elements. If there are no elements found it will return an empty NodeList.
You don’t necessarily need to run querySelector(All) on document. You can run it on any HTMLElement to run a relative search:
Cheat sheet for moving from jQuery to vanilla JavaScript | Tobias Ahlin
With browser support of ES6 having reached more than 96%, it might be a good idea to move away from jQuery to accomplish basic tasks like fetching data, selecting elements, styling and animating them, as Tobias Ahlin argues.
50 Things You Should Know Before Going to a JavaScript Developer Job Interview
TDD Changed My Life – JavaScript Scene – Medium
What is TDD?
TDD stands for Test Driven Development. The process is simple:
- Before you write implementation code, write some code that proves that the implementation works or fails. Watch the test fail before moving to the next step (this is how we know that a passing test is not a false positive — how we test our tests).
- Write the implementation code and watch the test pass.
- Refactor if needed. You should feel confident refactoring your code now that you have a test to tell you if you’ve broken something.
28 Relevant Javascript Interview Questions Part I - The first 4
For the past 12 years, I have been on both sides of the Front End Interview table. Sadly though, the emphasis is always put on Javascript during those rounds and the two other important languages - HTML and CSS - are not usually given the same weight.
When (and why) you should use ES6 arrow functions — and when you shouldn’t
Arrow functions (also called “fat arrow functions”) are undoubtedly one of the more popular features of ES6. They introduced a new way of writing concise functions.
JavaScript Async - The Callback & The Controller
Events are the first place you are likely to meet asynchronous functions, but once you have events and an event dispatching system you can't stop there. Any long running function has to be implemented as an asynchronous non-blocking function if the UI is to remain responsive. This causes all sorts of difficulties that go beyond events and event handling.