<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Arun</title>
    <description>The latest articles on DEV Community by Arun (@m_arunkumar).</description>
    <link>https://dev.to/m_arunkumar</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3284643%2F0e3dee75-7e53-42c3-8413-c18fd19b7d7d.webp</url>
      <title>DEV Community: Arun</title>
      <link>https://dev.to/m_arunkumar</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/m_arunkumar"/>
    <language>en</language>
    <item>
      <title>Black Hat SEO</title>
      <dc:creator>Arun</dc:creator>
      <pubDate>Thu, 05 Mar 2026 10:55:25 +0000</pubDate>
      <link>https://dev.to/m_arunkumar/black-hat-seo-2cef</link>
      <guid>https://dev.to/m_arunkumar/black-hat-seo-2cef</guid>
      <description>&lt;p&gt;Black hat SEO refers to unethical, manipulative techniques that violate search engine guidelines to artificially boost rankings. These high-risk, short-term tactics—including keyword stuffing, cloaking, and link farming—often lead to severe penalties, such as de-indexing or being banned from search engines like Google.&lt;/p&gt;

&lt;h2&gt;
  
  
  Common Black Hat SEO Techniques to Avoid:
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Keyword Stuffing&lt;/strong&gt;: Overloading web pages with keywords to manipulate ranking, making the content unreadable.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cloaking&lt;/strong&gt;: Showing different content to search engine crawlers than what is displayed to human users.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Hidden Text/Links&lt;/strong&gt;:Hiding keywords in white text on a white background, or in the HTML code, to boost keyword density.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Link Farming/Buying&lt;/strong&gt;: Buying, selling, or exchanging links solely to increase backlink numbers rather than organic relevance.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Automated/Scraped Content&lt;/strong&gt;: Using automated software to generate low-quality content or stealing content from other sites.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Doorway Pages&lt;/strong&gt;: Creating low-quality, keyword-stuffed pages designed to rank for specific queries but redirecting users to a different page.
**&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Risks and Consequences:
&lt;/h2&gt;

&lt;p&gt;Engaging in black hat SEO can result in a "manual action" by search engines, leading to a significant drop in rankings or, in extreme cases, the total removal of the website from search engine results&lt;/p&gt;

</description>
    </item>
    <item>
      <title>White Hat SEO</title>
      <dc:creator>Arun</dc:creator>
      <pubDate>Thu, 05 Mar 2026 10:51:41 +0000</pubDate>
      <link>https://dev.to/m_arunkumar/white-hat-seo-25hb</link>
      <guid>https://dev.to/m_arunkumar/white-hat-seo-25hb</guid>
      <description>&lt;p&gt;White hat SEO refers to &lt;em&gt;ethical, sustainable search engine optimization practices that comply with search engine guidelines&lt;/em&gt;, such as Google’s, &lt;em&gt;to improve rankings&lt;/em&gt;. It focuses on creating high-quality, user-friendly content, proper keyword usage, and organic link building. This long-term, low-risk approach avoids penalties and builds lasting authority. &lt;/p&gt;

&lt;h2&gt;
  
  
  Key components of white hat SEO include:
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Quality Content&lt;/strong&gt;: Creating original, valuable, and relevant content that solves user problems.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;User Experience (UX)&lt;/strong&gt;: Ensuring fast loading speeds, mobile-friendliness, and easy navigation.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Organic Link Building&lt;/strong&gt;: Earning backlinks through quality, relevance, and reputation, rather than purchasing them.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;On-Page Optimization&lt;/strong&gt;: Utilizing descriptive meta tags, proper HTML structure, and relevant keywords without stuffing.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
    </item>
    <item>
      <title>#2 Why js is a single threaded language</title>
      <dc:creator>Arun</dc:creator>
      <pubDate>Sat, 28 Jun 2025 13:54:26 +0000</pubDate>
      <link>https://dev.to/m_arunkumar/2-why-js-is-a-single-threaded-language-1bch</link>
      <guid>https://dev.to/m_arunkumar/2-why-js-is-a-single-threaded-language-1bch</guid>
      <description>&lt;p&gt;1.JavaScript is an interpreted language, not a compiled one. This means that it needs an interpreter which converts the JS code to a machine code(bits of 0 and 1).&lt;/p&gt;

&lt;p&gt;2.There are several types of interpreters (known as engines). The most popular browser engines are V8 (Chrome), Quantum (Firefox) and WebKit (Safari). &lt;/p&gt;

&lt;p&gt;3.Each engine contains a memory heap, a call stack, an event loop, a callback queue and a WebAPI with HTTP requests, timers, events.&lt;/p&gt;

&lt;p&gt;4.A single threaded language is the one with single call stack and a memory heap.It means that it runs only one thing at a time.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is a stack?
&lt;/h2&gt;

&lt;p&gt;1.Stack is a fundamental data structure in computer science that operates in LIFO (Last In First Out) principle.&lt;/p&gt;

&lt;p&gt;For Example=&amp;gt; a stack of plates; the last plate you put on is the first one you take off. This means the most recently added element is the first one to be removed.&lt;/p&gt;

&lt;p&gt;2.Stack has two primary operations &lt;br&gt;
Push and pop. The Former adds new element to the top of the stack and the latter removes and returns the element from the stack.&lt;/p&gt;
&lt;h2&gt;
  
  
  How Does JavaScript Achieve Non-Blocking Behavior?
