<?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[Tech Shark]]></title><description><![CDATA[This blog helps to make you a better Web Developer.]]></description><link>https://blog.tejaswan.me</link><image><url>https://cdn.hashnode.com/res/hashnode/image/upload/v1768759123811/cbec3293-485a-4ba4-819a-c949eb127fcc.png</url><title>Tech Shark</title><link>https://blog.tejaswan.me</link></image><generator>RSS for Node</generator><lastBuildDate>Fri, 10 Apr 2026 22:17:19 GMT</lastBuildDate><atom:link href="https://blog.tejaswan.me/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[#5 Introduction to CSS]]></title><description><![CDATA[What is CSS?
CSS, or Cascading Style Sheets, is a stylesheet language that describes the presentation of an HTML or XML document. It is used to add styling and layout to web pages, defining elements such as colors, fonts, layouts, and animations. CSS...]]></description><link>https://blog.tejaswan.me/5-introduction-to-css</link><guid isPermaLink="true">https://blog.tejaswan.me/5-introduction-to-css</guid><category><![CDATA[2Articles1Week]]></category><category><![CDATA[CSS]]></category><category><![CDATA[CSS3]]></category><dc:creator><![CDATA[Tejaswan Kalluri]]></dc:creator><pubDate>Sat, 02 Mar 2024 06:30:00 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1768759532399/67278630-7817-4685-98fc-f6b42451a7b7.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h2 id="heading-what-is-css">What is CSS?</h2>
<p>CSS, or Cascading Style Sheets, is a stylesheet language that describes the presentation of an HTML or XML document. It is used to add styling and layout to web pages, defining elements such as colors, fonts, layouts, and animations. CSS works by targeting specific elements in an HTML document and applying style rules to those elements.</p>
<h2 id="heading-why-use-css">Why Use CSS?</h2>
<p>CSS offers a range of benefits when used in web development. Some of the key advantages of using CSS include:</p>
<ol>
<li><p>Separation of content and presentation: CSS allows you to separate the presentation of your website from the content, making it easier to manage and update.</p>
</li>
<li><p>Consistent styling: By using CSS, you can ensure that all of the pages on your website have a consistent look and feel, which can help to enhance user experience.</p>
</li>
<li><p>Flexibility: With CSS, you have greater control over the layout and styling of your web pages, allowing you to create more complex designs and responsive layouts</p>
</li>
</ol>
<h3 id="heading-getting-started-with-css">Getting Started with CSS:</h3>
<p>Before you can start using CSS, you need to have an HTML document to apply it to. Here are the basic steps to add CSS to an HTML document:</p>
<ol>
<li><p>Create an HTML document: You can create an HTML document using any text editor, such as Notepad or Sublime Text.</p>
</li>
<li><p>Add the CSS code: To add CSS to your HTML document, you can use the &lt;style&gt; tag. You can add CSS rules inside the &lt;style&gt; tag to target specific elements in your HTML document.</p>
</li>
<li><p>Apply the CSS: Once you've added the CSS code to your HTML document, you can apply it to specific elements using the "class" and "id" attributes.</p>
</li>
</ol>
<h3 id="heading-css-syntax">CSS Syntax:</h3>
<p>CSS uses a simple syntax that consists of a selector and a set of rules. The selector identifies the HTML element that you want to style, while the rules define the style properties that you want to apply. Here's an example:</p>
<pre><code class="lang-css"><span class="hljs-selector-tag">selector</span> {
  <span class="hljs-attribute">property</span>: value;
}
</code></pre>
<p>In this example, "selector" would be replaced with the name of the HTML element you want to style, such as "h1" for headings or "p" for paragraphs. "property" would be replaced with the style property you want to apply, such as "color" for text color or "font-size" for font size. And "value" would be replaced with the specific value you want to apply to that property, such as "red" for the color property or "14px" for the font-size property.</p>
<h2 id="heading-css-terms">CSS Terms</h2>
<h3 id="heading-css-selectors">CSS Selectors:</h3>
<p>In CSS, selectors are used to target specific elements in an HTML document. There are several types of selectors, including element selectors, class selectors, and ID selectors. Element selectors target specific HTML elements, such as headings or paragraphs. Class selectors target elements with a specific class attribute, while ID selectors target elements with a specific ID attribute. By combining selectors, you can create complex styles that target specific elements within your HTML document.</p>
<h3 id="heading-css-properties">CSS Properties:</h3>
<p>CSS properties are used to define the style of an HTML element. There are hundreds of CSS properties to choose from, each with its own unique set of values. Some common CSS properties include font-family, font-size, color, background-color, margin, padding, border, and text-align. By combining different CSS properties, you can create unique styles for your web pages.</p>
<h3 id="heading-css-box-model">CSS Box Model:</h3>
<p>The CSS box model is a fundamental concept in web design that describes how elements are displayed on a web page. Each HTML element is represented by a rectangular box, which is made up of several parts, including the content area, padding, border, and margin. By understanding the box model, you can create more complex layouts and designs for your web pages.</p>
<h2 id="heading-conclusion">Conclusion</h2>
<p>CSS is a powerful tool for web development that can help you create beautiful and engaging websites. By learning the basics of CSS syntax and how to apply it to your HTML documents, you can take your web development skills to the next level. With practice and experience, you'll be able to create stunning web designs that will impress your clients and users.</p>
<hr />
<h2 id="heading-outro">Outro</h2>
<p>I am making this series of content to help other aspiring developers who want to start their career in Web Development. It takes a lot of effort to make the series, If you really like my work <a target="_blank" href="https://blog.tejaswan.me/sponsor">Buy me a Coffee</a> and Follow me on Twitter <a target="_blank" href="https://x.com/techtoe_">techtoe_</a> and Instagram <a target="_blank" href="https://www.instagram.com/techshark_web/">Tech Shark (@techshark_web)</a></p>
]]></content:encoded></item><item><title><![CDATA[Dockerize your application]]></title><description><![CDATA[Docker is a tool that allows you to create, run, and deploy applications using containers. Containers are isolated environments that contain everything your application needs to run, such as code, libraries, dependencies, and configuration files. By ...]]></description><link>https://blog.tejaswan.me/dockerize-your-application</link><guid isPermaLink="true">https://blog.tejaswan.me/dockerize-your-application</guid><category><![CDATA[Docker]]></category><category><![CDATA[Devops]]></category><category><![CDATA[Dockerfile]]></category><dc:creator><![CDATA[Tejaswan Kalluri]]></dc:creator><pubDate>Fri, 26 Jan 2024 06:22:35 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1706249636188/a8a449e5-4bda-472b-b744-bda1c5228fc8.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Docker is a tool that allows you to create, run, and deploy applications using containers. Containers are isolated environments that contain everything your application needs to run, such as code, libraries, dependencies, and configuration files. By using Docker, you can ensure that your application runs consistently across different platforms and environments, such as development, testing, and production.</p>
<p>The first step to dockerize your backend application is to create a Dockerfile. A Dockerfile is a text file that contains instructions for building a Docker image. A Docker image is a snapshot of your application and its dependencies that can be used to create and run containers. To create a Dockerfile, you need to specify the base image, the commands to install the dependencies, the files to copy to the image, and the command to run the application.</p>
<h2 id="heading-dockerize-node-js-application">Dockerize Node js application</h2>
<p>Node js is the most popular backend runtime which helps in creating applications quicker and scale easily. Using express js framework we can create API quicker and maintainable</p>
<p>Let's create a Dockerfile for the express js application which is running on port 8000</p>
<pre><code class="lang-dockerfile"><span class="hljs-keyword">FROM</span> node:<span class="hljs-number">20</span>

<span class="hljs-keyword">WORKDIR</span><span class="bash"> /app</span>
<span class="hljs-keyword">COPY</span><span class="bash"> package*.json ./</span>
<span class="hljs-keyword">RUN</span><span class="bash"> npm install &amp;&amp; npm prune --production</span>

<span class="hljs-keyword">COPY</span><span class="bash"> . .</span>
<span class="hljs-keyword">EXPOSE</span> <span class="hljs-number">8000</span>
<span class="hljs-keyword">CMD</span><span class="bash"> [<span class="hljs-string">"node"</span>, <span class="hljs-string">"index.js"</span>]</span>
</code></pre>
<h2 id="heading-dockerize-java-spring-boot-maven-app">Dockerize Java Spring Boot Maven app</h2>
<p>Spring Boot is the most popular across enterprise applications and microservice applications. Spring Boot is used in organizations like Netflix, Uber, LinkedIn, etc. Spring Boot has gained popularity due to Dependency injection, aspect-oriented programming, and decoupling.</p>
<pre><code class="lang-dockerfile"><span class="hljs-keyword">FROM</span> maven:<span class="hljs-number">3.8</span>.<span class="hljs-number">4</span>-openjdk-<span class="hljs-number">17</span> AS build
<span class="hljs-keyword">WORKDIR</span><span class="bash"> /app</span>
<span class="hljs-keyword">COPY</span><span class="bash"> pom.xml .</span>
<span class="hljs-keyword">COPY</span><span class="bash"> src ./src</span>
<span class="hljs-keyword">RUN</span><span class="bash"> mvn clean install</span>

<span class="hljs-keyword">FROM</span> openjdk:<span class="hljs-number">17</span>-jre-slim

<span class="hljs-comment"># Set the working directory to /app</span>
<span class="hljs-keyword">WORKDIR</span><span class="bash"> /app</span>
<span class="hljs-comment"># Copy the generated SNAPSHOT jar from build to /app</span>
<span class="hljs-keyword">COPY</span><span class="bash"> --from=build /app/target/&lt;APP&gt;.jar app.jar</span>

<span class="hljs-comment"># Make port 8080 available to the world outside this container</span>
<span class="hljs-keyword">EXPOSE</span> <span class="hljs-number">8080</span>

<span class="hljs-comment"># Run the JAR file when the container launches</span>
<span class="hljs-keyword">CMD</span><span class="bash"> [<span class="hljs-string">"java"</span>, <span class="hljs-string">"-jar"</span>, <span class="hljs-string">"app.jar"</span>]</span>
</code></pre>
<h2 id="heading-dockerize-python-django-application">Dockerize Python Django application</h2>
<p>Django is the most popular framework in Python web applications. Django has gained its popularity due to features like rapid development, security, and authentication. which are prebuilt are ready to use features</p>
<pre><code class="lang-dockerfile"><span class="hljs-comment"># Use an official Python runtime as a parent image</span>
<span class="hljs-keyword">FROM</span> python:<span class="hljs-number">3.10</span>-slim

<span class="hljs-comment"># Set environment variables</span>
<span class="hljs-keyword">ENV</span> PYTHONDONTWRITEBYTECODE <span class="hljs-number">1</span>
<span class="hljs-keyword">ENV</span> PYTHONUNBUFFERED <span class="hljs-number">1</span>

<span class="hljs-comment"># Create and set the working directory</span>
<span class="hljs-keyword">WORKDIR</span><span class="bash"> /app</span>

<span class="hljs-comment"># Copy the requirements file into the container at /app</span>
<span class="hljs-keyword">COPY</span><span class="bash"> requirements.txt /app/</span>

<span class="hljs-comment"># Install any needed packages specified in requirements.txt</span>
<span class="hljs-keyword">RUN</span><span class="bash"> pip install --no-cache-dir -r requirements.txt</span>

<span class="hljs-comment"># Copy the current directory contents into the container at /app</span>
<span class="hljs-keyword">COPY</span><span class="bash"> . /app/</span>

