<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Aswathy's Blog]]></title><description><![CDATA[Aswathy's Blog]]></description><link>https://aswathy.hashnode.dev</link><generator>RSS for Node</generator><lastBuildDate>Wed, 02 Sep 2026 05:15:43 GMT</lastBuildDate><atom:link href="https://aswathy.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[An Introduction to querySelector() in JavaScript]]></title><description><![CDATA[querySelector()
querySelector() selects and returns the first element which matches the specified CSS selector.
document is an element interface which represents  a webpage loaded in the browser and serves as an entry point into the webpage’s content...]]></description><link>https://aswathy.hashnode.dev/an-introduction-to-queryselector-in-javascript</link><guid isPermaLink="true">https://aswathy.hashnode.dev/an-introduction-to-queryselector-in-javascript</guid><category><![CDATA[JavaScript]]></category><dc:creator><![CDATA[Aswathy V Nair]]></dc:creator><pubDate>Sat, 02 Oct 2021 10:52:22 GMT</pubDate><content:encoded><![CDATA[<h2 id="queryselector">querySelector()</h2>
<p>querySelector() selects and returns the first element which matches the specified CSS selector.</p>
<p>document is an element interface which represents  a webpage loaded in the browser and serves as an entry point into the webpage’s content.</p>
<p><strong>document.querySelector()</strong> is an API via which we talk to browsers.</p>
<p>Eg: </p>
<pre><code><span class="hljs-built_in">document</span>.<span class="hljs-built_in">querySelector</span>(“selector”)
</code></pre><p>Through this we are telling the browser that we need that element: "selector"</p>
<p> The name 'querySelector' itself suggests that it asks for a particular selector and that selector is written like : ("selector").</p>
<p>It is a way by which we can connect the things in an html file to a javascript file.</p>
<p>Selector examples</p>
<blockquote>
<ul>
<li>For textarea tag =&gt; document.querySelector("textarea")</li>
</ul>
<ul>
<li>For element with class : "btn-primary" =&gt; document.querySelector(".btn-primary")</li>
</ul>
<ul>
<li>For element with an id : input-btn =&gt; document.querySelector("#input-btn")</li>
</ul>
<ul>
<li>For input Element with an attribute name: ‘translator’ =&gt; document.querySelector("input[name='translator']")</li>
</ul>
</blockquote>
<p>How does querySelector() work internally?</p>
<p>Suppose we have a <strong></strong> element with <strong>id = "btn-click"</strong> in html file and <strong>var clickButton = document.querySelector("#btn-click")</strong> in javascript file, querySelector will go to the entire html page and will find whether there is an <strong>id = "btn-click"</strong>.
When it finds the match, it will return the entire element with the id, i.e ,</p>
<pre><code><span class="hljs-tag">&lt;<span class="hljs-name">button</span> <span class="hljs-attr">id</span> =<span class="hljs-string">"btn-click"</span>&gt;</span>Click<span class="hljs-tag">&lt;/<span class="hljs-name">button</span>&gt;</span>
</code></pre><p><em>I hope it helps. Thank you for reading.</em></p>
]]></content:encoded></item><item><title><![CDATA[Importance of User Experience in Product Development]]></title><description><![CDATA[In the tech world, user experience mainly focuses on how people interact with products. User experience is how a person, the user, feels about experiencing a product.
Product
A product can be a good service or feature .It can be a physical product  o...]]></description><link>https://aswathy.hashnode.dev/importance-of-user-experience-in-product-development</link><guid isPermaLink="true">https://aswathy.hashnode.dev/importance-of-user-experience-in-product-development</guid><category><![CDATA[user experience]]></category><category><![CDATA[User Interface]]></category><category><![CDATA[UX]]></category><dc:creator><![CDATA[Aswathy V Nair]]></dc:creator><pubDate>Sat, 02 Oct 2021 08:23:48 GMT</pubDate><content:encoded><![CDATA[<p>In the tech world, user experience mainly focuses on how people interact with products. User experience is how a person, the user, feels about experiencing a product.</p>
<h2 id="product">Product</h2>
<p>A product can be a good service or feature .It can be a physical product  or technology products like an app or a website. For the user to have a good experience the product needs to be <strong>usable</strong>, <strong>equitable</strong>, <strong>enjoyable</strong> and useful.</p>
<h2 id="1-usable">1. Usable</h2>
<p>User experience is about improving usability. The design, structure and purpose of the product should be clear to everyone.</p>
<h2 id="2-equitable">2. Equitable</h2>
<p>It is very important to think about every person using the product. People with visual impairment may need some features like sound to use in an app. Creating an equitable design is such an important thing considering the unique needs of people. Creating an equitable design is nothing but ensuring the design is useful and marketable to people with diverse abilities and backgrounds.</p>
<h2 id="3-enjoyable">3. Enjoyable</h2>
<p>Enjoyable designs will create a positive experience between the user and the product. We should create that positive connection by taking user’s thoughts and feelings into account when making products. Collect evidence to know how the user experiences the product real time and ask them about it.</p>
<h2 id="4-useful">4. Useful</h2>
<p>Products should be useful to solve the problems of users.
Eg: A map app to know how to get home is useful. But if the app can’t find the current location, it is not so useful.</p>
<p>Regardless of the industry in which they operate, businesses should be focused on good usability and design. When people like a product, they use that product a lot and will recommend it to their friends and thus more people will use that product. This results in a positive outlook and more business for the company.</p>
<p><em>I hope it helps. Thank you for reading.</em></p>
]]></content:encoded></item></channel></rss>