2021-01-06
1375
#vanilla javascript
Jordan Irabor
31518
Jan 6, 2021 ⋅ 4 min read

How to access the correct this inside a callback

Image
Jordan Irabor Jordan is an innovative software developer with over five years of experience developing software with high standards and ensuring clarity and quality. He also follows the latest blogs and writes technical articles as a guest author on several platforms.

Recent posts:

Image

How to use CSS contrast-color() for auto-contrast

Learn how contrast-color() automatically picks accessible text colors using native CSS, without JavaScript.

Image Jude Miracle
Jul 14, 2026 ⋅ 8 min read
Image

How to create awesome staggered animations in CSS

Learn how to build smooth staggered animations in CSS using modern features like sibling-index(), complete with practical examples, fallbacks, and accessibility tips.

Image Rob O'Leary
Jul 9, 2026 ⋅ 8 min read
ai dev tool power rankings

AI dev tool power rankings & comparison [July 2026]

Compare the top AI development tools and models of July 2026. View updated rankings, feature breakdowns, and find the best fit for you.

Image Chizaram Ken
Jul 8, 2026 ⋅ 11 min read
Finding unused and ghost dependencies with Knip

Finding unused and ghost dependencies with Knip

Learn how to detect unused and ghost dependencies in JavaScript projects using Knip, a project-level linter that keeps your dependency graph accurate.

Image Rahul Chhodde
Jul 7, 2026 ⋅ 9 min read
View all posts

Hey there, want to help make our blog better?

Join LogRocket’s Content Advisory Board. You’ll help inform the type of content we create and get access to exclusive meetups, social accreditation, and swag.

Sign up now