<span class="hljs-comment"># Expose port 8000 to the outside world</span>
<span class="hljs-keyword">EXPOSE</span> <span class="hljs-number">8000</span>

<span class="hljs-comment"># Run the Django application</span>
<span class="hljs-keyword">CMD</span><span class="bash"> [<span class="hljs-string">"python"</span>, <span class="hljs-string">"manage.py"</span>, <span class="hljs-string">"runserver"</span>, <span class="hljs-string">"0.0.0.0:8000"</span>]</span>
</code></pre>
<h2 id="heading-outro">Outro ❤️</h2>
<p>I am making this series of content to help other aspiring developers who want to start their career in Web Development. It takes a lot of effort to make the series, If you really like my work <a target="_blank" href="https://blog.tejaswan.me/sponsor"><strong>Buy me a Coffee</strong></a> and Follow me on Twitter <a target="_blank" href="https://twitter.com/techtoe_"><strong>techtoe</strong></a> and Instagram <a target="_blank" href="https://www.instagram.com/techshark_web/">Tech Shark (@techshark_web)</a></p>
]]></content:encoded></item><item><title><![CDATA[#4 HTML <Tags />]]></title><description><![CDATA[What are Tags?
In HTML, HTML tags are the building blocks of HTML, the language used to create websites. HTML tags are codes that are used to create the different elements of a web page.
They consist of opening and closing tags, which are wrapped aro...]]></description><link>https://blog.tejaswan.me/4-html-tags</link><guid isPermaLink="true">https://blog.tejaswan.me/4-html-tags</guid><category><![CDATA[HTML5]]></category><category><![CDATA[HTML]]></category><category><![CDATA[Web Development]]></category><category><![CDATA[2Articles1Week]]></category><dc:creator><![CDATA[Tejaswan Kalluri]]></dc:creator><pubDate>Mon, 20 Feb 2023 14:40:25 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1676903700883/07546bf4-7bb3-428b-a331-89443330af6d.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h2 id="heading-what-are-tags">What are Tags?</h2>
<p>In HTML, HTML tags are the building blocks of HTML, the language used to create websites. HTML tags are codes that are used to create the different elements of a web page.</p>
<p>They consist of opening and closing tags, which are wrapped around content to define its meaning and presentation. The opening tag is enclosed in angle brackets and contains the name of the tag, and the closing tag is also enclosed in angle brackets and contains the name of the tag preceded by a forward slash.</p>
<p>For example, the HTML tag for a paragraph is &lt;p&gt;, which is the opening tag, and &lt;/p&gt;, which is the closing tag. The content that is contained between the opening and closing tags is what makes up the paragraph.</p>
<p>There are many different HTML tags that can be used to create various types of content, such as headings, images, links, lists, tables, forms, and more. By using a combination of these tags, web developers can create complex web pages with a variety of content and functionality.</p>
<h2 id="heading-some-useful-html-tags">Some useful HTML tags</h2>
<ol>
<li><p>&lt;html&gt; - This tag is used to indicate the start and end of an HTML document.</p>
</li>
<li><p>&lt;head&gt; - This tag is used to contain the metadata of an HTML document, such as the title, description, and keywords.</p>
</li>
<li><p>&lt;body&gt; - This tag is used to contain the visible content of an HTML document, such as text, images, and other media.</p>
</li>
<li><p>&lt;p&gt; - This tag is used to indicate a paragraph of text.</p>
</li>
<li><p>&lt;h1&gt; to &lt;h6&gt; - These tags are used to indicate headings of varying sizes and importance, with &lt;h1&gt; being the largest and most important.</p>
</li>
<li><p>&lt;img&gt; - This tag is used to insert an image into an HTML document.</p>
</li>
<li><p>&lt;a&gt; - This tag is used to create a hyperlink to another web page or to a specific part of the same page.</p>
</li>
<li><p>&lt;ul&gt; and &lt;li&gt; - These tags are used to create unordered lists, with &lt;ul&gt; indicating the start of the list and &lt;li&gt; indicating each item in the list.</p>
</li>
<li><p>&lt;ol&gt; and &lt;li&gt; - These tags are used to create ordered lists, with &lt;ol&gt; indicating the start of the list and &lt;li&gt; indicating each item in the list.</p>
</li>
<li><p>&lt;table&gt;, &lt;tr&gt;, &lt;td&gt; - These tags are used to create tables, with &lt;table&gt; indicating the start of the table, &lt;tr&gt; indicating a row, and &lt;td&gt; indicating a cell within the row.</p>
</li>
</ol>
<h2 id="heading-lets-create-a-website">Let's create a website</h2>
<pre><code class="lang-xml"><span class="hljs-meta">&lt;!DOCTYPE <span class="hljs-meta-keyword">html</span>&gt;</span>
<span class="hljs-tag">&lt;<span class="hljs-name">html</span>&gt;</span>
<span class="hljs-tag">&lt;<span class="hljs-name">head</span>&gt;</span>
    <span class="hljs-tag">&lt;<span class="hljs-name">title</span>&gt;</span>My Simple Website<span class="hljs-tag">&lt;/<span class="hljs-name">title</span>&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-name">head</span>&gt;</span>
<span class="hljs-tag">&lt;<span class="hljs-name">body</span>&gt;</span>
    <span class="hljs-tag">&lt;<span class="hljs-name">h1</span>&gt;</span>Welcome to My Simple Website<span class="hljs-tag">&lt;/<span class="hljs-name">h1</span>&gt;</span>
    <span class="hljs-tag">&lt;<span class="hljs-name">p</span>&gt;</span>This is a simple website created using HTML tags.<span class="hljs-tag">&lt;/<span class="hljs-name">p</span>&gt;</span>
    <span class="hljs-tag">&lt;<span class="hljs-name">h2</span>&gt;</span>My Favorite Things<span class="hljs-tag">&lt;/<span class="hljs-name">h2</span>&gt;</span>
    <span class="hljs-tag">&lt;<span class="hljs-name">ul</span>&gt;</span>
        <span class="hljs-tag">&lt;<span class="hljs-name">li</span>&gt;</span>Cats<span class="hljs-tag">&lt;/<span class="hljs-name">li</span>&gt;</span>
        <span class="hljs-tag">&lt;<span class="hljs-name">li</span>&gt;</span>Pizza<span class="hljs-tag">&lt;/<span class="hljs-name">li</span>&gt;</span>
        <span class="hljs-tag">&lt;<span class="hljs-name">li</span>&gt;</span>Reading<span class="hljs-tag">&lt;/<span class="hljs-name">li</span>&gt;</span>
    <span class="hljs-tag">&lt;/<span class="hljs-name">ul</span>&gt;</span>
    <span class="hljs-tag">&lt;<span class="hljs-name">h2</span>&gt;</span>A Photo of a Cat<span class="hljs-tag">&lt;/<span class="hljs-name">h2</span>&gt;</span>
    <span class="hljs-tag">&lt;<span class="hljs-name">img</span> <span class="hljs-attr">src</span>=<span class="hljs-string">"https://placekitten.com/200/300"</span> <span class="hljs-attr">alt</span>=<span class="hljs-string">"A photo of a cat"</span>&gt;</span>
    <span class="hljs-tag">&lt;<span class="hljs-name">h2</span>&gt;</span>My Favorite Quote<span class="hljs-tag">&lt;/<span class="hljs-name">h2</span>&gt;</span>
    <span class="hljs-tag">&lt;<span class="hljs-name">blockquote</span>&gt;</span>"The only way to do great work is to love what you do." - Steve Jobs<span class="hljs-tag">&lt;/<span class="hljs-name">blockquote</span>&gt;</span>
    <span class="hljs-tag">&lt;<span class="hljs-name">h2</span>&gt;</span>Contact Me<span class="hljs-tag">&lt;/<span class="hljs-name">h2</span>&gt;</span>
    <span class="hljs-tag">&lt;<span class="hljs-name">p</span>&gt;</span>You can contact me by <span class="hljs-tag">&lt;<span class="hljs-name">a</span> <span class="hljs-attr">href</span>=<span class="hljs-string">"mailto:example@gmail.com"</span>&gt;</span>email<span class="hljs-tag">&lt;/<span class="hljs-name">a</span>&gt;</span>.<span class="hljs-tag">&lt;/<span class="hljs-name">p</span>&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-name">body</span>&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-name">html</span>&gt;</span>
</code></pre>
<div class="embed-wrapper"><div class="embed-loading"><div class="loadingRow"></div><div class="loadingRow"></div></div><a class="embed-card" href="https://codepen.io/tejaswankalluri/pen/MWqKjoM">https://codepen.io/tejaswankalluri/pen/MWqKjoM</a></div>
<p> </p>
<h2 id="heading-attributes-in-html">Attributes in HTML</h2>
<p>In HTML, attributes are additional pieces of information that can be added to an HTML element to provide more details about that element. Attributes are used to modify the default behavior of an element or to provide additional information about it.</p>
<p>Attributes are specified within the opening tag of an HTML element and consist of a name and a value, separated by an equals sign. The value is usually enclosed in quotation marks.</p>
<p>Here's an example of an HTML element with an attribute:</p>
<pre><code class="lang-xml"><span class="hljs-tag">&lt;<span class="hljs-name">img</span> <span class="hljs-attr">src</span>=<span class="hljs-string">"image.jpg"</span> <span class="hljs-attr">alt</span>=<span class="hljs-string">"An image of a mountain"</span>&gt;</span>
</code></pre>
<p>In this example, the <code>&lt;img&gt;</code> tag is used to display an image, and it has two attributes: <code>src</code> and <code>alt</code>. The <code>src</code> attribute specifies the location of the image file, and the <code>alt</code> attribute provides alternative text for the image, which can be used by screen readers or when the image cannot be displayed.</p>
<p>Some common attributes in HTML include:</p>
<ul>
<li><p><code>class</code> - used to specify one or more CSS classes for an element</p>
</li>
<li><p><code>id</code> - used to specify a unique identifier for an element</p>
</li>
<li><p><code>href</code> - used to specify the URL of a hyperlink</p>
</li>
<li><p><code>title</code> - used to provide additional information about an element (often displayed as a tooltip)</p>
</li>
<li><p><code>style</code> - used to specify inline CSS styles for an element</p>
</li>
</ul>
<p>Each HTML element has a specific set of attributes that can be used with it. By using attributes, you can modify the behavior and appearance of HTML elements to create more sophisticated and dynamic web pages.</p>
<h2 id="heading-html-forms">HTML forms</h2>
<p>In web development, HTML forms are a way for users to input data and interact with a web page. Forms allow users to submit data such as text, numbers, or files to a web server for processing.</p>
<p>An HTML form is created using the <code>&lt;form&gt;</code> tag, which contains one or more input elements, such as text boxes, checkboxes, radio buttons, and dropdown lists. When the user submits the form, the data is sent to a server using the HTTP protocol. The server can then process the data and send a response back to the user.</p>
<p>Here's an example of a simple HTML form:</p>
<pre><code class="lang-xml"><span class="hljs-tag">&lt;<span class="hljs-name">form</span> <span class="hljs-attr">action</span>=<span class="hljs-string">"submit.php"</span> <span class="hljs-attr">method</span>=<span class="hljs-string">"post"</span>&gt;</span>
  <span class="hljs-tag">&lt;<span class="hljs-name">label</span> <span class="hljs-attr">for</span>=<span class="hljs-string">"name"</span>&gt;</span>Name:<span class="hljs-tag">&lt;/<span class="hljs-name">label</span>&gt;</span>
  <span class="hljs-tag">&lt;<span class="hljs-name">input</span> <span class="hljs-attr">type</span>=<span class="hljs-string">"text"</span> <span class="hljs-attr">id</span>=<span class="hljs-string">"name"</span> <span class="hljs-attr">name</span>=<span class="hljs-string">"name"</span>&gt;</span><span class="hljs-tag">&lt;<span class="hljs-name">br</span>&gt;</span><span class="hljs-tag">&lt;<span class="hljs-name">br</span>&gt;</span>

  <span class="hljs-tag">&lt;<span class="hljs-name">label</span> <span class="hljs-attr">for</span>=<span class="hljs-string">"email"</span>&gt;</span>Email:<span class="hljs-tag">&lt;/<span class="hljs-name">label</span>&gt;</span>
  <span class="hljs-tag">&lt;<span class="hljs-name">input</span> <span class="hljs-attr">type</span>=<span class="hljs-string">"email"</span> <span class="hljs-attr">id</span>=<span class="hljs-string">"email"</span> <span class="hljs-attr">name</span>=<span class="hljs-string">"email"</span>&gt;</span><span class="hljs-tag">&lt;<span class="hljs-name">br</span>&gt;</span><span class="hljs-tag">&lt;<span class="hljs-name">br</span>&gt;</span>

  <span class="hljs-tag">&lt;<span class="hljs-name">label</span> <span class="hljs-attr">for</span>=<span class="hljs-string">"message"</span>&gt;</span>Message:<span class="hljs-tag">&lt;/<span class="hljs-name">label</span>&gt;</span><span class="hljs-tag">&lt;<span class="hljs-name">br</span>&gt;</span>
  <span class="hljs-tag">&lt;<span class="hljs-name">textarea</span> <span class="hljs-attr">id</span>=<span class="hljs-string">"message"</span> <span class="hljs-attr">name</span>=<span class="hljs-string">"message"</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">textarea</span>&gt;</span><span class="hljs-tag">&lt;<span class="hljs-name">br</span>&gt;</span><span class="hljs-tag">&lt;<span class="hljs-name">br</span>&gt;</span>

  <span class="hljs-tag">&lt;<span class="hljs-name">input</span> <span class="hljs-attr">type</span>=<span class="hljs-string">"submit"</span> <span class="hljs-attr">value</span>=<span class="hljs-string">"Submit"</span>&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-name">form</span>&gt;</span>
