<?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: Kaushik V</title>
    <description>The latest articles on DEV Community by Kaushik V (@kaushikalex).</description>
    <link>https://dev.to/kaushikalex</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%2F2861186%2F5c689359-1ee4-4542-915f-16813adf8899.jpg</url>
      <title>DEV Community: Kaushik V</title>
      <link>https://dev.to/kaushikalex</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/kaushikalex"/>
    <language>en</language>
    <item>
      <title>Javascript Basics</title>
      <dc:creator>Kaushik V</dc:creator>
      <pubDate>Fri, 07 Mar 2025 01:49:25 +0000</pubDate>
      <link>https://dev.to/kaushikalex/javascript-basics-1p36</link>
      <guid>https://dev.to/kaushikalex/javascript-basics-1p36</guid>
      <description>&lt;p&gt;&lt;strong&gt;Common JavaScript Built-in Functions Explained&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;JavaScript has many built-in functions that help with selecting, modifying content and performing calculations. Here are some examples of such built-in functions.&lt;/p&gt;

&lt;p&gt;DOM Manipulation Functions&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;getElementById(id) – Selects a single HTML element by its id. This is one of the most common ways to interact with elements in the DOM.&lt;/li&gt;
&lt;li&gt;getElementsByClassName(className) – Selects all elements that have the specified class name(s). Returns an HTMLCollection.&lt;/li&gt;
&lt;li&gt;getElementsByTagName(tagName) – Returns all elements in the document that match a specific tag name (e.g., div, p).&lt;/li&gt;
&lt;li&gt;querySelector(selector) – Selects the first element that matches a given CSS selector.&lt;/li&gt;
&lt;li&gt;createElement(tagName) – Creates a new HTML element dynamically using JavaScript.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Number Parsing Functions&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;parseInt(string) – Converts a string into an integer (whole number).&lt;/li&gt;
&lt;li&gt;parseFloat(string) – Converts a string into a floating-point number (decimal).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Function Binding and Array Methods&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;bind() – Creates a new function that remembers a specific context, similar to putting a sticky note on a function to remind it of a specific this value.&lt;/li&gt;
&lt;li&gt;push(value) – Adds an item to the end of an array.&lt;/li&gt;
&lt;li&gt;pop() – Removes the last item from an array.&lt;/li&gt;
&lt;li&gt;sort() – Sorts an array in ascending or descending order.&lt;/li&gt;
&lt;li&gt;shift() – Removes the first item from an array.&lt;/li&gt;
&lt;li&gt;unshift(value) – Adds an item to the beginning of an array.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Math Functions&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Math.abs(number) – Converts a number to its absolute (positive) value.&lt;/li&gt;
&lt;li&gt;Math() – A built-in JavaScript object that provides various mathematical functions and constants.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Other Useful Functions&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;getRootNode() – Retrieves the root (top-most) element in the DOM tree.&lt;/li&gt;
&lt;li&gt;console.error(message) – Displays an error message in the browser’s developer console.&lt;/li&gt;
&lt;li&gt;addEventListener(event, function) – Listens for a specific event (like a click) on a webpage and executes a function when the event occurs.&lt;/li&gt;
&lt;li&gt;eval(string) – Executes JavaScript code written inside a string (Use with caution due to security risks).&lt;/li&gt;
&lt;li&gt;escape(string) – Encodes a string for safe transfer over the internet.&lt;/li&gt;
&lt;li&gt;document.write(content) – Writes content directly onto a webpage (Not recommended for modern web development).&lt;/li&gt;
&lt;li&gt;length – Returns the number of elements in an array or the number of characters in a string&lt;/li&gt;
&lt;/ul&gt;

</description>
    </item>
    <item>
      <title>HTML and css placeholder 2</title>
      <dc:creator>Kaushik V</dc:creator>
      <pubDate>Fri, 07 Mar 2025 01:44:11 +0000</pubDate>
      <link>https://dev.to/kaushikalex/html-and-css-placeholder-2-2o5m</link>
      <guid>https://dev.to/kaushikalex/html-and-css-placeholder-2-2o5m</guid>
      <description></description>
      <category>html</category>
      <category>css</category>
    </item>
    <item>
      <title>HTML and css placeholder</title>
      <dc:creator>Kaushik V</dc:creator>
      <pubDate>Fri, 07 Mar 2025 01:43:43 +0000</pubDate>
      <link>https://dev.to/kaushikalex/html-and-css-placeholder-4619</link>
      <guid>https://dev.to/kaushikalex/html-and-css-placeholder-4619</guid>
      <description></description>
      <category>html</category>
      <category>css</category>
    </item>
    <item>
      <title>Frontend basics -Html &amp; CSS (1)</title>
      <dc:creator>Kaushik V</dc:creator>
      <pubDate>Tue, 25 Feb 2025 18:07:57 +0000</pubDate>
      <link>https://dev.to/kaushikalex/frontend-basics-html-css-1-4n4i</link>
      <guid>https://dev.to/kaushikalex/frontend-basics-html-css-1-4n4i</guid>
      <description>&lt;p&gt;Frontend development involves HTML, CSS, and JavaScript.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;HTML is the foundation or structure of a webpage&lt;/li&gt;
