<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Interview on My New Hugo Site</title><link>https://example.org/tags/interview/</link><description>Recent content from My New Hugo Site</description><generator>Hugo</generator><language>en</language><managingEditor>pathakdivy03@gmail.com (Divy Pathak)</managingEditor><webMaster>pathakdivy03@gmail.com (Divy Pathak)</webMaster><copyright>All articles on this blog are licensed under the BY-NC-SA license agreement unless otherwise stated. Please indicate the source when reprinting!</copyright><lastBuildDate>Wed, 01 Oct 2025 22:07:57 +0530</lastBuildDate><atom:link href="https://example.org/tags/interview/index.xml" rel="self" type="application/rss+xml"/><item><title>Semantic Tags</title><link>https://example.org/post/semantic-tags/</link><pubDate>Sun, 14 Sep 2025 20:12:52 +0800</pubDate><author>pathakdivy03@gmail.com (Divy Pathak)</author><guid>https://example.org/post/semantic-tags/</guid><description>
<![CDATA[<h1>Semantic Tags</h1><p>Author: Divy Pathak(pathakdivy03@gmail.com)</p>
        
          <p>Semantic HTML tags are <strong>meaningful tags</strong> that describe the purpose of the content inside them — both to the <strong>browser</strong> and to <strong>developers</strong> (and also screen readers for accessibility).</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-html" data-lang="html"><span class="line"><span class="cl"><span class="p">&lt;</span><span class="nt">header</span><span class="p">&gt;</span> for top section (logo, nav, intro)
</span></span><span class="line"><span class="cl"><span class="p">&lt;</span><span class="nt">nav</span><span class="p">&gt;</span> for nav menu with nav-links
</span></span><span class="line"><span class="cl"><span class="p">&lt;</span><span class="nt">main</span><span class="p">&gt;</span> for main content of the doc
</span></span><span class="line"><span class="cl"><span class="p">&lt;</span><span class="nt">section</span><span class="p">&gt;</span> sections of content 
</span></span><span class="line"><span class="cl"><span class="p">&lt;</span><span class="nt">article</span><span class="p">&gt;</span> for blog post, news article
</span></span><span class="line"><span class="cl"><span class="p">&lt;</span><span class="nt">aside</span><span class="p">&gt;</span> sidebar content, i.e. not related to main content
</span></span><span class="line"><span class="cl"><span class="p">&lt;</span><span class="nt">footer</span><span class="p">&gt;</span> bottom section with links and copyright license
</span></span><span class="line"><span class="cl"><span class="p">&lt;</span><span class="nt">figure</span><span class="p">&gt;</span> to wrap media images, diagrams, charts with captions
</span></span><span class="line"><span class="cl"><span class="p">&lt;</span><span class="nt">figcaption</span><span class="p">&gt;</span> caption for figure
</span></span><span class="line"><span class="cl"><span class="p">&lt;</span><span class="nt">mark</span><span class="p">&gt;</span> highlight text with yellow
</span></span><span class="line"><span class="cl"><span class="p">&lt;</span><span class="nt">time</span><span class="p">&gt;</span> represent datetime=&#34;&#34; attribute for machine readability  
</span></span></code></pre></div><p>also a new semantic tag added <!-- raw HTML omitted --> which is used to wrap personal social media address like email, linkedin, etc and <strong>NOT</strong> the actual postal address.</p>
        
        <hr><p>Published on 2025-09-14 at <a href='https://example.org/'>My New Hugo Site</a>, last modified on 2025-10-01</p>]]></description><category>prep</category></item><item><title>JS ToDo</title><link>https://example.org/post/markdown/</link><pubDate>Sun, 14 Sep 2025 20:12:52 +0800</pubDate><author>pathakdivy03@gmail.com (Divy Pathak)</author><guid>https://example.org/post/markdown/</guid><description>