</code></pre>
<p>In this example, the form has three input elements: a text box for the user's name, an email input for the user's email address, and a text area for the user's message. The <code>action</code> attribute specifies the URL of the script that will process the form data when it is submitted. The <code>method</code> attribute specifies the HTTP method that will be used to submit the form data (in this case, POST).</p>
<p>When the user clicks the "Submit" button, the form data is sent to the script specified in the <code>action</code> attribute, which can then process the data and generate a response. Form processing can be done using server-side languages like PHP, Python, or Node.js.</p>
<p>HTML forms are an essential part of web development, allowing users to interact with web pages and submit data for processing. They are used in a wide range of applications, from simple contact forms to complex web applications.</p>
<h3 id="heading-some-html-form-tags">Some HTML Form Tags</h3>
<ol>
<li><p><code>&lt;form&gt;</code>: This tag creates an HTML form that contains input fields and other elements that allow users to submit data to a web server.</p>
</li>
<li><p><code>&lt;input&gt;</code>: This tag creates a variety of input fields that allow users to enter data, such as text, numbers, dates, and files. Some of the common <code>type</code> attributes used with the <code>&lt;input&gt;</code> tag include <code>text</code>, <code>password</code>, <code>checkbox</code>, <code>radio</code>, <code>submit</code>, <code>reset</code>, <code>file</code>, <code>date</code>, <code>time</code>, and <code>email</code>.</p>
</li>
<li><p><code>&lt;textarea&gt;</code>: This tag creates a multi-line input field that allows users to enter large amounts of text, such as comments or messages.</p>
</li>
<li><p><code>&lt;select&gt;</code>: This tag creates a drop-down list that allows users to select one or more options from a list of predefined values.</p>
</li>
<li><p><code>&lt;option&gt;</code>: This tag is used within the <code>&lt;select&gt;</code> tag to define the values that can be selected in the drop-down list.</p>
</li>
<li><p><code>&lt;label&gt;</code>: This tag is used to associate a label with an input field, allowing users to click on the label to select the input field.</p>
</li>
<li><p><code>&lt;button&gt;</code>: This tag creates a clickable button that can be used to submit a form or perform other actions.</p>
</li>
<li><p><code>&lt;fieldset&gt;</code> and <code>&lt;legend&gt;</code>: These tags are used to group related form elements and provide a title for the group.</p>
</li>
<li><p><code>&lt;form action="url" method="get/post"&gt;</code>: This tag specifies the destination URL and HTTP method that will be used to submit the form data.</p>
</li>
</ol>
<h3 id="heading-example-with-html-forms">Example with HTML forms</h3>
<pre><code class="lang-xml"><span class="hljs-meta">&lt;!DOCTYPE <span class="hljs-meta-keyword">html</span>&gt;</span>
<span class="hljs-tag">&lt;<span class="hljs-name">html</span>&gt;</span>
<span class="hljs-tag">&lt;<span class="hljs-name">head</span>&gt;</span>
    <span class="hljs-tag">&lt;<span class="hljs-name">title</span>&gt;</span>Simple Form Example<span class="hljs-tag">&lt;/<span class="hljs-name">title</span>&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-name">head</span>&gt;</span>
<span class="hljs-tag">&lt;<span class="hljs-name">body</span>&gt;</span>
    <span class="hljs-tag">&lt;<span class="hljs-name">form</span> <span class="hljs-attr">action</span>=<span class="hljs-string">"submit.php"</span> <span class="hljs-attr">method</span>=<span class="hljs-string">"post"</span>&gt;</span>
        <span class="hljs-tag">&lt;<span class="hljs-name">label</span> <span class="hljs-attr">for</span>=<span class="hljs-string">"name"</span>&gt;</span>Name:<span class="hljs-tag">&lt;/<span class="hljs-name">label</span>&gt;</span>
        <span class="hljs-tag">&lt;<span class="hljs-name">input</span> <span class="hljs-attr">type</span>=<span class="hljs-string">"text"</span> <span class="hljs-attr">id</span>=<span class="hljs-string">"name"</span> <span class="hljs-attr">name</span>=<span class="hljs-string">"name"</span>&gt;</span><span class="hljs-tag">&lt;<span class="hljs-name">br</span>&gt;</span><span class="hljs-tag">&lt;<span class="hljs-name">br</span>&gt;</span>

        <span class="hljs-tag">&lt;<span class="hljs-name">label</span> <span class="hljs-attr">for</span>=<span class="hljs-string">"email"</span>&gt;</span>Email:<span class="hljs-tag">&lt;/<span class="hljs-name">label</span>&gt;</span>
        <span class="hljs-tag">&lt;<span class="hljs-name">input</span> <span class="hljs-attr">type</span>=<span class="hljs-string">"email"</span> <span class="hljs-attr">id</span>=<span class="hljs-string">"email"</span> <span class="hljs-attr">name</span>=<span class="hljs-string">"email"</span>&gt;</span><span class="hljs-tag">&lt;<span class="hljs-name">br</span>&gt;</span><span class="hljs-tag">&lt;<span class="hljs-name">br</span>&gt;</span>

        <span class="hljs-tag">&lt;<span class="hljs-name">label</span> <span class="hljs-attr">for</span>=<span class="hljs-string">"password"</span>&gt;</span>Password:<span class="hljs-tag">&lt;/<span class="hljs-name">label</span>&gt;</span>
        <span class="hljs-tag">&lt;<span class="hljs-name">input</span> <span class="hljs-attr">type</span>=<span class="hljs-string">"password"</span> <span class="hljs-attr">id</span>=<span class="hljs-string">"password"</span> <span class="hljs-attr">name</span>=<span class="hljs-string">"password"</span>&gt;</span><span class="hljs-tag">&lt;<span class="hljs-name">br</span>&gt;</span><span class="hljs-tag">&lt;<span class="hljs-name">br</span>&gt;</span>

        <span class="hljs-tag">&lt;<span class="hljs-name">label</span> <span class="hljs-attr">for</span>=<span class="hljs-string">"age"</span>&gt;</span>Age:<span class="hljs-tag">&lt;/<span class="hljs-name">label</span>&gt;</span>
        <span class="hljs-tag">&lt;<span class="hljs-name">input</span> <span class="hljs-attr">type</span>=<span class="hljs-string">"number"</span> <span class="hljs-attr">id</span>=<span class="hljs-string">"age"</span> <span class="hljs-attr">name</span>=<span class="hljs-string">"age"</span> <span class="hljs-attr">min</span>=<span class="hljs-string">"18"</span> <span class="hljs-attr">max</span>=<span class="hljs-string">"100"</span>&gt;</span><span class="hljs-tag">&lt;<span class="hljs-name">br</span>&gt;</span><span class="hljs-tag">&lt;<span class="hljs-name">br</span>&gt;</span>

        <span class="hljs-tag">&lt;<span class="hljs-name">label</span> <span class="hljs-attr">for</span>=<span class="hljs-string">"gender"</span>&gt;</span>Gender:<span class="hljs-tag">&lt;/<span class="hljs-name">label</span>&gt;</span><span class="hljs-tag">&lt;<span class="hljs-name">br</span>&gt;</span>
        <span class="hljs-tag">&lt;<span class="hljs-name">input</span> <span class="hljs-attr">type</span>=<span class="hljs-string">"radio"</span> <span class="hljs-attr">id</span>=<span class="hljs-string">"male"</span> <span class="hljs-attr">name</span>=<span class="hljs-string">"gender"</span> <span class="hljs-attr">value</span>=<span class="hljs-string">"male"</span>&gt;</span>
        <span class="hljs-tag">&lt;<span class="hljs-name">label</span> <span class="hljs-attr">for</span>=<span class="hljs-string">"male"</span>&gt;</span>Male<span class="hljs-tag">&lt;/<span class="hljs-name">label</span>&gt;</span><span class="hljs-tag">&lt;<span class="hljs-name">br</span>&gt;</span>
        <span class="hljs-tag">&lt;<span class="hljs-name">input</span> <span class="hljs-attr">type</span>=<span class="hljs-string">"radio"</span> <span class="hljs-attr">id</span>=<span class="hljs-string">"female"</span> <span class="hljs-attr">name</span>=<span class="hljs-string">"gender"</span> <span class="hljs-attr">value</span>=<span class="hljs-string">"female"</span>&gt;</span>
        <span class="hljs-tag">&lt;<span class="hljs-name">label</span> <span class="hljs-attr">for</span>=<span class="hljs-string">"female"</span>&gt;</span>Female<span class="hljs-tag">&lt;/<span class="hljs-name">label</span>&gt;</span><span class="hljs-tag">&lt;<span class="hljs-name">br</span>&gt;</span>

        <span class="hljs-tag">&lt;<span class="hljs-name">label</span> <span class="hljs-attr">for</span>=<span class="hljs-string">"favorite-color"</span>&gt;</span>Favorite Color:<span class="hljs-tag">&lt;/<span class="hljs-name">label</span>&gt;</span>
        <span class="hljs-tag">&lt;<span class="hljs-name">input</span> <span class="hljs-attr">type</span>=<span class="hljs-string">"color"</span> <span class="hljs-attr">id</span>=<span class="hljs-string">"favorite-color"</span> <span class="hljs-attr">name</span>=<span class="hljs-string">"favorite-color"</span>&gt;</span><span class="hljs-tag">&lt;<span class="hljs-name">br</span>&gt;</span><span class="hljs-tag">&lt;<span class="hljs-name">br</span>&gt;</span>

        <span class="hljs-tag">&lt;<span class="hljs-name">label</span> <span class="hljs-attr">for</span>=<span class="hljs-string">"favorite-fruit"</span>&gt;</span>Favorite Fruit:<span class="hljs-tag">&lt;/<span class="hljs-name">label</span>&gt;</span>
        <span class="hljs-tag">&lt;<span class="hljs-name">select</span> <span class="hljs-attr">id</span>=<span class="hljs-string">"favorite-fruit"</span> <span class="hljs-attr">name</span>=<span class="hljs-string">"favorite-fruit"</span>&gt;</span>
            <span class="hljs-tag">&lt;<span class="hljs-name">option</span> <span class="hljs-attr">value</span>=<span class="hljs-string">"apple"</span>&gt;</span>Apple<span class="hljs-tag">&lt;/<span class="hljs-name">option</span>&gt;</span>
            <span class="hljs-tag">&lt;<span class="hljs-name">option</span> <span class="hljs-attr">value</span>=<span class="hljs-string">"banana"</span>&gt;</span>Banana<span class="hljs-tag">&lt;/<span class="hljs-name">option</span>&gt;</span>
            <span class="hljs-tag">&lt;<span class="hljs-name">option</span> <span class="hljs-attr">value</span>=<span class="hljs-string">"orange"</span>&gt;</span>Orange<span class="hljs-tag">&lt;/<span class="hljs-name">option</span>&gt;</span>
            <span class="hljs-tag">&lt;<span class="hljs-name">option</span> <span class="hljs-attr">value</span>=<span class="hljs-string">"strawberry"</span>&gt;</span>Strawberry<span class="hljs-tag">&lt;/<span class="hljs-name">option</span>&gt;</span>
        <span class="hljs-tag">&lt;/<span class="hljs-name">select</span>&gt;</span><span class="hljs-tag">&lt;<span class="hljs-name">br</span>&gt;</span><span class="hljs-tag">&lt;<span class="hljs-name">br</span>&gt;</span>

        <span class="hljs-tag">&lt;<span class="hljs-name">label</span> <span class="hljs-attr">for</span>=<span class="hljs-string">"comments"</span>&gt;</span>Comments:<span class="hljs-tag">&lt;/<span class="hljs-name">label</span>&gt;</span><span class="hljs-tag">&lt;<span class="hljs-name">br</span>&gt;</span>
        <span class="hljs-tag">&lt;<span class="hljs-name">textarea</span> <span class="hljs-attr">id</span>=<span class="hljs-string">"comments"</span> <span class="hljs-attr">name</span>=<span class="hljs-string">"comments"</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">textarea</span>&gt;</span><span class="hljs-tag">&lt;<span class="hljs-name">br</span>&gt;</span><span class="hljs-tag">&lt;<span class="hljs-name">br</span>&gt;</span>

        <span class="hljs-tag">&lt;<span class="hljs-name">input</span> <span class="hljs-attr">type</span>=<span class="hljs-string">"submit"</span> <span class="hljs-attr">value</span>=<span class="hljs-string">"Submit"</span>&gt;</span>
    <span class="hljs-tag">&lt;/<span class="hljs-name">form</span>&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-name">body</span>&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-name">html</span>&gt;</span>
