Javascript

Javascript

340 bookmarks
Newest
Array cheatsheet Javascript
Array cheatsheet Javascript
Variables in Javascript allow only one data to be stored at a time. However, given that it is often...
·dev.to·
Array cheatsheet Javascript
How to create an object from an array of data
How to create an object from an array of data
A few months ago, I saw someone one Twitter ask: Can we create an object by looping on some data 🤔 Today, I wanted to write about how to do just that. Let’s dig in! An example of some data Let’s imagine you got back an array of data from an API service called WizardSchool. It provided you with a list of wizards. Each wizard in the array is itself an object that contains the wizard’s name, and an array of spells that they know how to cast.
·gomakethings.com·
How to create an object from an array of data
What are HTTP methods and what do they do?
What are HTTP methods and what do they do?
Today, I’ve got one last excerpt from my new pocket guide and video course on Serverless with vanilla JS. We’ll be looking at HTTP methods: what they are, and when to use which one. Let’s dig in! What are HTTP methods? HTTP methods are verbs that describe the type of request you’re making to an endpoint. The five most common are GET, POST, PUT, DELETE, and OPTIONS. GET - Retrieve data from an API endpoint.
·gomakethings.com·
What are HTTP methods and what do they do?
Vanilla JavaScript Code Snippets — Smashing Magazine
Vanilla JavaScript Code Snippets — Smashing Magazine
A guide to vanilla JavaScript code snippets — with resources and lightweight libraries to help you solve a problem without a large overhead or third-party dependencies.
·smashingmagazine.com·
Vanilla JavaScript Code Snippets — Smashing Magazine
Progress Nav with IntersectionObserver – Bram.us
Progress Nav with IntersectionObserver – Bram.us
In Table of Contents with IntersectionObserver on CSS-Tricks, Chris Coyier talks about sticky table of contents on long pages whose active state updates as you scroll. When talking about those, you can not not mention the wonderful Progress Nav by Hakim El Hattab. Final version of the progress nav! Switched to SVG and made it … Continue reading "Progress Nav with IntersectionObserver"
·bram.us·
Progress Nav with IntersectionObserver – Bram.us
Functional Programming in JavaScript for Beginners
Functional Programming in JavaScript for Beginners
Functional programming is not a new approach to coding, but it has grown in popularity in recent years. This is because, once programmers understand the basics behind the technique (and are able to write clean and reliable code using it), applications written using a functional approach are much easier to
·freecodecamp.org·
Functional Programming in JavaScript for Beginners
Download HeadJS
Download HeadJS
Use our automated wizard to generate privacy policy, terms and conditions, and other legal documents tailored for your website, mobile app or business.
·websitepolicies.com·
Download HeadJS
Demystifying Async Programming in Javascript • Yunchi's
Demystifying Async Programming in Javascript • Yunchi's
This blog post was first published as a codelab at https://github.com/button/codelab-async-js. Asynchronous programming in Javascript has undergone several evolutions, from callbacks to promises to generators, and soon to async/await. While each evolution has made async programming a little bit easier for those knee-deep in Javascript, it has made it rather intimidating to those new to all the little nuances of each paradigm to understand how to apply each, and just as importantly, how it all works.
·yunchi.dev·
Demystifying Async Programming in Javascript • Yunchi's