<![CDATA[<h1>JS ToDo</h1><p>Author: Divy Pathak(pathakdivy03@gmail.com)</p>
        
          <h3 id="the-most-important-keys-to-typing-in-markdown">
<a class="header-anchor" href="#the-most-important-keys-to-typing-in-markdown"></a>
The most Important keys to Typing in Markdown
</h3><ul>
<li>The Link [[Learning Obsidian]].</li>
<li>Header, hash then space.</li>
<li>Tags, with #md hash without space.</li>
<li>Italic, add asterisk for <em>emphasizing</em>.</li>
<li>Bold, add double ** for <strong>attention</strong>.</li>
<li>Strikethrough, <del>with double</del> ~ wobbly lines.</li>
<li>Inline code with <code>javascript</code> back ticks.</li>
<li>Types of Lists
<ul>
<li>Unordered</li>
</ul>
<ol>
<li>Ordered</li>
</ol>
</li>
<li>Todos can be created with
<ul>
<li><input disabled="" type="checkbox"> Not done</li>
<li><input checked="" disabled="" type="checkbox"> Done</li>
</ul>
</li>
<li><a href="https://example.com">Link text</a></li>
<li>images  can be loaded through URL too <img src="https://cdn.iconscout.com/icon/free/png-256/free-markdown-logo-icon-svg-png-download-458334.png" alt="Alt text"></li>
<li>Blockquotes
<blockquote>
<p>This is a note</p>
        
        <hr><p>Published on 2025-09-14 at <a href='https://example.org/'>My New Hugo Site</a>, last modified on 2025-10-01</p>]]></description><category>prep</category></item><item><title>JS ToDo</title><link>https://example.org/post/js-flash-card/</link><pubDate>Sun, 14 Sep 2025 20:12:52 +0800</pubDate><author>pathakdivy03@gmail.com (Divy Pathak)</author><guid>https://example.org/post/js-flash-card/</guid><description>
<![CDATA[<h1>JS ToDo</h1><p>Author: Divy Pathak(pathakdivy03@gmail.com)</p>
        
          <ol>
<li><input disabled="" type="checkbox"> Browser</li>
<li><input disabled="" type="checkbox"> HTML</li>
<li><input disabled="" type="checkbox"> High - Level</li>
<li><input disabled="" type="checkbox"> EcmaScript</li>
<li><input disabled="" type="checkbox"> Web Assembly</li>
<li><input disabled="" type="checkbox"> Runtime</li>
<li><input disabled="" type="checkbox"> Scripting Language</li>
<li><input disabled="" type="checkbox"> Dev Tools</li>
<li><input disabled="" type="checkbox"> Interpreter</li>
<li><input disabled="" type="checkbox"> Js Engine V8</li>
<li><input disabled="" type="checkbox"> Just-in-time compilation</li>
<li><input disabled="" type="checkbox"> <!-- raw HTML omitted --> tag</li>
<li><input disabled="" type="checkbox"> src= attribute</li>
<li><input disabled="" type="checkbox"> console.log();</li>
<li><input disabled="" type="checkbox"> Let</li>
<li><input disabled="" type="checkbox"> camelCase</li>
<li><input disabled="" type="checkbox"> Dynamically Typed</li>
<li><input disabled="" type="checkbox"> Primitive</li>
<li><input disabled="" type="checkbox"> Undefined</li>
<li><input disabled="" type="checkbox"> Null</li>
<li><input disabled="" type="checkbox"> String</li>
<li><input disabled="" type="checkbox"> Object</li>
<li><input disabled="" type="checkbox"> ;</li>
<li><input disabled="" type="checkbox"> Const</li>
<li><input disabled="" type="checkbox"> var</li>
<li><input disabled="" type="checkbox"> Lexical Environment</li>
<li><input disabled="" type="checkbox"> Global Scope</li>
<li><input disabled="" type="checkbox"> Function</li>
<li><input disabled="" type="checkbox"> Local Scope</li>
<li><input disabled="" type="checkbox"> Block Scope</li>
<li><input disabled="" type="checkbox"> Hoisting</li>
<li><input disabled="" type="checkbox"> Function definition</li>
<li><input disabled="" type="checkbox"> Input params</li>
<li><input disabled="" type="checkbox"> Return value</li>
<li><input disabled="" type="checkbox"> Function Expression</li>
<li><input disabled="" type="checkbox"> Higher-Order Function</li>
<li><input disabled="" type="checkbox"> Closure</li>
<li><input disabled="" type="checkbox"> Call Stack</li>
<li><input disabled="" type="checkbox"> Heap</li>
<li><input disabled="" type="checkbox"> This</li>
<li><input disabled="" type="checkbox"> Window/Global</li>
<li><input disabled="" type="checkbox"> Bind</li>
<li><input disabled="" type="checkbox"> number passed by value, object passed by reference</li>
<li><input disabled="" type="checkbox"> OOP</li>
<li><input disabled="" type="checkbox"> Getter/Setter</li>
<li><input disabled="" type="checkbox"> Instance method</li>
<li><input disabled="" type="checkbox"> Static method</li>
<li><input disabled="" type="checkbox"> Array, Set, Map</li>
<li><input disabled="" type="checkbox"> Garbage Collection</li>
<li><input disabled="" type="checkbox"> WeakMap, WeakSet</li>
<li><input disabled="" type="checkbox"> Non-blocking event loop</li>
<li><input disabled="" type="checkbox"> Synchronous</li>
<li><input disabled="" type="checkbox"> Asynchronous</li>
<li><input disabled="" type="checkbox"> Thread Pool</li>
<li><input disabled="" type="checkbox"> Single Threaded</li>
<li><input disabled="" type="checkbox"> setTimeout</li>
<li><input disabled="" type="checkbox"> Callback Function</li>
<li><input disabled="" type="checkbox"> Promise</li>
<li><input disabled="" type="checkbox"> Resolve</li>
<li><input disabled="" type="checkbox"> Resolve</li>
<li><input disabled="" type="checkbox"> Promis.then().catch()</li>
<li><input disabled="" type="checkbox"> Async await</li>
<li><input disabled="" type="checkbox"> Try/Catch</li>
<li><input disabled="" type="checkbox"> ES Modules</li>
<li><input disabled="" type="checkbox"> Jest</li>
<li><input disabled="" type="checkbox"> JS Lint</li>
<li><input disabled="" type="checkbox"> Default Export</li>
<li><input disabled="" type="checkbox"> Destructuring</li>
<li><input disabled="" type="checkbox"> Document Object Model (DOM)</li>
<li><input disabled="" type="checkbox"> Document</li>
<li><input disabled="" type="checkbox"> QuerySelector</li>
<li><input disabled="" type="checkbox"> CSS Selector, tag selector, etc.</li>
<li><input disabled="" type="checkbox"> Element</li>
<li><input disabled="" type="checkbox"> QuerySelectorAll</li>
<li><input disabled="" type="checkbox"> Events</li>
<li><input disabled="" type="checkbox"> Imperative code, UI mutated directly</li>
<li><input disabled="" type="checkbox"> Declarative code</li>
<li><input disabled="" type="checkbox"> Components</li>
<li><input disabled="" type="checkbox"> Data Binding</li>
<li><input disabled="" type="checkbox"> Module Bundler (VITE)</li>
<li><input disabled="" type="checkbox"> Dynamic Imports</li>
<li><input disabled="" type="checkbox"> Node.js</li>
<li><input disabled="" type="checkbox"> Template Literals</li>
</ol>
        
        <hr><p>Published on 2025-09-14 at <a href='https://example.org/'>My New Hugo Site</a>, last modified on 2025-10-01</p>]]></description><category>prep</category></item><item><title>Josh Interview</title><link>https://example.org/post/josh/</link><pubDate>Sun, 14 Sep 2025 20:12:52 +0800</pubDate><author>pathakdivy03@gmail.com (Divy Pathak)</author><guid>https://example.org/post/josh/</guid><description>