</code></pre>
<p>In this example, the form includes several different input types, including text boxes, email fields, password fields, number fields, radio buttons, color pickers, and dropdown lists. The form also includes a textarea for comments, as well as a submit button.</p>
<p>When the user submits the form, the data is sent to the server specified in the <code>action</code> attribute of the form using the HTTP method specified in the <code>method</code> attribute (in this case, <code>post</code>). The server can then process the data and generate a response.</p>
<p><strong>Note:</strong> that the example above is just a simple illustration of how you can use HTML form tags. In a real web application, you would need to implement server-side code to process the form data and handle user input securely.</p>
<div class="embed-wrapper"><div class="embed-loading"><div class="loadingRow"></div><div class="loadingRow"></div></div><a class="embed-card" href="https://codepen.io/tejaswankalluri/pen/GRXojzG">https://codepen.io/tejaswankalluri/pen/GRXojzG</a></div>
<p> </p>
<h2 id="heading-semantic-html">Semantic HTML</h2>
<p>Semantic HTML refers to the use of HTML markup to convey the meaning and structure of web content rather than just its appearance. In other words, it's using HTML tags to provide more context and meaning to the content of a web page, so that it can be more easily understood by both human readers and machines such as search engines, screen readers, and other assistive technologies.</p>
<p>By using semantic HTML, web developers can create more accessible, more maintainable, and more search engine-friendly web pages. Here are some examples of semantic HTML tags and their meaning:</p>
<ol>
<li><p><code>&lt;header&gt;</code>: This tag represents the introductory content of a web page, such as the logo, the site navigation, and the main heading.</p>
</li>
<li><p><code>&lt;nav&gt;</code>: This tag represents a section of a web page that contains navigation links.</p>
</li>
<li><p><code>&lt;article&gt;</code>: This tag represents a self-contained piece of content, such as a blog post or a news article.</p>
</li>
<li><p><code>&lt;section&gt;</code>: This tag represents a generic section of a web page, such as a chapter or a group of related articles.</p>
</li>
<li><p><code>&lt;aside&gt;</code>: This tag represents content that is related to the main content of a web page, but can be considered tangential or supplementary.</p>
</li>
<li><p><code>&lt;footer&gt;</code>: This tag represents the footer or end content of a web page, such as the copyright information or the site map.</p>
</li>
<li><p><code>&lt;main&gt;</code>: This tag represents the main content of a web page, which should be unique to that page and not repeated across multiple pages.</p>
</li>
</ol>
<p>By using these and other semantic HTML tags appropriately, you can make your web content more understandable and useful to both humans and machines.</p>
<h2 id="heading-html-media">HTML Media</h2>
<p>HTML media refers to the various multimedia content that can be included in an HTML document, such as images, videos, and audio files. By incorporating media elements into your web pages, you can make your content more engaging, informative, and visually appealing.</p>
<p>Here are some examples of how to use HTML tags to include different types of media:</p>
<ol>
<li><p><code>&lt;img&gt;</code>: This tag is used to display images on a web page. You can specify the image source using the <code>src</code> attribute and add alternative text for users who can't see the image using the <code>alt</code> attribute. Example:</p>
<pre><code class="lang-xml"> <span class="hljs-tag">&lt;<span class="hljs-name">img</span> <span class="hljs-attr">src</span>=<span class="hljs-string">"example.jpg"</span> <span class="hljs-attr">alt</span>=<span class="hljs-string">"Example image"</span>&gt;</span>
</code></pre>
</li>
<li><p><code>&lt;video&gt;</code>: This tag is used to embed video content on a web page. You can specify the video source using the <code>src</code> attribute and add controls for playing, pausing, and adjusting the volume using the <code>controls</code> attribute. Example:</p>
<pre><code class="lang-xml"> <span class="hljs-tag">&lt;<span class="hljs-name">video</span> <span class="hljs-attr">src</span>=<span class="hljs-string">"example.mp4"</span> <span class="hljs-attr">controls</span>&gt;</span>
 <span class="hljs-tag">&lt;/<span class="hljs-name">video</span>&gt;</span>
</code></pre>
</li>
<li><p><code>&lt;audio&gt;</code>: This tag is used to embed audio content on a web page. You can specify the audio source using the <code>src</code> attribute and add controls for playing, pausing, and adjusting the volume using the <code>controls</code> attribute. Example:</p>
<pre><code class="lang-xml"> <span class="hljs-tag">&lt;<span class="hljs-name">audio</span> <span class="hljs-attr">src</span>=<span class="hljs-string">"example.mp3"</span> <span class="hljs-attr">controls</span>&gt;</span>
 <span class="hljs-tag">&lt;/<span class="hljs-name">audio</span>&gt;</span>
