---
title: "Discussion on \"Introduction to JavaScript Selectors\" | Hashnode"
description: "Discussion on \"Introduction to JavaScript Selectors\". We have many DOM methods to save html elements in JS variables.\nIn this blog, I will be explaining how method \"querySelector\" works. And how we can select elements more specifically using this method.\nHow querySelector() works?\nConsider a simple html..."
url: "https://hashnode.com/posts/introduction-to-javascript-selectors/60008ca3b00f7510ee95ab96"
---

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

Discussion

# [Introduction to JavaScript Selectors](https://ankitab.hashnode.dev/introduction-to-javascript-selectors?utm_source=hashnode&utm_medium=feed)

We have many DOM methods to save html elements in JS variables. In this blog, I will be explaining how method "querySelector" works. And how we can select elements more specifically using this method. How querySelector() works? Consider a simple html...

Jan 14, 2021 · 5 min read · ankitab.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#programing](https://hashnode.com/tag/programing)
-   [#webdevelopment](https://hashnode.com/tag/webdevelopment)

## Written by

[Ankita Bagale](https://hashnode.com/@ankitaB)

@ankitaB · Maharashtra, India

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

Learning web development

Front End Developer

## Responses 2

Markdown supported · ⌘↵ to post

[Geeta Pogul](https://hashnode.com/@geetapogul)

[May 2, 2022](https://hashnode.com/posts/introduction-to-javascript-selectors/60008ca3b00f7510ee95ab96/comment/626fafe577f8e2f7fe9348c3)

Very well explained.👌