&lt;/h2&gt;

&lt;p&gt;1.JavaScript is a single-threaded language and, at the same time, also non-blocking, asynchronous and concurrent. &lt;/p&gt;

&lt;p&gt;2.Though it runs in a single thread, in can still perform tasks asynchronously without blocking the main thread.&lt;/p&gt;

&lt;p&gt;3.This is achieved through event loops, call back queues and asynchronous  APIs provided by the environment (browser).&lt;/p&gt;
&lt;h2&gt;
  
  
  Event Loop
&lt;/h2&gt;

&lt;p&gt;1.Event Loop is a mechanism that allows JS to handle asynchronous operations while running in a single thread.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;It is responsible for managing execution of codes,events and messages in a non-blocking manner.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;
  
  
  Let us understand how it works
&lt;/h2&gt;

&lt;p&gt;1.&lt;strong&gt;Call Stack&lt;/strong&gt; JS starts pushing the execution context of the function into the call stack one at a time in LIFO fashion.&lt;/p&gt;

&lt;p&gt;2.&lt;strong&gt;Web API&lt;/strong&gt; When JS comes across the asynchronous operations like settimeout() , fetch() or I/O operations it assigns this tasks to Web APIs in the browser.&lt;/p&gt;

&lt;p&gt;3.&lt;strong&gt;Callback Queue&lt;/strong&gt; After the async operations is complete, the callback fuction that was passed as an argument is added to the call back queue.&lt;/p&gt;

&lt;p&gt;4.&lt;strong&gt;Event Loop&lt;/strong&gt; The event loop constantly moniters the call stack and the calback queue. When the moment, the call stack is empty the event loop pushes the first callback from the queue to the call stack for execution.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;console.log("Start");

setTimeout(() =&amp;gt; {
  console.log("This is asynchronous.");
}, 2000);

console.log("End");

O/P:
Start
End
This is asynchronous.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You can watch the below video for more insight into the concept.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://dev.tourl"&gt;https://youtu.be/HDFccoO992o?si=OCBoSVSekJ9VoO7I&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>#1 Funtions in JavaScript</title>
      <dc:creator>Arun</dc:creator>
      <pubDate>Fri, 27 Jun 2025 12:16:41 +0000</pubDate>
      <link>https://dev.to/m_arunkumar/1-funtions-in-javascript-13pg</link>
      <guid>https://dev.to/m_arunkumar/1-funtions-in-javascript-13pg</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmcy3lmu6yjl9llp23x17.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmcy3lmu6yjl9llp23x17.png" alt="Image description" width="800" height="400"&gt;&lt;/a&gt;1.JavaScript function is a block of code designed to perform a particular task.&lt;/p&gt;

&lt;p&gt;2.A JavaScription function is executed when someone calls it .&lt;/p&gt;

&lt;h2&gt;
  
  
  Syntax
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;function name(parameter1, parameter2, parameter3) {
  // code to be executed
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;1.Function keyword followed by function name and paranthesis '()'&lt;/p&gt;

&lt;p&gt;2.Paranthesis may include parameters separated by commas.&lt;/p&gt;

&lt;p&gt;3.The code to be executed by the function is placed inside the curly brackets {}&lt;/p&gt;

&lt;p&gt;4.Function parameters are named placeholders in the function definition.&lt;/p&gt;

&lt;p&gt;5.Arguments are actual values passed to the function when it is called.&lt;br&gt;
Function arguments behave like 'local variables'.&lt;/p&gt;
&lt;h2&gt;
  
  
  Let us get to know What are local variables?
&lt;/h2&gt;

&lt;p&gt;1.A variable that is declared within a specific scope such as function or a blcok of code (like if statement, for loop or while loop).&lt;/p&gt;

&lt;p&gt;2.The key characteristic of a local variable is limited accesibility. It can be accessed within the code where it was defined .&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;function calculateSum(num1, num2) {
  // 'sum' is a local variable, accessible only within calculateSum()
  let sum = num1 + num2; 
  console.log(sum); 
}

calculateSum(5, 10); // Output: 15

// Attempting to access 'sum' outside the function will result in an error
// console.log(sum); // ReferenceError: sum is not defined
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Function Return
&lt;/h2&gt;

&lt;p&gt;1.A Return statement is used to specify a value that should be returned from  a function when it is called .&lt;/p&gt;

&lt;p&gt;2.Once a return statement is executed the function stops running and the specified value is sent back to where the function was called .&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Example 1:Returning a Value

function add(a, b) {
    return a + b;
}

let result = add(3, 4);
console.log(result); // Output: 7
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
Example 2: Returning Nothing (undefined)

function greet(name) {
    console.log("Hello, " + name);
}

let result = greet("Alice");
console.log(result); // Output: undefined
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;How to Fix It (if you want a return value):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;If you want greet() to return a value instead of just printing it:


function greet(name) {
    return "Hello, " + name;
}

let result = greet("Alice");
console.log(result); // Output: Hello, Alice
Now the function returns a string, and that value is stored in result.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Why Functions?
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;With Functions you can reuse the code .&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Can use the same code with different arguments and get different results.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

</description>
    </item>
  </channel>
</rss>