</code></pre>
</li>
<li><p><code>&lt;iframe&gt;</code>: This tag is used to embed external content, such as a YouTube video or a Google Map, on a web page. You can specify the source URL using the <code>src</code> attribute. Example:</p>
<pre><code class="lang-xml"> <span class="hljs-tag">&lt;<span class="hljs-name">iframe</span> <span class="hljs-attr">src</span>=<span class="hljs-string">"https://www.youtube.com/embed/example"</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">iframe</span>&gt;</span>
</code></pre>
</li>
</ol>
<p>By including multimedia elements in your web pages, you can make your content more engaging and dynamic, and provide users with a more rich and interactive experience. However, it's important to use media elements responsibly and ensure that they are accessible and do not negatively impact the page's performance.</p>
<hr />
<p>These are the main topics that are basic in HTML there are various other topics in HTML that are not included but you can find out and learn those topics on your own.</p>
<h2 id="heading-exercise">Exercise</h2>
<p>Here are some basic exercises which are covered in this article.</p>
<ul>
<li><p>Create a Portfolio website that tells your skills and your work. use all the HTML tags that you have remembered.</p>
</li>
<li><p>Create a user input page that takes basic information of the user, then stores the data using <a target="_blank" href="https://formspree.io/">https://formspree.io/</a>.</p>
</li>
<li><p>Embed your favorite Youtube video into your website.</p>
</li>
</ul>
<h2 id="heading-reference">Reference</h2>
<ul>
<li><p><a target="_blank" href="https://www.w3schools.com/html/default.asp">HTML Tutorial (</a><a target="_blank" href="http://w3schools.com">w3schools.com</a><a target="_blank" href="https://www.w3schools.com/html/default.asp">)</a></p>
</li>
<li><p><a target="_blank" href="https://www.tutorialspoint.com/html/index.htm">HTML Tutorial (</a><a target="_blank" href="http://tutorialspoint.com">tutorialspoint.com</a><a target="_blank" href="https://www.tutorialspoint.com/html/index.htm">)</a></p>
</li>
<li><p><a target="_blank" href="https://www.codecademy.com/learn/learn-html">Learn HTML | Codecademy</a></p>
</li>
</ul>
<hr />
<h2 id="heading-outro">Outro</h2>
<p>I am making this series of content to help other aspiring developers who want to start their career in Web Development. It takes a lot of effort to make the series, If you really like my work <a target="_blank" href="https://blog.tejaswan.me/sponsor">Buy me a Coffee</a> and Follow me on Twitter <a target="_blank" href="https://twitter.com/tejaswan1">tejaswan1</a> and Instagram <a target="_blank" href="https://www.instagram.com/techshark_web/">Tech Shark (@techshark_web)</a></p>
]]></content:encoded></item><item><title><![CDATA[#3 Intro To HTML]]></title><description><![CDATA[From this article, we are starting our programming journey with HTML. HTML comes under frontend to develop a website we need 3 languages which are HTML, CSS, and Javascript.
What is HTML?
HTML stands for (hypertext markup language) used for designing...]]></description><link>https://blog.tejaswan.me/3-intro-to-html</link><guid isPermaLink="true">https://blog.tejaswan.me/3-intro-to-html</guid><category><![CDATA[HTML5]]></category><category><![CDATA[Web Development]]></category><dc:creator><![CDATA[Tejaswan Kalluri]]></dc:creator><pubDate>Tue, 14 Feb 2023 10:41:42 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1676371541686/001ae8db-4946-4e8a-a2fe-c34db0362970.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>From this article, we are starting our programming journey with HTML. HTML comes under frontend to develop a website we need 3 languages which are HTML, CSS, and Javascript.</p>
<h2 id="heading-what-is-html">What is HTML?</h2>
<p>HTML stands for (hypertext markup language) used for designing websites and it is known as the skeleton of a website. HTML is not a programming language because it does not contain any programming logic to develop software.</p>
<p>HTML consists of a series of elements, such as headings, paragraphs, lists, images, and links, that are represented by tags. These tags are used to define the structure of the content, and they are surrounded by angle brackets (e.g. <code>&lt;p&gt;</code>). The content of the web page is placed between the opening and closing tags.</p>
<p><img src="https://miro.medium.com/max/700/1*lXKAoEYXdDvEUV8TeeqeBg.png" alt class="image--center mx-auto" /></p>
<h2 id="heading-syntax-of-an-html-element">Syntax of an HTML element</h2>
<p>An HTML element consists of three parts: a start tag, content, and an end tag.</p>
<pre><code class="lang-xml"><span class="hljs-tag">&lt;<span class="hljs-name">p</span>&gt;</span>This is some text in a paragraph.<span class="hljs-tag">&lt;/<span class="hljs-name">p</span>&gt;</span>
</code></pre>
<p>In this example, <code>&lt;p&gt;</code> is the start tag, <code>This is some text in a paragraph.</code> is the content, and <code>&lt;/p&gt;</code> is the end tag. The end tag is identical to the start tag, but with a forward slash (<code>/</code>) added before the tag name.</p>
<p>The start tag is used to define the type of element being created, and it may also contain attributes that provide additional information about the element. For example:</p>
<pre><code class="lang-xml"><span class="hljs-tag">&lt;<span class="hljs-name">p</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"highlight"</span>&gt;</span>This is some text in a paragraph.<span class="hljs-tag">&lt;/<span class="hljs-name">p</span>&gt;</span>
</code></pre>
<p>In this example, the start tag contains an attribute named <code>class</code> with a value of <code>"highlight"</code>. This attribute can be used to specify a CSS class that provides styling information for the element.</p>
<p>The content of the element is the text or other elements that are contained within the element. In this case, it's the text "This is some text in a paragraph."</p>
<p>The end tag is used to indicate the end of the element and its content. The end tag is optional for some HTML elements, but it's generally recommended to use end tags for all elements to ensure that the HTML is well-formed and can be processed correctly by web browsers and other HTML processors.</p>
<h2 id="heading-lets-write-a-basic-html-code">Let's write a basic HTML code</h2>
<pre><code class="lang-html"><span class="hljs-meta">&lt;!DOCTYPE <span class="hljs-meta-keyword">html</span>&gt;</span>
<span class="hljs-tag">&lt;<span class="hljs-name">html</span>&gt;</span>
    <span class="hljs-tag">&lt;<span class="hljs-name">head</span>&gt;</span>
        <span class="hljs-tag">&lt;<span class="hljs-name">title</span>&gt;</span>My First Web Page<span class="hljs-tag">&lt;/<span class="hljs-name">title</span>&gt;</span>
    <span class="hljs-tag">&lt;/<span class="hljs-name">head</span>&gt;</span>

    <span class="hljs-tag">&lt;<span class="hljs-name">body</span>&gt;</span>
        hurray.. it's our first web page
    <span class="hljs-tag">&lt;/<span class="hljs-name">body</span>&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-name">html</span>&gt;</span>
</code></pre>
<h3 id="heading-explanation-of-the-code"><strong>Explanation of the code</strong></h3>
<pre><code class="lang-html"><span class="hljs-meta">&lt;!DOCTYPE <span class="hljs-meta-keyword">html</span>&gt;</span>
</code></pre>
<p><strong>&lt;!DOCTYPE html&gt;:</strong> This line declares the type of document being used as HTML5, which is the latest version of HTML.</p>
<pre><code class="lang-xml"><span class="hljs-tag">&lt;<span class="hljs-name">html</span>&gt;</span>
</code></pre>
<p>This is the opening tag for the HTML document, and it contains all of the other elements on the page.</p>
<pre><code class="lang-xml"><span class="hljs-tag">&lt;<span class="hljs-name">head</span>&gt;</span>
    <span class="hljs-tag">&lt;<span class="hljs-name">title</span>&gt;</span>My First Web Page<span class="hljs-tag">&lt;/<span class="hljs-name">title</span>&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-name">head</span>&gt;</span>
</code></pre>
<p>The head section of the HTML document contains information about the page that is not displayed to the user, such as the title of the page. The title element in the head section sets the title of the page, which is displayed in the browser's title bar.</p>
<pre><code class="lang-xml"><span class="hljs-tag">&lt;<span class="hljs-name">body</span>&gt;</span>
    hurray.. it's our first web page
<span class="hljs-tag">&lt;/<span class="hljs-name">body</span>&gt;</span>
</code></pre>
<p>The body section of the HTML document contains all of the content that is displayed to the user. in the above example, we haven't used any HTML tags we will understand the whole HTML tags concept in the next article.</p>
<pre><code class="lang-xml"><span class="hljs-tag">&lt;/<span class="hljs-name">html</span>&gt;</span>
</code></pre>
<p>This is the closing tag for the HTML document, which indicates the end of the document.</p>
<h2 id="heading-html-comments">HTML comments</h2>
<p>HTML comments are used to add notes to an HTML document that are not displayed in the browser. They are used to document the code, to explain what certain parts of the code do, or to temporarily hide parts of the code without removing them.</p>
<p>HTML comments start with <code>&lt;!--</code> and end with <code>--&gt;</code>. Everything between these two markers is treated as a comment and ignored by the browser.</p>
<p>Here's an example of an HTML comment:</p>
<pre><code class="lang-xml"><span class="hljs-comment">&lt;!-- This is an HTML comment --&gt;</span>
</code></pre>
<p>In this example, the text "This is an HTML comment" is a comment that is not displayed in the browser.</p>
<p>HTML comments can be placed anywhere in an HTML document and can span multiple lines. They are a useful tool for keeping track of changes or for working with others on a project, as they allow you to add explanations and context to your code that can be easily shared and understood by others.</p>
<h2 id="heading-features-of-html">Features of HTML</h2>
<ol>
<li><p>Structure: HTML provides a structure for creating and organizing content, including headings, paragraphs, lists, links, images, and more.</p>
</li>
<li><p>Hyperlinking: HTML allows you to create links between pages, allowing users to easily navigate your website.</p>
</li>
<li><p>Multimedia: HTML supports a wide range of multimedia content, including images, audio, and video, making it possible to create rich and engaging web pages.</p>
</li>
<li><p>Compatibility: HTML is an open standard and is supported by all major web browsers, making it possible to create content that can be accessed by a large audience.</p>
</li>
<li><p>Styling: HTML can be combined with CSS (Cascading Style Sheets) to provide visual styling and layout information for a web page.</p>
</li>
</ol>
<h2 id="heading-reference">Reference</h2>
<ul>
<li><p><a target="_blank" href="https://developer.mozilla.org/en-US/docs/Learn/HTML/Introduction_to_HTML/Getting_started">Getting started with HTML - Learn web development | MDN (</a><a target="_blank" href="http://mozilla.org">mozilla.org</a><a target="_blank" href="https://developer.mozilla.org/en-US/docs/Learn/HTML/Introduction_to_HTML/Getting_started">)</a></p>
</li>
<li><p><a target="_blank" href="https://www.javatpoint.com/what-is-html">What is HTML? Definition of Hypertext Markup Language - javatpoint</a></p>
</li>
</ul>
<hr />
<h2 id="heading-outro">Outro</h2>
<p>I am making this series of content to help other aspiring developers who want to start their career in Web Development. It takes a lot of effort to make the series, If you really like my work <a target="_blank" href="https://blog.tejaswan.me/sponsor">Buy me a Coffee</a> and Follow me on Twitter <a target="_blank" href="https://twitter.com/tejaswan1">tejaswan1</a> and Instagram <a target="_blank" href="https://www.instagram.com/techshark_web/">Tech Shark (@techshark_web)</a></p>
]]></content:encoded></item><item><title><![CDATA[Ways To Center a div]]></title><description><![CDATA[Centering a div in CSS is the confusing part for beginners. Today in this article let's see the ways to center a div.

  See the Pen 
   center a div through grid by tejaswan kalluri (@tejaswankalluri)
  on CodePen.


Types
Center Horizontal

Relativ...]]></description><link>https://blog.tejaswan.me/ways-to-center-a-div</link><guid isPermaLink="true">https://blog.tejaswan.me/ways-to-center-a-div</guid><category><![CDATA[CSS]]></category><category><![CDATA[Web Development]]></category><dc:creator><![CDATA[Tejaswan Kalluri]]></dc:creator><pubDate>Mon, 06 Feb 2023 10:51:25 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1675680632243/1b2bbad6-5b9c-4a5d-8ab3-e6785576ce7a.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Centering a div in CSS is the confusing part for beginners. Today in this article let's see the ways to center a div.</p>
<iframe height="300" style="width:100%" src="https://codepen.io/tejaswankalluri/embed/oNMVJvL?default-tab=css%2Cresult">
  See the Pen <a href="https://codepen.io/tejaswankalluri/pen/oNMVJvL">
   center a div through grid</a> by tejaswan kalluri (<a href="https://codepen.io/tejaswankalluri">@tejaswankalluri</a>)
  on <a href="https://codepen.io">CodePen</a>.
</iframe>

<h2 id="heading-types">Types</h2>
<h3 id="heading-center-horizontal">Center Horizontal</h3>
<ul>
<li><p>Relative and absolute</p>
</li>
<li><p>Flex Box</p>
</li>
<li><p>Margin auto</p>
</li>
</ul>
<h3 id="heading-center-vertical">Center Vertical</h3>
<ul>
<li><p>Through Relative and absolute</p>
</li>
<li><p>Through Flex Box</p>
</li>
</ul>
<h3 id="heading-center-horizontal-and-vertical">Center horizontal and vertical</h3>
<ul>
<li><p>Relative and absolute</p>
</li>
<li><p>Though Flex Box</p>
</li>
<li><p>Through Grid</p>
</li>
</ul>
<h2 id="heading-center-horizontally">Center Horizontally</h2>
<h3 id="heading-through-relative-and-absolute">Through relative and absolute</h3>
<p>By using relative and absolute, we can center a div horizontally let's assume that a child div is dependent on a parent div. In this kind of situation, we have to use relative and absolute by providing relative to the parent and absolute to the children.</p>
<p>Relative tells the children div where to start its position. And absolute tells the children to follow the absolute value of the parent.</p>
<pre><code class="lang-css"><span class="hljs-selector-class">.parent</span> {
    <span class="hljs-attribute">position</span>: <span class="hljs-string">"relative"</span>;
}
<span class="hljs-selector-class">.child</span> {
    <span class="hljs-attribute">position</span>: <span class="hljs-string">"absolute"</span>;
    <span class="hljs-attribute">left</span>: <span class="hljs-string">"50%"</span>;
    <span class="hljs-attribute">transform</span>: <span class="hljs-built_in">translateX</span>(-<span class="hljs-number">50%</span>);
}
</code></pre>
<p>But the left 50% will not center correctly, to avoid we need to use <code>transform: translateX(-50%);</code> .</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1675676980951/2a116b36-ff3b-450d-b610-3bc75c33a3de.png" alt class="image--center mx-auto" /></p>
<h3 id="heading-through-flexbox">Through FlexBox</h3>
<p>flexbox is the comfortable way to center a div horizontally. the only thing that the parent div should contain <code>width</code> by default div is a block element so, no need for manual width. flexbox contains <code>justify-content: center</code> to center horizontally.</p>
<pre><code class="lang-css"><span class="hljs-selector-class">.parent</span>{
    <span class="hljs-attribute">display</span>: <span class="hljs-string">"flex"</span>;
    <span class="hljs-attribute">justify-content</span>: <span class="hljs-string">"center"</span>;
}
</code></pre>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1675677536541/29421476-b1bd-4551-9c36-4b462e146a29.png" alt class="image--center mx-auto" /></p>
<h3 id="heading-through-margin-auto">Through Margin Auto</h3>
<p>Margin auto is the easiest way to center a div horizontally. as the div is a block element in which you don't need to add width manually.</p>
<p>Auto keyword in CSS with push the block to as much it can. so if you can auto on both sides. then the div gets to the center.</p>
<p>Margin auto needs when we don't want to add CSS to parent div.</p>
<pre><code class="lang-css"><span class="hljs-selector-class">.child</span> {
    <span class="hljs-attribute">margin-left</span>: auto;
    <span class="hljs-attribute">margin-right</span>: auto;
}

