Everyday JavaScript (@Everyday__JS) profile picture

We are #JavaScript geeks sharing tutorials, quizes and updates in the JavaScript and Web Development Community. https://xitter.cf/t.co/Qg7L7422ho

Joined May 2020
Photo by Everyday JavaScript (@Everyday__JS)
Everyday JavaScript retweeted
Sharing my message on International Day of Yoga. xitter.cf/i/broadcasts/1djxXloOa…
1,280
8,843
282
37,427
1,573,537
Everyday JavaScript retweeted
CSS Tip! 🚀 Use CSS :has() to power a context-aware custom cursor experience 💪 :root:has(article:hover) { --active: 1; } .cursor { scale: var(--active, 0); transition: scale 0.2s; } Combo with mix-blend-mode 😎 JavaScript to power position 🤙 @CodePen link below! 👇
CSS Tip! 🤙 You could use CSS :has() to power a context-aware custom cursor experience 👆 :root:has(.player:hover) {--active: 1;} .cursor {scale: var(--active);} :root:has(.player:hover > [aria-label="Pause"]) .cursor-pause-icon { display: block; } @CodePen link below! 👇
8
128
5
950
213,532
Everyday JavaScript retweeted
I asked ChatGPT on how to put nested Angular form into smaller components which is working correctly :D
1
4
12
748
Everyday JavaScript retweeted
20. Continue Working On The Continue Working On feature supports starting in a Git repository in a local window and continuing in a remote window like a GitHub Codespace.
1
5
40
23,544
Everyday JavaScript retweeted
Replying to @mattpocockuk
Have you done a video of the emulation of opaque types in Typescript? (I think TS folks like to call these "brand" types or "brands") Essentially, they are aliases to a type like "string" or "number", but safe: EG: "type Currency = <numberish>" EG: "type Name = <stringish>"
1
1
24
2,014
Everyday JavaScript retweeted
In @NxDevTools, instead of running two terminals at the same time for the webapp & the API, I'm using either custom script in package.json or the custom target in project.json. Feels like the first option is more convenient where you don't have add more code 🤔
6
13
2
50
4,665
Everyday JavaScript retweeted
Stop hassling your users with OTPs, Add Login with WhatsApp button to your app or website in just 5 minutes 🕓 Free forever. Unlimited users. otpless.in/twtc2

161
308
47
2,454
13,800,942
Everyday JavaScript retweeted
🤞🏻
329
2,448
168
37,349
1,868,790
Everyday JavaScript retweeted
Do you know about :is() in CSS? It's pretty handy! More on :is(), as well as :where() and :has(), in my full article: builder.io/blog/css-is
38
382
16
2,896
375,455
Everyday JavaScript retweeted
You might be using `fetch` wrong...
91
755
50
5,322
411,346
🔥 TypeScript Tip 🔥 Omit and Pick are the gateway to understanding type-level programming. They let you start deriving types, instead of redeclaring them.
35
188
12
1,505
232,344
Everyday JavaScript retweeted
Replying to @RealDanODowd
Dan is basically an unpaid intern on our QA team lol
1,507
1,191
132
39,685
7,635,550
Everyday JavaScript retweeted
What are Higher Order Functions in JavaScript? A Thread🧵👇🏻
44
110
4
448
142,154
Everyday JavaScript retweeted
System design is the most challenging and exciting type of tech interview. Here is a complete list of topics that will help you get ready: {0/18} ↓
230
1,227
40
5,955
Everyday JavaScript retweeted
First day after vacation. My team has worked on a refactor that has reduced our "initial" bundle with 28%! (500 kBs). The changes were related to how we consume components from our Design System. 👇 #angular
Our bundle size budgets in @angular - set "initial" to 1.2 Mb - build new feature; build breaks - increase to 1.3 Mb - build new feature; build breaks - increase to 1.35 Mb - build new feature; ... 🔁 (we're going to optimize it, eventually)
10
4
1
49
Everyday JavaScript retweeted
Playing more with the experimental CSS Anchoring API 👀 Here we anchor to the side of the chart and to the tallest anchor bar using CSS max ✨ .el { bottom: max( anchor(--anchor-1 top), anchor(--anchor-2 top) ); } The browser works out the position for us 🤯
5
41
4
213
Everyday JavaScript retweeted
Did you know this? Since Angular 14.2, we can write functional guards and resolvers 👇
20
113
8
563
My talk from #ng-conf on WebApps at Scale looks into how we got here and what kind of challenges lie ahead. docs.google.com/presentation…
11
55
5
283
Everyday JavaScript retweeted
Future CSS Tip 🔮 Responsively Anchor elements to each other without JS or worrying about DOM position using the Anchoring API 🤯 It works out positions based on fallbacks you define 😎 And this makes sure your anchored element stays in view 🙌 Demo link/code/exp below 👇😁
8
51
11
330