---
title: "Discussion on \"Code Fix #3: Toggling Classes with querySelectorAll\" | Hashnode"
description: "Discussion on \"Code Fix #3: Toggling Classes with querySelectorAll\". The difference between querySelector and querySelectorAll."
url: "https://hashnode.com/posts/code-fix-3-toggling-classes-with-queryselectorall/61172581e9f08a51fd85f07c"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Code Fix #3: Toggling Classes with querySelectorAll](https://melvincayas.hashnode.dev/code-fix-3-toggling-classes-with-queryselectorall?utm_source=hashnode&utm_medium=feed)

The difference between querySelector and querySelectorAll.

Aug 14, 2021 · 2 min read · melvincayas.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#codenewbies](https://hashnode.com/tag/codenewbies)
-   [#code-review](https://hashnode.com/tag/code-review)
-   [#developer](https://hashnode.com/tag/developer)
-   [#programming-blogs](https://hashnode.com/tag/programming-blogs)

## Written by

[Melvin Cayas](https://hashnode.com/@melvincayas)

@melvincayas · New York, NY

  
[View profile](https://hashnode.com/@melvincayas)

Electrical engineer, budding web dev

Electrical engineer that started learning how to code during the 2020 pandemic. You never know what tomorrow brings.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