<span class="hljs-comment">/*2nd way one liner*/</span>
<span class="hljs-selector-class">.child</span> {
    <span class="hljs-comment">/* margin: Yaxis and Xaxis */</span>
    <span class="hljs-attribute">margin</span>: <span class="hljs-number">0</span> auto;
}
</code></pre>
<h2 id="heading-center-vertically">Center Vertically</h2>
<p>Similar to centering horizontally.</p>
<h3 id="heading-through-position-and-absolute">Through Position and absolute</h3>
<p>It is similar to the previous but we have to use the Y axis in `transform: translateY(-50%)`.</p>
<pre><code class="lang-css"><span class="hljs-selector-class">.parent</span> {
    <span class="hljs-attribute">position</span>: <span class="hljs-string">"relative"</span>;
}
<span class="hljs-selector-class">.child</span> {
    <span class="hljs-attribute">position</span>: <span class="hljs-string">"absolute"</span>;
    <span class="hljs-attribute">top</span>: <span class="hljs-string">"50%"</span>;
    <span class="hljs-attribute">transform</span>: <span class="hljs-built_in">translateY</span>(-<span class="hljs-number">50%</span>);
}
</code></pre>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1675678536662/a97804cb-8a93-4a54-9e39-413bc4e1904f.png" alt class="image--center mx-auto" /></p>
<h3 id="heading-through-flex-box">Through Flex Box</h3>
<p>Similar to the previous flexbox but <code>justify-content: center</code> only to center horizontally. but to center vertical, we have to use <code>align-items: center</code> .</p>
<p><strong>Important</strong> when you center horizontally height is needed.</p>
<pre><code class="lang-css"><span class="hljs-selector-class">.parent</span> {
  <span class="hljs-attribute">height</span>: <span class="hljs-number">100vh</span>;
  <span class="hljs-attribute">display</span>: flex;
  <span class="hljs-attribute">align-items</span>: center;
}
</code></pre>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1675678998888/1bb90163-dfb8-4e41-9f02-f64e323dfcf6.png" alt class="image--center mx-auto" /></p>
<h2 id="heading-centering-horizontal-and-vertical">Centering Horizontal and Vertical</h2>
<h3 id="heading-through-position-and-absolute-1">Through Position and Absolute</h3>
<p>Centering both vertically and horizontally we have to use <code>top</code> and <code>left</code> in the child div. And using <code>translate</code> both the x-axis and y-axis.</p>
<pre><code class="lang-css"><span class="hljs-selector-class">.parent</span> {
  <span class="hljs-attribute">position</span>: relative;
}

<span class="hljs-selector-class">.child</span> {
  <span class="hljs-attribute">position</span>: absolute;
  <span class="hljs-attribute">top</span>: <span class="hljs-number">50%</span>;
  <span class="hljs-attribute">left</span>: <span class="hljs-number">50%</span>;
  <span class="hljs-attribute">transform</span>: <span class="hljs-built_in">translate</span>(-<span class="hljs-number">50%</span>,-<span class="hljs-number">50%</span>);
}
</code></pre>
<iframe height="300" style="width:100%" src="https://codepen.io/tejaswankalluri/embed/poZYQxO?default-tab=css%2Cresult">
  See the Pen <a href="https://codepen.io/tejaswankalluri/pen/poZYQxO">
  Center A div through relative and absolute</a> by tejaswan kalluri (<a href="https://codepen.io/tejaswankalluri">@tejaswankalluri</a>)
  on <a href="https://codepen.io">CodePen</a>.
</iframe>

<h3 id="heading-through-flexbox-1">Through FlexBox 💖</h3>
<p>Similar to the previous one but we have to use both <code>justify-content</code> and <code>align-item</code> for centering both horizontally and vertically.</p>
<pre><code class="lang-css"><span class="hljs-selector-class">.parent</span> {
  <span class="hljs-attribute">height</span>: <span class="hljs-number">100vh</span>;
  <span class="hljs-attribute">display</span>: flex;
  <span class="hljs-attribute">justify-content</span>: center;
  <span class="hljs-attribute">align-items</span>: center;
}
</code></pre>
<iframe height="300" style="width:100%" src="https://codepen.io/tejaswankalluri/embed/xxJBQob?default-tab=css%2Cresult">
  See the Pen <a href="https://codepen.io/tejaswankalluri/pen/xxJBQob">
  Center A div through flex</a> by tejaswan kalluri (<a href="https://codepen.io/tejaswankalluri">@tejaswankalluri</a>)
  on <a href="https://codepen.io">CodePen</a>.
</iframe>

<h3 id="heading-through-grid-easy">Through Grid 🔥(easy)</h3>
<p>If you want to center a div with <strong>one line of code 🤯. the</strong> grid has a one-line solution to flexbox by using <code>place-items: center</code> .</p>
<p><code>place-items: center</code> will center both horizontally and vertically.</p>
<pre><code class="lang-css"><span class="hljs-selector-class">.parent</span> {
  <span class="hljs-attribute">height</span>: <span class="hljs-number">100vh</span>;
  <span class="hljs-attribute">display</span>: grid;
  <span class="hljs-attribute">place-items</span>: center;
}
</code></pre>
<iframe height="300" style="width:100%" src="https://codepen.io/tejaswankalluri/embed/oNMVJvL?default-tab=css%2Cresult">
  See the Pen <a href="https://codepen.io/tejaswankalluri/pen/oNMVJvL">
   center a div through grid</a> by tejaswan kalluri (<a href="https://codepen.io/tejaswankalluri">@tejaswankalluri</a>)
  on <a href="https://codepen.io">CodePen</a>.
</iframe>