<![CDATA[<h1>Josh Interview</h1><p>Author: Divy Pathak(pathakdivy03@gmail.com)</p>
        
          <ul>
<li><input disabled="" type="checkbox"> [[Self Introduction]]</li>
<li><input disabled="" type="checkbox"> [[Strengths &amp; Weaknesses]]</li>
<li><input disabled="" type="checkbox"> Round 3 Assignment</li>
<li><input disabled="" type="checkbox"> Ask question to them</li>
<li><input disabled="" type="checkbox"> Latest Resume</li>
<li><input disabled="" type="checkbox"> All deployed projects links</li>
<li><input disabled="" type="checkbox"> Know about every technology I wrote in my resume</li>
<li><input disabled="" type="checkbox"> Revise through [[JS Flash Card]]</li>
</ul>
<p>[[HTML]]</p>
<ul>
<li>
<!-- raw HTML omitted -->
</li>
<li>meta tag</li>
</ul>
<p>[[CSS]]</p>
<ul>
<li>use of important!</li>
<li>specificity order</li>
<li>CSS Frameworks</li>
<li>SASS vs Tailwind CSS</li>
</ul>
<p>[[JavaScript]]</p>
<ul>
<li>var vs let</li>
<li>Hoisting</li>
<li>[[JS Flash Card]]</li>
</ul>
        
        <hr><p>Published on 2025-09-14 at <a href='https://example.org/'>My New Hugo Site</a>, last modified on 2025-10-01</p>]]></description></item><item><title>JavaScript</title><link>https://example.org/post/javascript/</link><pubDate>Sun, 14 Sep 2025 20:12:52 +0800</pubDate><author>pathakdivy03@gmail.com (Divy Pathak)</author><guid>https://example.org/post/javascript/</guid><description>