&lt;li&gt;CSS improves the design, making pages visually appealing.&lt;/li&gt;
&lt;li&gt;JavaScript makes it more interactive and dynamic.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Frequently used HTML tags
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;- &amp;lt;!DOCTYPE html&amp;gt; – Declares the document type and version of HTML.
- &amp;lt;html&amp;gt; – The root element that wraps all content on the page.
- &amp;lt;head&amp;gt; – Contains metadata like title, styles, and scripts.
- &amp;lt;body&amp;gt; – Holds all visible content, including text, images, and links.
- &amp;lt;title&amp;gt; – Defines the webpage’s title, displayed on the browser tab.
- &amp;lt;a href=""&amp;gt; – Creates hyperlinks to other pages or sections.
- &amp;lt;ul&amp;gt; – Defines an unordered (bulleted) list.
- &amp;lt;ol&amp;gt; – Defines an ordered (numbered) list.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  CSS properties
&lt;/h2&gt;

&lt;p&gt;-&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;style&amp;gt; – A tag to include CSS rules within an HTML document.
- Selectors – picks specific elements using class (.), ID (#), or element names.
- color – Sets the text color (color: blue;).
- background-color – Defines the background color (background-color: yellow;).
- margin – Controls space around an element (margin: 10px;).
- border – Adds a border around an element (border: 2px solid black;).
- padding – Adds space inside an element, between content and its border (e padding: 5px;).
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
    </item>
    <item>
      <title>Frequently used Git commands</title>
      <dc:creator>Kaushik V</dc:creator>
      <pubDate>Wed, 19 Feb 2025 17:27:21 +0000</pubDate>
      <link>https://dev.to/kaushikalex/frequently-used-git-commands-d21</link>
      <guid>https://dev.to/kaushikalex/frequently-used-git-commands-d21</guid>
      <description>&lt;p&gt;Here are some commonly used Git commands for someone who is learning about version control systems.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Cloning a Repository&lt;br&gt;
git clone  – Copies a remote repository to the local machine.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Staging Changes&lt;br&gt;
git add  – Stages a specific file for commit.&lt;br&gt;
git add . – Stages all modified and new files.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Committing Changes&lt;br&gt;
git commit -m "commit message" – Saves the staged changes to the local repository with a message.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Pushing Changes to a Remote repository&lt;br&gt;
git push – Used for Uploading the committed changes to the remote repository.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Restoring Staged changes&lt;br&gt;
git restore --staged  – Removes a file from the staging area but keeps changes in the working directory.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;View the Commit history&lt;br&gt;
git log – Displays commit history with specific details like author name, date of modification and messages for identification.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;creating and handling the branches in a repository&lt;br&gt;
git branch - Lists all branches in the repository.&lt;br&gt;
git branch  - Creates a new branch.&lt;br&gt;
git checkout  - Switches to an existing branch.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

</description>
    </item>
    <item>
      <title>Git Architecture &amp; Installation</title>
      <dc:creator>Kaushik V</dc:creator>
      <pubDate>Tue, 18 Feb 2025 16:57:14 +0000</pubDate>
      <link>https://dev.to/kaushikalex/git-architecture-installation-4d8a</link>
      <guid>https://dev.to/kaushikalex/git-architecture-installation-4d8a</guid>
      <description>&lt;p&gt;Git is a powerful version control system that helps developers track changes in their projects. In this blog, we’ll explore Git’s architecture, how it works, and how to install it on your system.&lt;/p&gt;

&lt;h2&gt;
  
  
  Git Architecture
&lt;/h2&gt;

&lt;p&gt;Git follows a structured workflow that involves multiple stages before the code reaches a remote repository.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Working Directory&lt;/strong&gt;&lt;br&gt;
This is where we create and modify files for our project. Any new or updated files is located here before being staged for commit.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Staging Area&lt;/strong&gt;&lt;br&gt;
When we run git add, the changes move from the working directory to the staging area. This means the files are ready to be committed but are not yet permanently stored in the repository.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Local Repository&lt;/strong&gt;&lt;br&gt;
Running git commit saves the staged changes into the local repository. This stores a history of all committed changes.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Remote Repository&lt;/strong&gt;&lt;br&gt;
Once we are ready to share the changes with others, we can use git push to upload the commits to a remote repository (such as GitHub or GitLab).&lt;/p&gt;




&lt;h2&gt;
  
  
  Installing Git
&lt;/h2&gt;

&lt;p&gt;To start using Git, we have to install it in the system. These steps should be followed:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Open the terminal&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;On Linux, use Ctrl + Alt + T to open the terminal.&lt;br&gt;
On macOS, use the Terminal app.&lt;br&gt;
On Windows, use Git Bash or Command Prompt.&lt;/p&gt;

&lt;p&gt;Note: Here I will be using Linux to install Git. The process is the same for all Operating Systems but only the commands slightly differ.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;enter the command - sudo apt install git&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The terminal will ask the user about the system's password to complete the installation. The version installed can be checked using the command&lt;/p&gt;

&lt;p&gt;git --version&lt;/p&gt;




</description>
      <category>git</category>
    </item>
    <item>
      <title>Version Control System Introduction</title>
      <dc:creator>Kaushik V</dc:creator>
      <pubDate>Mon, 17 Feb 2025 17:54:37 +0000</pubDate>
      <link>https://dev.to/kaushikalex/version-control-system-introduction-403b</link>
      <guid>https://dev.to/kaushikalex/version-control-system-introduction-403b</guid>
      <description>&lt;p&gt;Before we start learning Java, we need to understand how to save our code and collaborate with other developers, just as we would when working in a team. This is important because, in a company, developers divide tasks and work on them simultaneously to complete projects efficiently. We also need a way to restore code to previous versions in case an error occurs in the current version. This is where a version control system (VCS) comes in.&lt;/p&gt;

&lt;p&gt;What is a Version Control System?&lt;br&gt;
A version control system is software that helps developers track the three W’s while handling code:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Who made the change&lt;/li&gt;
&lt;li&gt;When the change was made&lt;/li&gt;
&lt;li&gt;Where the change was made&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These three questions can help us understand why an error might have occurred.&lt;/p&gt;

&lt;p&gt;The VCS takes a snapshot of every modification, allowing you to revert to a previous version if you make a mistake. 😁&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;History of Version Control Systems&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Initially, files were stored in multiple local directories, which was prone to errors. To address this, the local version control system was introduced, where all versions were stored in a local repository. One of the oldest systems, RCS (Revision Control System), was introduced in 1982.&lt;/p&gt;

&lt;p&gt;However, this method was not feasible for teams, leading to the introduction of the centralized version control system (CVCS). These systems used a central server to store all versions. The main drawback was that CVCS had a single point of failure—if the central server was corrupted or lost, the data could not be recovered. Additionally, large teams found it difficult to work efficiently with this system.&lt;/p&gt;

&lt;p&gt;To overcome these drawbacks, the distributed version control system (DVCS) was introduced. In this system, every workspace/system has its own local repository and working copy, along with a central repository for synchronization.&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;Terminology in VCS&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Working Directory – The folder where the code is stored.&lt;br&gt;
Repository – Maintains different versions of the code.&lt;br&gt;
Commit – Saves changes to the repository.&lt;br&gt;
Checkout – Retrieves code from the repository to the working directory.&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;Types of Version Control Systems&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Centralized Version Control System (CVCS) – Uses a central server to store all versions.&lt;br&gt;
Distributed Version Control System (DVCS) – Every system has a local repository, along with a central server.&lt;/p&gt;




</description>
      <category>git</category>
    </item>
    <item>
      <title>From Hardstuck Gold to Challenger IRL: My Java Journey 🎉</title>
      <dc:creator>Kaushik V</dc:creator>
      <pubDate>Mon, 17 Feb 2025 17:03:27 +0000</pubDate>
      <link>https://dev.to/kaushikalex/from-hardstuck-gold-to-challenger-irl-my-java-journey-1o5k</link>
      <guid>https://dev.to/kaushikalex/from-hardstuck-gold-to-challenger-irl-my-java-journey-1o5k</guid>
      <description>&lt;p&gt;As a hardstuck Gold League of Legends player, I have decided it is now time to grind my skills in real life, not just on the Rift but also in coding. My goal now is to level up my Java skills from iron tier and to reach Challenger tier as a developer.&lt;/p&gt;

&lt;p&gt;This blog will also act as my training log, where I document everything I learn. Whether you are also on the path to mastering Java or just exploring new things, I hope this becomes a valuable resource for both of us. Let us climb the ranks together.&lt;/p&gt;

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