<h2 id="heading-references">References 🧑‍💻</h2>
<ul>
<li><p><a target="_blank" href="https://css-tricks.com/centering-css-complete-guide/">Centering in CSS: A Complete Guide | CSS-Tricks - CSS-Tricks</a></p>
</li>
<li><p><a target="_blank" href="https://blog.hubspot.com/website/center-div-css">11 Ways to Center Div or Text in Div in CSS (</a><a target="_blank" href="http://hubspot.com">hubspot.com</a><a target="_blank" href="https://blog.hubspot.com/website/center-div-css">)</a></p>
</li>
</ul>
<h2 id="heading-outro">Outro ❤️</h2>
<p>I am making this series of content to help other aspiring developers who want to start their career in Web Development. It takes a lot of effort to make the series, If you really like my work <a target="_blank" href="https://blog.tejaswan.me/sponsor"><strong>Buy me a Coffee</strong></a> and Follow me on Twitter <a target="_blank" href="https://twitter.com/tejaswan1"><strong>tejaswan1</strong></a> and Instagram <a target="_blank" href="https://www.instagram.com/techshark_web/">Tech Shark (@techshark_web)</a></p>
]]></content:encoded></item><item><title><![CDATA[#2 How the Internet Works]]></title><description><![CDATA[History to Internet
The Internet has become popular in the early 1990s to share data from one location to another location. Actually, internet technology was developed for military purposes in the United States in the 1960s. The packet switching tech...]]></description><link>https://blog.tejaswan.me/2-how-the-internet-works</link><guid isPermaLink="true">https://blog.tejaswan.me/2-how-the-internet-works</guid><category><![CDATA[Web Development]]></category><category><![CDATA[internet]]></category><dc:creator><![CDATA[Tejaswan Kalluri]]></dc:creator><pubDate>Mon, 06 Feb 2023 07:27:11 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1675657495589/165728a1-eb7e-429b-8c3d-9102b9ca4450.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h2 id="heading-history-to-internet">History to Internet</h2>
<p>The Internet has become popular in the early 1990s to share data from one location to another location. Actually, internet technology was developed for military purposes in the United States in the 1960s. The packet switching technology was essential to the development of ARPANET by the United States Military. ARPANET is considered the first known group of interconnected computers, aka the internet.</p>
<h2 id="heading-how-the-internet-works">How the Internet works</h2>
<p>Internet works on interconnected networks of computers across the globe, which enables one to connect to other devices worldwide. It operates by transmitting data in the form of packets from one device to another, with each packet containing source and destination information.</p>
<p>When you send a request for a website or any other data on the Internet, your device sends the request through your Internet Service Provider (ISP) to the servers that host the data. The servers then send the data back to your ISP, which delivers it to your device.</p>
<p>The underlying technology used for transmitting data over the Internet is the Internet Protocol (IP), which defines how data is packaged and addressed for transmission. The data is transmitted using various physical and wireless communication technologies such as Ethernet, Wi-Fi, and cellular networks.</p>
<p>In summary, the Internet works by allowing devices to communicate with each other using standardized protocols for transmitting data, enabling the sharing of information and resources on a global scale.</p>
<h2 id="heading-how-the-internet-is-connected-worldwide">How the Internet is connected worldwide</h2>
<p><img src="https://images.unsplash.com/photo-1606765962248-7ff407b51667?ixlib=rb-4.0.3&amp;ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&amp;auto=format&amp;fit=crop&amp;w=1000&amp;q=80" alt="red and gray train rail" /></p>
<p>The Internet is connected globally through a vast network of routers and servers that are connected to each other through various communication technologies, including fiber optic cables, satellite connections, and microwave links.</p>
<p>At the core of the Internet is a global network of high-speed fiber optic cables that interconnect data centers and major Internet Service Providers (ISPs) around the world. These fiber optic cables transmit large amounts of data at very high speeds and form the backbone of the Internet.</p>
<p>For devices to connect to the Internet, they need to be connected to an ISP, which provides access to the Internet. This can be done through a wired connection, such as an Ethernet cable, or wirelessly through technologies such as Wi-Fi or cellular networks.</p>
<p>Once a device is connected to an ISP, it can communicate with other devices on the Internet and access online content and services. The data is transmitted from one device to another in the form of packets, with each packet containing source and destination information.</p>
<h2 id="heading-what-happens-when-you-type-googlecom-in-the-browser">What happens when you type google.com in the browser</h2>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1675667195988/d75f6a1b-7577-4413-baff-d2d90ac5ce78.png" alt class="image--center mx-auto" /></p>
<ul>
<li><p>The web browser resolves the domain name "google.com" to an IP address, which is the numerical address that identifies a device on the Internet. This process is known as Domain Name System (DNS) resolution.</p>
</li>
<li><p>The web browser sends a request for the data associated with the IP address of "google.com" to the nearest DNS server.</p>
</li>
<li><p>The DNS server responds with the IP address of the server that hosts the "google.com" website.</p>
</li>
<li><p>The web browser sends an HTTP (Hypertext Transfer Protocol) request to the server that hosts "google.com", asking for the data associated with the website.</p>
</li>
<li><p>The server responds by sending the HTML, CSS, and JavaScript code that makes up the "google.com" website, along with any images and other assets.</p>
</li>
<li><p>The web browser renders the HTML, CSS, and JavaScript code to display the "google.com" website on your screen.</p>
</li>
</ul>
<h2 id="heading-what-is-tcpip-protocol">What is TCP/IP protocol?</h2>
<p>For a beginner, TCP/IP will be hard to understand but in layman's language, TCP/IP protocol helps to transfer data from one device to another device. It is the underlying communication language of the Internet and is used to transmit data between devices on a network.</p>
<p>TCP is responsible for breaking down data into manageable packets, transmitting the packets over the network, and reassembling the packets into the original data on the receiving device. It provides reliable data transmission by ensuring that all packets are received in the correct order and that any missing or corrupted packets are re-sent.</p>
<p>IP is responsible for routing the packets of data from one device to another over the network. It provides the basic method for transmitting data between devices by defining how data is packaged and sent to its destination.</p>
<p>Together, TCP/IP provides a complete set of rules for transmitting data over the Internet, ensuring that data can be sent and received accurately and efficiently, regardless of the devices or networks being used.</p>
<h2 id="heading-client-server-architecture">Client Server Architecture</h2>
<p><img src="https://madooei.github.io/cs421_sp20_homepage/assets/client-server-1.png" alt="Client-server Application - OOSE" /></p>
<p>Client-server Architecture is an important topic for web developers. because mostly we will be developing web applications around client-server Architecture.</p>
<p>The client typically initiates a request for information or services and the server responds by providing the requested information or services. The client and server communicate through a standard communication protocol, such as HTTP or FTP, to exchange information.</p>
<p>In a client-server network, the server provides a central source of information and services, while the clients request and receive information and services from the server. This architecture allows for efficient and scalable distribution of resources and processing power, as a load of processing and data storage can be distributed across multiple servers.</p>
<h2 id="heading-definitions">Definitions</h2>
<ul>
<li><p><strong>ISP</strong>: An Internet Service Provider (ISP) is a company that provides Internet access to customers. An ISP provides the means for customers to connect to the Internet, usually by offering a combination of hardware, such as a modem, and a connection to the Internet through a wired or wireless network.</p>
</li>
<li><p><strong>DNS</strong>: The Domain Name System (DNS) is a decentralized system that is responsible for resolving domain names, such as "google.com", into IP addresses, which are the numerical addresses that identify devices on the Internet.</p>
</li>
<li><p><strong>HTTPS</strong>: HTTPS (Hypertext Transfer Protocol Secure) is a widely used security protocol for secure communication over the Internet. It is used to protect the privacy and integrity of data that is transmitted between a web browser and a website.</p>
</li>
<li><p><strong>IP Address</strong>: An IP address (Internet Protocol address) is a unique numerical label assigned to each device connected to the Internet. It acts as an identifier for devices on a network and is used to locate and communicate with other devices on the Internet. IP addresses are written in a standardized format, such as 192.168.1.1, and are typically divided into two types: IPv4 and IPv6. IPv4 addresses are written as four sets of numbers separated by periods (e.g. 192.168.1.1)</p>
</li>
</ul>
<h2 id="heading-references">References</h2>
<ul>
<li><p><a target="_blank" href="https://developer.mozilla.org/en-US/docs/Learn/Common_questions/How_does_the_Internet_work">How does the Internet work? - Learn web development | MDN (</a><a target="_blank" href="http://mozilla.org">mozilla.org</a><a target="_blank" href="https://developer.mozilla.org/en-US/docs/Learn/Common_questions/How_does_the_Internet_work">)</a></p>
</li>
<li><p><a target="_blank" href="https://www.cloudflare.com/learning/network-layer/how-does-the-internet-work/">How does the Internet work? | Cloudflare</a></p>
</li>
<li><p><a target="_blank" href="https://www.geeksforgeeks.org/how-does-the-internet-work/">How Does the Internet Work? - GeeksforGeeks</a></p>
</li>
<li><p><a target="_blank" href="https://www.interviewbit.com/blog/client-server-architecture/">Client Server Architecture - Detailed Explanation - InterviewBit</a></p>
</li>
</ul>
<hr />
<h2 id="heading-outro">Outro</h2>
<p>I am making this series of content to help other aspiring developers who want to start their career in Web Development. It takes a lot of effort to make the series, If you really like my work <a target="_blank" href="https://blog.tejaswan.me/sponsor">Buy me a Coffee</a> and Follow me on Twitter <a target="_blank" href="https://twitter.com/tejaswan1">tejaswan1</a> and Instagram <a target="_blank" href="https://www.instagram.com/techshark_web/">Tech Shark (@techshark_web)</a></p>
]]></content:encoded></item><item><title><![CDATA[#1 Introduction To The Series]]></title><description><![CDATA[I am building this Series which helps you to get started with Web Development. Web Dev is the Evergreen IT Job because if the internet is there then you need a website, to develop these websites we need web developers. So the Demand for a web Develop...]]></description><link>https://blog.tejaswan.me/1-introduction-to-the-series</link><guid isPermaLink="true">https://blog.tejaswan.me/1-introduction-to-the-series</guid><category><![CDATA[Web Development]]></category><dc:creator><![CDATA[Tejaswan Kalluri]]></dc:creator><pubDate>Sun, 05 Feb 2023 18:01:51 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1675618940397/fecf0ad8-4d6a-4e20-ac8f-54db1786d1dd.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>I am building this Series which helps you to get started with Web Development. Web Dev is the Evergreen IT Job because if the internet is there then you need a website, to develop these websites we need web developers. So the Demand for a web Developer is huge, I have more than 5 years of experience in the Full Stack Web Development. I will teach from basics to advance in this series. Anyone can follow this series, interested in learning through reading articles, Then this series will help you to get started with web development.</p>
<h2 id="heading-flow-of-this-series">Flow of This Series</h2>
<h2 id="heading-frontend">Frontend</h2>
<h4 id="heading-introduction">Introduction</h4>
<ul>
<li>How the internet works</li>
</ul>
<h4 id="heading-html">HTML</h4>
<ul>
<li><p>Introduction to HTML</p>
</li>
<li><p>HTML Tags</p>
</li>
<li><p>Advance HTML</p>
</li>
</ul>
<h4 id="heading-tools">Tools</h4>
<ul>
<li><p>Learning Chrome Dev Tools</p>
</li>
<li><p>Walkthrough of Visual Studio Code</p>
</li>
</ul>
<h4 id="heading-css">CSS</h4>
<ul>
<li><p>Introduction to CSS</p>
</li>
<li><p>Basics of CSS (margin, padding, box model)</p>
</li>
<li><p>Responsive design with CSS</p>
</li>
<li><p>Introduction to CSS animation</p>
</li>
<li><p>Tricks for better CSS</p>
</li>
</ul>
<h4 id="heading-javascript">JavaScript</h4>
<ul>
<li><p>Introduction to JavaScript</p>
</li>
<li><p>Variables, conditions, loops</p>
</li>
<li><p>DOM (Document Object Model)</p>
</li>
<li><p>BOM (Browser Object Model)</p>
</li>
<li><p>Functions</p>
</li>
</ul>
<h4 id="heading-project-stage-1">Project Stage 1</h4>
<ul>
<li><p>Netflix UI clone</p>
</li>
<li><p>Microsoft UI clone</p>
</li>
<li><p>Making a Web Calculator</p>
</li>
</ul>
<h4 id="heading-react-js">React JS</h4>
<ul>
<li><p>Introduction to React JS</p>
</li>
<li><p>ES6</p>
</li>
<li><p>Single page web applications</p>
</li>
<li><p>Virtual DOM</p>
</li>
<li><p>Class vs functional components</p>
</li>
<li><p>React Hooks</p>
</li>
<li><p>Making custom Hooks</p>
</li>
<li><p>Routing (React Router)</p>
</li>
<li><p>Introduction to State Management</p>
</li>
<li><p>API Fetching</p>
</li>
</ul>
<h4 id="heading-tools-2">Tools 2</h4>
<ul>
<li><p>Importance of Linux</p>
</li>
<li><p>Using Terminal</p>
</li>
<li><p>Introduction to Git and GitHub</p>
</li>
</ul>
<h2 id="heading-backend">Backend</h2>
<h4 id="heading-why-backend">Why Backend</h4>
<ul>
<li><p>Client - Server Architecture</p>
</li>
<li><p>Introduction to APIs</p>
</li>
</ul>
<h4 id="heading-nodejs">Node.js</h4>
<ul>
<li><p>Introduction To Node.js</p>
</li>
<li><p>Basics API's Node.js</p>
</li>
<li><p>File System Operations</p>
</li>
<li><p>Non Blocking IO</p>
</li>
<li><p>Handling APIs with Express. Js</p>
</li>
<li><p>Database connection with Node.js</p>
</li>
<li><p>CRUD operations</p>
</li>
<li><p>API Testing with Postman</p>
</li>
</ul>
<h4 id="heading-databases">Databases</h4>
<ul>
<li><p>Introduction to SQL</p>
</li>
<li><p>Using PostgreSQL</p>
</li>
<li><p>SQL vs NoSQL</p>
</li>
<li><p>Introduction to MongoDB</p>
</li>
<li><p>MongoDB with Node.js</p>
</li>
</ul>
<h4 id="heading-project-stage-2">Project Stage 2</h4>
<ul>
<li><p>Notes Application</p>
</li>
<li><p>Chatting Application</p>
</li>
<li><p>E-commerce Application</p>
</li>
</ul>
<h3 id="heading-additional-topics">Additional Topics</h3>
<ul>
<li><p>Need for Typescript</p>
</li>
<li><p>Introduction To Docker</p>
</li>
<li><p>Deployment Of Applications</p>
</li>
</ul>
<h3 id="heading-and-much-more-added-to-the-series">And much more added to the series....</h3>
<hr />
<h1 id="heading-faqs-on-this-series">FAQs on this series</h1>
<h3 id="heading-what-i-will-learn-from-this-series">What I will learn from this series?</h3>
<p>In this series, we will start learning from basics like how the internet works to advance topics like databases, and Internet Security. All the topics will be covered from the basics.</p>
<h3 id="heading-do-i-need-any-prerequisites-to-start-this-series">Do I need any prerequisites to start this series?</h3>
<p>Simply, you don't need any prerequisites because we will start from the basics. The only thing is you need a computer and good internet. And you don't need any programming basics to start web development.</p>
<h3 id="heading-how-many-articles-can-i-expect-in-a-week">How many articles can I expect in a week?</h3>
<p>I will make sure to post at least 2 to 3 posts a week. It takes time to make the content for beginners but I will try to be consistent.</p>
<h3 id="heading-what-programming-languages-i-will-learn-from-this-series">What Programming languages I will learn from this series</h3>
<p>This series contains markup languages like HTML and CSS. And programming languages like JavaScript and Typescript.</p>
<p>Frontend</p>
<ul>
<li><p>HTML</p>
</li>
<li><p>CSS</p>
</li>
<li><p>JavaScript</p>
</li>
</ul>
<p>Backend</p>
<ul>
<li>Node.js</li>
</ul>
<p>Database</p>
<ul>
<li><p>MongoDB</p>
</li>
<li><p>PostgreSQL (SQL)</p>
</li>
</ul>
<p>Frameworks</p>
<ul>
<li><p>React.JS</p>
</li>
<li><p>Express.js</p>
</li>
<li><p>Next.js</p>
</li>
</ul>
<p>Advance Concepts</p>
<ul>
<li><p>Internet Security</p>
</li>
<li><p>Serverless</p>
</li>
<li><p>Deep dive into JavaScript Architecture</p>
</li>
<li><p>TypeScript</p>
</li>
</ul>
<hr />
<h2 id="heading-a-request">A Request</h2>
<p>I am making this series of content to help other aspiring developers who want to start their career in Web Development. It takes a lot of effort to make the series, If you really like my work <a target="_blank" href="https://blog.tejaswan.me/sponsor">Buy me a Coffee</a> and Follow me on Twitter <a target="_blank" href="https://twitter.com/tejaswan1">tejaswan1</a> and Instagram <a target="_blank" href="https://www.instagram.com/techshark_web/">Tech Shark (@techshark_web)</a></p>
]]></content:encoded></item><item><title><![CDATA[Top 3 React UI Libraries in 2023]]></title><description><![CDATA[There are so many Ui libraries that we are using in our React projects like Material UI, Chakra UI, etc. but you might be interested to explore new UI libraries which are easy to use like MUI or ChakraUI.
So today I want to share some underrated Ui l...]]></description><link>https://blog.tejaswan.me/top-3-react-ui-libraries-in-2023</link><guid isPermaLink="true">https://blog.tejaswan.me/top-3-react-ui-libraries-in-2023</guid><category><![CDATA[React]]></category><category><![CDATA[ReactHooks]]></category><category><![CDATA[UI]]></category><category><![CDATA[JavaScript]]></category><dc:creator><![CDATA[Tejaswan Kalluri]]></dc:creator><pubDate>Mon, 16 Jan 2023 18:26:00 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1673891784142/8078a8cf-4f04-4a68-98d7-6bd53ef22035.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>There are so many Ui libraries that we are using in our React projects like <strong>Material UI, Chakra UI,</strong> etc. but you might be interested to explore new UI libraries which are easy to use like MUI or ChakraUI.</p>
<p>So today I want to share some underrated Ui libraries which you should definitely try.</p>
<p>Libraries Used in the article.</p>
<ol>
<li><p>Mantine UI</p>
</li>
<li><p>NextUI</p>
</li>
<li><p>HeadlessUI</p>
</li>
</ol>
<h2 id="heading-1-mantine-ui"><strong>1. Mantine UI</strong></h2>
<p>Mantine Ui is an underrated Ui library, Even I have started using Mantine UI in my personal projects.</p>
<p>The main advantage of using Matine UI is the Components. The components provided by the Mantine UI are lit 🔥, unlike ChakraUI the MantineUI provides <strong>100+ components</strong> which is crazy.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1673888614103/f98a415a-1c77-4041-acc9-90df1c5b416c.png" alt class="image--center mx-auto" /></p>
<p>Mantine Ui is not only limited to components but also provides React Hooks which are useful and saves lots of time. Hooks like <strong>use-pagination</strong> for pagination <strong>use-local-storage</strong> to access local storage, use-Toggle for Toggling in the state.</p>
<h3 id="heading-features">Features</h3>
<ol>
<li><p>100+ components</p>
</li>
<li><p>Predefined hooks</p>
</li>
<li><p>Provides React Form (Mantine form)</p>
</li>
<li><p>Easy-to-use CSS</p>
</li>
</ol>
<h3 id="heading-adding-to-your-project">Adding To Your Project</h3>
<p>For installing Mantine UI in your React project these steps need to be followed.</p>
<pre><code class="lang-javascript">npm install @mantine/core @mantine/hooks @emotion/react
</code></pre>
<p>Index.js</p>
<pre><code class="lang-javascript"><span class="hljs-keyword">import</span> { MantineProvider, ColorSchemeProvider } <span class="hljs-keyword">from</span> <span class="hljs-string">"@mantine/core"</span>;
<span class="hljs-keyword">import</span> App <span class="hljs-keyword">from</span> <span class="hljs-string">"./App"</span>;