<![CDATA[<h1>JavaScript</h1><p>Author: Divy Pathak(pathakdivy03@gmail.com)</p>
        
          <h3 id="var--let">
<a class="header-anchor" href="#var--let"></a>
var / let
</h3><table>
  <thead>
      <tr>
          <th>Feature</th>
          <th><code>var</code></th>
          <th><code>let</code></th>
      </tr>
  </thead>
  <tbody>
      <tr>
          <td>Scope</td>
          <td>Function-scoped</td>
          <td>Block-scoped</td>
      </tr>
      <tr>
          <td>Global Binding</td>
          <td>Becomes property of global object (<code>window.x</code>)</td>
          <td>Does <strong>not</strong> attach to global object</td>
      </tr>
      <tr>
          <td>Hoisting</td>
          <td>Hoisted, initialized with <code>undefined</code></td>
          <td>Hoisted, but in TDZ (cannot use before declaration)</td>
      </tr>
      <tr>
          <td>Redeclaration</td>
          <td>Allowed in same scope</td>
          <td>Not allowed in same scope</td>
      </tr>
      <tr>
          <td>Local Use</td>
          <td>Exists inside functions</td>
          <td>Exists inside blocks (<code>if</code>, <code>for</code>, etc.)</td>
      </tr>
  </tbody>
</table>
<table>
  <thead>
      <tr>
          <th>Feature</th>
          <th><code>var</code></th>
          <th><code>let</code></th>
          <th><code>const</code></th>
      </tr>
  </thead>
  <tbody>
      <tr>
          <td>Scope</td>
          <td>Function / global</td>
          <td>Block</td>
          <td>Block</td>
      </tr>
      <tr>
          <td>Hoisting</td>
          <td>Yes, <code>undefined</code> init</td>
          <td>Yes, TDZ until init</td>
          <td>Yes, TDZ until init</td>
      </tr>
      <tr>
          <td>Redeclaration</td>
          <td>✅ Allowed</td>
          <td>❌ Not allowed</td>
          <td>❌ Not allowed</td>
      </tr>
      <tr>
          <td>Reassignment</td>
          <td>✅ Allowed</td>
          <td>✅ Allowed</td>
          <td>❌ Not allowed</td>
      </tr>
      <tr>
          <td>Global Object</td>
          <td>Attaches to <code>window</code></td>
          <td>Doesn’t attach</td>
          <td>Doesn’t attach</td>
      </tr>
  </tbody>
</table>
<h3 id="hoisting">
<a class="header-anchor" href="#hoisting"></a>
Hoisting
</h3><p>Hoisting is JavaScript’s behavior of <strong>moving declarations to the top of their scope (function or global)</strong> before code execution.</p>
        
        <hr><p>Published on 2025-09-14 at <a href='https://example.org/'>My New Hugo Site</a>, last modified on 2025-10-01</p>]]></description><category>prep</category></item><item><title>HTML</title><link>https://example.org/post/html/</link><pubDate>Sun, 14 Sep 2025 20:12:52 +0800</pubDate><author>pathakdivy03@gmail.com (Divy Pathak)</author><guid>https://example.org/post/html/</guid><description>
<![CDATA[<h1>HTML</h1><p>Author: Divy Pathak(pathakdivy03@gmail.com)</p>
        
          <p>Hyper Text Markup Language is the backbone of any website.</p>
<ul>
<li>Avoid using more than 1 <!-- raw HTML omitted -->  as it is the biggest heading, only one h1 should be present in one sheet.</li>
<li>Always use headings in order, first h1 then h2 and so on.</li>
<li>Always use img tag inside a figure tag when images have caption</li>
</ul>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-html" data-lang="html"><span class="line"><span class="cl"><span class="p">&lt;</span><span class="nt">figure</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="cl">   <span class="p">&lt;</span><span class="nt">img</span> <span class="na">src</span><span class="o">=</span><span class="s">&#34;&#34;</span> <span class="p">/&gt;</span>
</span></span><span class="line"><span class="cl">   <span class="p">&lt;</span><span class="nt">figcaption</span><span class="p">&gt;</span>Caption<span class="p">&lt;/</span><span class="nt">figcaption</span><span class="p">&gt;</span>
</span></span><span class="line"><span class="cl"><span class="p">&lt;/</span><span class="nt">figure</span><span class="p">&gt;</span>
</span></span></code></pre></div><ul>
<li>Use [[Semantic Tags]] like header, footer, section, article</li>
<li>Avoid using <!-- raw HTML omitted -->, <!-- raw HTML omitted --> for bold and italics, instead use [[CSS]] properties like font-weight and font-style: &ldquo;italic&rdquo; or use <!-- raw HTML omitted --> for bold and <!-- raw HTML omitted --> for emphasis/italics.</li>
<li>Don&rsquo;t use <a href="/post/html/#block-and-inline-element">block</a> elements inside <a href="/post/html/#block-and-inline-element">inline</a> elements</li>
</ul>
<h3 id="block-and-inline-element">
<a class="header-anchor" href="#block-and-inline-element"></a>
Block and Inline element
</h3><blockquote>
<p>Block elements always start on a new line and take up the <strong>full width</strong> available.</p>
        
        <hr><p>Published on 2025-09-14 at <a href='https://example.org/'>My New Hugo Site</a>, last modified on 2025-10-01</p>]]></description><category>prep</category></item></channel></rss>