ReactDOM.createRoot(<span class="hljs-built_in">document</span>.getElementById(<span class="hljs-string">"root"</span>)).render(
    <span class="xml"><span class="hljs-tag">&lt;<span class="hljs-name">React.StrictMode</span>&gt;</span>
        <span class="hljs-tag">&lt;<span class="hljs-name">MantineProvider</span>&gt;</span>
            <span class="hljs-tag">&lt;<span class="hljs-name">App</span> /&gt;</span>
        <span class="hljs-tag">&lt;/<span class="hljs-name">MantineProvider</span>&gt;</span>
    <span class="hljs-tag">&lt;/<span class="hljs-name">React.StrictMode</span>&gt;</span></span>
);
</code></pre>
<p>That's It, I will try to make a separate Article about Matine UI installation, dark theme, hooks, etc.</p>
<p>Link: <a target="_blank" href="https://mantine.dev/">https://mantine.dev/</a></p>
<h2 id="heading-2-next-ui">2. Next UI</h2>
<p>NextUI is a new UI library system that can be used for both React and NextJs but NextUI gives an edge if you are using NextJs. NextUI is still in beta version which is not recommended to use in production but you can try it as a side project.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1673890825952/f6a1bec1-1637-4050-9a8e-82a790fcf924.png" alt class="image--center mx-auto" /></p>
<h3 id="heading-features-1">Features</h3>
<ol>
<li><p>Beautiful Components</p>
</li>
<li><p>Dark mode</p>
</li>
<li><p>Easy Next js Support</p>
</li>
<li><p><a target="_blank" href="https://stitches.dev/">Stitches</a> CSS customization</p>
</li>
</ol>
<h3 id="heading-adding-to-your-project-1">Adding To Your Project</h3>
<p>For installing NextUI in your React project these steps need to be followed.</p>
<pre><code class="lang-javascript">npm i @nextui-org/react
</code></pre>
<p>index.js</p>
<pre><code class="lang-javascript"><span class="hljs-keyword">import</span> { NextUIProvider } <span class="hljs-keyword">from</span> <span class="hljs-string">'@nextui-org/react'</span>;
<span class="hljs-keyword">import</span> App <span class="hljs-keyword">from</span> <span class="hljs-string">"./App"</span>;

ReactDOM.createRoot(<span class="hljs-built_in">document</span>.getElementById(<span class="hljs-string">"root"</span>)).render(
    <span class="xml"><span class="hljs-tag">&lt;<span class="hljs-name">React.StrictMode</span>&gt;</span>
         <span class="hljs-tag">&lt;<span class="hljs-name">NextUIProvider</span>&gt;</span>
            <span class="hljs-tag">&lt;<span class="hljs-name">App</span> /&gt;</span>
         <span class="hljs-tag">&lt;/<span class="hljs-name">NextUIProvider</span>&gt;</span>
    <span class="hljs-tag">&lt;/<span class="hljs-name">React.StrictMode</span>&gt;</span></span>
);
</code></pre>
<p>Link: <a target="_blank" href="https://nextui.org/">https://nextui.org/</a></p>
<h2 id="heading-3-headlessui">3. HeadlessUI</h2>
<p>Most of us have moved to tailwind CSS as a goto library for writing custom CSS but the problem with custom CSS is when we start making menus, switch, model boxes, etc we need to write custom javascript to handle state. HeadlessUI will solve this problem by providing basic components which are important when writing custom CSS which saves lot of time.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1673892861272/d26cd451-56e7-4e6f-b4d9-6c94fbe9edcd.png" alt class="image--center mx-auto" /></p>
<h3 id="heading-features-2">Features</h3>
<ol>
<li><p>Lightweight</p>
</li>
<li><p>Easy Transitions</p>
</li>
<li><p>works with both react and vue</p>
</li>
</ol>
<h3 id="heading-adding-to-your-project-2">Adding To Your Project</h3>
<p>For installing HeadlessUI in your React project these steps need to be followed.</p>
<pre><code class="lang-javascript">npm install @headlessui/react
</code></pre>
<p>[yourcomponent].js</p>
<pre><code class="lang-javascript"><span class="hljs-keyword">import</span> { Popover } <span class="hljs-keyword">from</span> <span class="hljs-string">'@headlessui/react'</span>

<span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">MyPopover</span>(<span class="hljs-params"></span>) </span>{
  <span class="hljs-keyword">return</span> (
    <span class="xml"><span class="hljs-tag">&lt;<span class="hljs-name">Popover</span> <span class="hljs-attr">className</span>=<span class="hljs-string">"relative"</span>&gt;</span>
      <span class="hljs-tag">&lt;<span class="hljs-name">Popover.Button</span>&gt;</span>Solutions<span class="hljs-tag">&lt;/<span class="hljs-name">Popover.Button</span>&gt;</span>

      <span class="hljs-tag">&lt;<span class="hljs-name">Popover.Panel</span> <span class="hljs-attr">className</span>=<span class="hljs-string">"absolute z-10"</span>&gt;</span>
        <span class="hljs-tag">&lt;<span class="hljs-name">div</span> <span class="hljs-attr">className</span>=<span class="hljs-string">"grid grid-cols-2"</span>&gt;</span>
          <span class="hljs-tag">&lt;<span class="hljs-name">a</span> <span class="hljs-attr">href</span>=<span class="hljs-string">"/analytics"</span>&gt;</span>Analytics<span class="hljs-tag">&lt;/<span class="hljs-name">a</span>&gt;</span>
          <span class="hljs-tag">&lt;<span class="hljs-name">a</span> <span class="hljs-attr">href</span>=<span class="hljs-string">"/engagement"</span>&gt;</span>Engagement<span class="hljs-tag">&lt;/<span class="hljs-name">a</span>&gt;</span>
          <span class="hljs-tag">&lt;<span class="hljs-name">a</span> <span class="hljs-attr">href</span>=<span class="hljs-string">"/security"</span>&gt;</span>Security<span class="hljs-tag">&lt;/<span class="hljs-name">a</span>&gt;</span>
          <span class="hljs-tag">&lt;<span class="hljs-name">a</span> <span class="hljs-attr">href</span>=<span class="hljs-string">"/integrations"</span>&gt;</span>Integrations<span class="hljs-tag">&lt;/<span class="hljs-name">a</span>&gt;</span>
        <span class="hljs-tag">&lt;/<span class="hljs-name">div</span>&gt;</span>

        <span class="hljs-tag">&lt;<span class="hljs-name">img</span> <span class="hljs-attr">src</span>=<span class="hljs-string">"/solutions.jpg"</span> <span class="hljs-attr">alt</span>=<span class="hljs-string">""</span> /&gt;</span>
      <span class="hljs-tag">&lt;/<span class="hljs-name">Popover.Panel</span>&gt;</span>
    <span class="hljs-tag">&lt;/<span class="hljs-name">Popover</span>&gt;</span></span>
  )
}
</code></pre>
<p>Link: <a target="_blank" href="https://headlessui.com/">https://headlessui.com/</a></p>
]]></content:encoded></item></channel></rss>