<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Awais Butt</title>
    <description>The latest articles on DEV Community by Awais Butt (@awaisbutt).</description>
    <link>https://dev.to/awaisbutt</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F800086%2Ff36b15ff-5d3f-4f8e-ace7-06714dcb06c2.jpg</url>
      <title>DEV Community: Awais Butt</title>
      <link>https://dev.to/awaisbutt</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/awaisbutt"/>
    <language>en</language>
    <item>
      <title>Vue.js Framework</title>
      <dc:creator>Awais Butt</dc:creator>
      <pubDate>Mon, 19 Dec 2022 06:44:58 +0000</pubDate>
      <link>https://dev.to/awaisbutt/vuejs-framework-19ke</link>
      <guid>https://dev.to/awaisbutt/vuejs-framework-19ke</guid>
      <description>&lt;p&gt;Vue.js is a popular JavaScript framework for building web applications. It is designed to be lightweight, easy to learn, and easy to use.&lt;br&gt;
One of the key features of Vue.js is its reactive components, which allow you to declaratively render dynamic content in your application. Vue.js uses a virtual DOM (a lightweight in-memory representation of the actual DOM) to optimize updates to the DOM, which makes it fast and efficient.&lt;br&gt;
Vue.js also has a rich ecosystem of tools and libraries that you can use to build your applications, including the Vue CLI (command line interface) for scaffolding projects, Vuex for state management, and Nuxt.js for server-side rendering.&lt;br&gt;
To get started with Vue.js, you'll need to have a basic understanding of HTML, CSS, and JavaScript. &lt;/p&gt;

&lt;h2&gt;
  
  
  Installation
&lt;/h2&gt;

&lt;p&gt;There are several ways to install Vue.js and start using it in your projects. Here are a few options:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. CDN&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;You can include the Vue.js library in your HTML file by adding a script tag to the head of your HTML file:&lt;br&gt;
&lt;code&gt;&amp;lt;script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;/code&gt;&lt;br&gt;
This will give you access to the Vue.js library and you can start using it in your JavaScript code.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. npm&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;If you're using a build tool like Webpack or Browserify, you can install Vue.js using npm, the package manager for JavaScript:&lt;br&gt;
&lt;code&gt;npm install vue&lt;/code&gt;&lt;br&gt;
You can then import Vue.js in your JavaScript code:&lt;br&gt;
&lt;code&gt;import Vue from 'vue'&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Vue CLI&lt;/strong&gt;&lt;br&gt;
If you want to create a new Vue.js project, you can use the Vue CLI (command line interface). First, you'll need to install the Vue CLI globally:&lt;br&gt;
&lt;code&gt;npm install -g @vue/cli&lt;/code&gt;&lt;br&gt;
Then, you can create a new Vue.js project by running the following command:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;vue create my-project&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;This will create a new directory called my-project with a basic Vue.js setup, including a development server and a build pipeline. You can then navigate to the project directory and start the development server by running:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;cd my-project&lt;br&gt;
   npm run serve&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;This will start the development server and open a new browser window with your Vue.js app running.&lt;/p&gt;

&lt;p&gt;Regardless of which method you choose, you'll need to have Node.js and npm installed on your machine in order to install and use Vue.js. If you don't have these tools already, you can download and install them from the Node.js website (&lt;a href="https://nodejs.org/"&gt;https://nodejs.org/&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Here is a simple example of the structure of a Vue.js application:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--CxBFu5Zq--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vozxeri3yq11qhc5xt7n.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--CxBFu5Zq--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vozxeri3yq11qhc5xt7n.png" alt="Image description" width="705" height="509"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This Vue.js component has a template that includes an h1 element with a dynamic message and a button with a click event handler. The script section defines the component's data and methods. The data contains the message and a counter variable, and the method increments the counter when the button is clicked. The style section includes any styles that should be applied to the component.&lt;/p&gt;

&lt;p&gt;To use this component in your application, you would need to import it and include it in a parent component's template. For example:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--5a9Ub8pq--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/k8si4gkjlsoflfzfyygm.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--5a9Ub8pq--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/k8si4gkjlsoflfzfyygm.png" alt="Image description" width="487" height="349"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This parent component imports the MyComponent and registers it as a local component using the components option. It then includes the  element in its template, which will render the MyComponent component.&lt;/p&gt;

</description>
      <category>vue</category>
      <category>javascript</category>
      <category>programming</category>
    </item>
    <item>
      <title>Why React is popular ?</title>
      <dc:creator>Awais Butt</dc:creator>
      <pubDate>Tue, 06 Dec 2022 12:54:18 +0000</pubDate>
      <link>https://dev.to/awaisbutt/why-react-is-popular--2p96</link>
      <guid>https://dev.to/awaisbutt/why-react-is-popular--2p96</guid>
      <description>&lt;p&gt;React is a popular JavaScript library for building user interfaces (UIs) because it makes it easy to create reusable UI components. This allows developers to create complex UIs by combining and composing individual components, which can improve code reuse and maintainability.&lt;/p&gt;

&lt;p&gt;Another reason for React's popularity is its ability to efficiently update and render components based on changes in data. This makes it well-suited for building dynamic, data-driven UIs, such as those commonly found in single-page applications (SPAs).&lt;/p&gt;

&lt;p&gt;React also has a large ecosystem of third-party libraries and tools that make it easy to develop and deploy React applications, as well as a strong community of developers who contribute to and support the project.&lt;/p&gt;

&lt;p&gt;Overall, React's features and ecosystem make it a popular choice for building modern web applications.&lt;/p&gt;

</description>
      <category>watercooler</category>
    </item>
    <item>
      <title>Javascript frameworks</title>
      <dc:creator>Awais Butt</dc:creator>
      <pubDate>Mon, 05 Dec 2022 12:41:07 +0000</pubDate>
      <link>https://dev.to/awaisbutt/javascript-frameworks-1pab</link>
      <guid>https://dev.to/awaisbutt/javascript-frameworks-1pab</guid>
      <description>&lt;p&gt;There are many popular JavaScript frameworks, and the most popular ones may vary depending on the specific use case and the preferences of the developers. Some of the most popular JavaScript frameworks include:&lt;/p&gt;

&lt;h2&gt;
  
  
  React
&lt;/h2&gt;

&lt;p&gt;A popular and widely-used library for building user interfaces, developed and maintained by Facebook.&lt;br&gt;
Angular: a powerful framework for building single-page applications, developed and maintained by Google.&lt;/p&gt;

&lt;h2&gt;
  
  
  Vue.js
&lt;/h2&gt;

&lt;p&gt;A progressive and versatile framework for building user interfaces, developed and maintained by an active community.&lt;/p&gt;

&lt;h2&gt;
  
  
  Ember.js
&lt;/h2&gt;

&lt;p&gt;A popular framework for building ambitious web applications, developed and maintained by a dedicated team.&lt;/p&gt;

&lt;h2&gt;
  
  
  Meteor
&lt;/h2&gt;

&lt;p&gt;A full-stack JavaScript platform for building real-time web and mobile applications, developed and maintained by the Meteor Development Group.&lt;br&gt;
These frameworks are used by many developers and companies around the world to build a wide variety of web applications, from simple to complex. They are constantly evolving and improving, and new frameworks are also emerging to meet the needs of the developers and the changing landscape of the web&lt;/p&gt;

</description>
      <category>watercooler</category>
    </item>
    <item>
      <title>CSS Grid and Flexbox</title>
      <dc:creator>Awais Butt</dc:creator>
      <pubDate>Fri, 01 Apr 2022 18:13:57 +0000</pubDate>
      <link>https://dev.to/awaisbutt/css-grid-and-flexbox-j52</link>
      <guid>https://dev.to/awaisbutt/css-grid-and-flexbox-j52</guid>
      <description>&lt;h2&gt;
  
  
  Grid
&lt;/h2&gt;

&lt;p&gt;CSS Grid Layout is a two-dimensional grid-based layout system with rows and columns that simplifies web page creation by eliminating the need for floats and placement. &lt;br&gt;
Grid layout, like tables, allows us to arrange objects in columns and rows.&lt;br&gt;
To begin, set the column and row sizes with grid-template-columns and grid-template-rows, and then arrange the container element's child elements into the grid with grid-column and grid-row.&lt;/p&gt;

&lt;h2&gt;
  
  
  Flexbox
&lt;/h2&gt;

&lt;p&gt;The CSS Flexbox layout is one-dimensional. &lt;br&gt;
It's useful for assigning and arranging space within a container's contents. &lt;br&gt;
It is compatible with a wide range of display devices and screen sizes.&lt;/p&gt;

&lt;h2&gt;
  
  
  Difference Between Grid and Flexbox:
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;1. Dimensionality and Flexibility&lt;/strong&gt;&lt;br&gt;
Flexbox gives you more control over item alignment and space distribution. Flexbox only works with columns or rows because it is one-dimensional.&lt;br&gt;
Grid provides two-dimensional layout capabilities, allowing for variable widths as a length unit. &lt;br&gt;
This compensates for Flex's shortcomings.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Alignment&lt;/strong&gt;&lt;br&gt;
Developers may align items vertically or horizontally with Flex Direction, which is useful when creating and reversing rows and columns.&lt;br&gt;
CSS Grid uses fractional measure units for grid fluidity, as well as auto-keyword capabilities to modify columns and rows automatically.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Item Management&lt;/strong&gt;&lt;br&gt;
The parent element is Flex Container, and the children are Flex Item. By altering item dimensions, the Flex Container may assure a balanced portrayal. This enables developers to create designs that adapt to changing screen widths.&lt;br&gt;
Grid allows you to position items both implicitly and explicitly. &lt;br&gt;
It has built-in automation that allows it to automatically extend line items and copy values from the previous item into the new creation.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;CSS Grids helps you create the outer layout of the webpage. You can build complex as well responsive design with this. This is why it is called ‘layout first’.&lt;/li&gt;
&lt;li&gt;Flexbox mostly helps align content &amp;amp; move blocks.&lt;/li&gt;
&lt;li&gt;CSS grids are for 2D layouts. It works with both rows and columns.&lt;/li&gt;
&lt;li&gt;Flexbox works better in one dimension only (either rows OR columns).&lt;/li&gt;
&lt;li&gt;It will be more time saving and helpful if you use both at the same time.&lt;/li&gt;
&lt;/ul&gt;

</description>
    </item>
    <item>
      <title>CSS Flexbox</title>
      <dc:creator>Awais Butt</dc:creator>
      <pubDate>Fri, 18 Mar 2022 12:13:27 +0000</pubDate>
      <link>https://dev.to/awaisbutt/css-flexbox-5096</link>
      <guid>https://dev.to/awaisbutt/css-flexbox-5096</guid>
      <description>&lt;p&gt;Flexbox is a new layout mode in css3. The CSS3 flexbox is used to make the elements behave predictably when they are used with different screen sizes and different display devices. It provides a more efficient way to layout, align and distribute space among items in the container. &lt;br&gt;
The flexbox contains flex containers and flex items. &lt;/p&gt;

&lt;h2&gt;
  
  
  Flex container
&lt;/h2&gt;

&lt;p&gt;A flex container is a section of a document that has been put out using flexbox. To build a flex container, change the display property of the area's container to flex or inline-flex. The parent's properties are specified by the flex container. It's stated by setting an element's display attribute to flex or inline-flex.&lt;/p&gt;

&lt;h2&gt;
  
  
  Flex item
&lt;/h2&gt;

&lt;p&gt;The children's properties are specified by the flex items. A flex container may hold one or more flex objects.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The attributes of the flex item are as follows:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Order &lt;/li&gt;
&lt;li&gt;Flex-grow&lt;/li&gt;
&lt;li&gt;Flex-shrink&lt;/li&gt;
&lt;li&gt;Flex-basis&lt;/li&gt;
&lt;li&gt;Flex&lt;/li&gt;
&lt;li&gt;Align-self&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The order property
&lt;/h2&gt;

&lt;p&gt;it specifies the order of a flexible item relative to the rest of the flex items inside the same container.&lt;br&gt;
&lt;code&gt;&amp;lt;div style="display:flex;flex-direction:column"&amp;gt;&lt;br&gt;
  &amp;lt;div style="order: 3"&amp;gt;1&amp;lt;/div&amp;gt;&lt;br&gt;
  &amp;lt;div style="order: 2"&amp;gt;2&amp;lt;/div&amp;gt;&lt;br&gt;
  &amp;lt;div style="order: 4"&amp;gt;3&amp;lt;/div&amp;gt; &lt;br&gt;
  &amp;lt;div style="order: 1"&amp;gt;4&amp;lt;/div&amp;gt;&lt;br&gt;
&amp;lt;/div&amp;gt;&lt;/code&gt;&lt;br&gt;
&lt;em&gt;&lt;strong&gt;output&lt;/strong&gt;&lt;/em&gt;&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--gpT4JE0F--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/i754ajrvbj84dvgx5nza.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--gpT4JE0F--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/i754ajrvbj84dvgx5nza.PNG" alt="Image description" width="22" height="83"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Flex grow property
&lt;/h2&gt;

&lt;p&gt;The flex-grow property specifies how much a flex item will grow relative to the rest of the flex items.&lt;br&gt;
&lt;code&gt;&amp;lt;div style="display:flex"&amp;gt;&lt;br&gt;
  &amp;lt;div style="flex-grow: 1; border:1px solid red"&amp;gt;1&amp;lt;/div&amp;gt;&lt;br&gt;
  &amp;lt;div style="flex-grow: 1; border:1px solid red"&amp;gt;2&amp;lt;/div&amp;gt;&lt;br&gt;
  &amp;lt;div style="flex-grow: 8; border:1px solid red"&amp;gt;3&amp;lt;/div&amp;gt;&lt;br&gt;
&amp;lt;/div&amp;gt;&lt;/code&gt;&lt;br&gt;
&lt;em&gt;&lt;strong&gt;output&lt;/strong&gt;&lt;/em&gt;&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--epDW1t60--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vc1hmiazvb7ucdrbemzo.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--epDW1t60--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vc1hmiazvb7ucdrbemzo.PNG" alt="Image description" width="662" height="29"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Flex-shrink property
&lt;/h2&gt;

&lt;p&gt;The flex-shrink property specifies how much a flex item will shrink relative to the rest of the flex items. The value must be a number. &lt;/p&gt;

&lt;h2&gt;
  
  
  Flex-basis property
&lt;/h2&gt;

&lt;p&gt;The flex-basis property specifies the initial length of a flex item.&lt;br&gt;
&lt;code&gt;&amp;lt;div style="display:flex"&amp;gt;&lt;br&gt;
  &amp;lt;div style="border:1px solid red"&amp;gt;1&amp;lt;/div&amp;gt;&lt;br&gt;
  &amp;lt;div style="border:1px solid red"&amp;gt;2&amp;lt;/div&amp;gt;&lt;br&gt;
  &amp;lt;div style="flex-basis:200px;border:1px solid red"&amp;gt;3&amp;lt;/div&amp;gt;&lt;br&gt;
&amp;lt;/div&amp;gt;&lt;/code&gt;&lt;br&gt;
&lt;em&gt;&lt;strong&gt;output&lt;/strong&gt;&lt;/em&gt;&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--w-V7Hw9a--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/uws2y4uybbr6chd6fvjv.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--w-V7Hw9a--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/uws2y4uybbr6chd6fvjv.PNG" alt="Image description" width="282" height="35"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The align-self property
&lt;/h2&gt;

&lt;p&gt;The align-self property specifies the alignment for the selected item inside the flexible container.&lt;br&gt;
The align-self property overrides the default alignment set by the container's align-items property.&lt;br&gt;
&lt;code&gt;&amp;lt;div style="display:flex;height: 200px"&amp;gt;&lt;br&gt;
  &amp;lt;div style="border:1px solid red"&amp;gt;1&amp;lt;/div&amp;gt;&lt;br&gt;
  &amp;lt;div style="border:1px solid red"&amp;gt;2&amp;lt;/div&amp;gt;&lt;br&gt;
  &amp;lt;div style="align-self: center; border:1px solid red"&amp;gt;3&amp;lt;/div&amp;gt;&lt;br&gt;
  &amp;lt;div style="border:1px solid red"&amp;gt;4&amp;lt;/div&amp;gt;&lt;br&gt;
&amp;lt;/div&amp;gt;&lt;/code&gt;&lt;br&gt;
&lt;em&gt;&lt;strong&gt;output&lt;/strong&gt;&lt;/em&gt;&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--L8PGfjS7--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ts8kyqqca99xe7gj4x80.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--L8PGfjS7--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ts8kyqqca99xe7gj4x80.PNG" alt="Image description" width="54" height="210"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>New features of HTML5</title>
      <dc:creator>Awais Butt</dc:creator>
      <pubDate>Fri, 11 Mar 2022 13:29:50 +0000</pubDate>
      <link>https://dev.to/awaisbutt/new-features-of-html5-5d0o</link>
      <guid>https://dev.to/awaisbutt/new-features-of-html5-5d0o</guid>
      <description>&lt;p&gt;HTML stands for Hypertext Markup Language, and it is a markup language used to create online pages and applications. &lt;br&gt;
HTML5 is the fifth version of the HTML markup language.&lt;/p&gt;

&lt;h2&gt;
  
  
  Audio and Video
&lt;/h2&gt;

&lt;p&gt;HTML5 has two important additions: audio and video tags.  The &lt;code&gt;&amp;lt;audio&amp;gt;&lt;/code&gt; tag is used to embed sound material, such as music or other audio streams, in a document. HTML supports three different audio formats: MP3, WAV, and OGG.&lt;br&gt;
&lt;code&gt;&amp;lt;audio controls&amp;gt;&lt;br&gt;
  &amp;lt;source src="sound.mp3" type="audio/mpeg"&amp;gt;&lt;br&gt;
&amp;lt;/audio&amp;gt;&lt;/code&gt;&lt;br&gt;
A video is shown on a web page using the HTML &lt;code&gt;&amp;lt;video&amp;gt;&lt;/code&gt; element. The controls attribute adds video controls like play, pause, and volume. HTML supports three different video formats: MP4, WebM, and Ogg. &lt;br&gt;
 &lt;code&gt;&amp;lt;video controls &amp;gt;&lt;br&gt;
   &amp;lt;source src="video.mp4" type="video/mp4"&amp;gt;&lt;br&gt;
 &amp;lt;/video&amp;gt;&lt;/code&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Vector Graphics
&lt;/h2&gt;

&lt;p&gt;It may be used to generate graphics in a variety of shapes and colors using scripting, most commonly JS. SVG stands for Scalable Vector Graphics, and it is a language for describing 2D graphics and graphical applications in XML; the XML is then rendered by an SVG viewer. &lt;br&gt;
SVG is mostly used for vector diagrams, such as pie charts, two-dimensional graphs in the X, Y, and so on. &lt;br&gt;
How to create SVG on a web page&lt;br&gt;
The &lt;code&gt;&amp;lt;svg&amp;gt;&lt;/code&gt; tag can be used to embed SVG into a web page. You can use this element to hold SVG graphics and use it as a container for SVG.&lt;/p&gt;

&lt;h2&gt;
  
  
  header and footer
&lt;/h2&gt;

&lt;p&gt;The HTML &lt;code&gt;&amp;lt;header&amp;gt;&lt;/code&gt; element denotes introductory information, which is usually a collection of introductory or navigational support. &lt;br&gt;
It could have some heading elements, as well as the author's name and other things.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;A page header looks like &lt;br&gt;
&amp;lt;header&amp;gt;&lt;br&gt;
   &amp;lt;h1&amp;gt;Main heading of the page&amp;lt;/h1&amp;gt;&lt;br&gt;
   &amp;lt;p&amp;gt;some text here&amp;lt;/p&amp;gt;&lt;br&gt;
 &amp;lt;/header&amp;gt;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;The &lt;code&gt;&amp;lt;footer&amp;gt;&lt;/code&gt;tag defines a footer for a document or section.&lt;br&gt;
A  usually includes information about the section's author, copyright information, or links to related papers. &lt;br&gt;
&lt;code&gt;&amp;lt;footer&amp;gt;&lt;br&gt;
   &amp;lt;p&amp;gt;Reference here&amp;lt;/p&amp;gt;&lt;br&gt;
 &amp;lt;/footer&amp;gt;&lt;br&gt;
&lt;/code&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  nav tag
&lt;/h2&gt;

&lt;p&gt;The nav tag represents the set of navigation links. The &lt;code&gt;&amp;lt;nav&amp;gt;&lt;/code&gt; HTML element defines a portion of a page that contains navigation links, either within the current document or to other documents.&lt;br&gt;
A &lt;code&gt;&amp;lt;nav&amp;gt;&lt;/code&gt; element does not have to contain all of a document's links. &lt;br&gt;
Only important blocks of navigation links should be included in the  element&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&amp;lt;nav&amp;gt;&lt;br&gt;
   &amp;lt;a href="/reference1/"&amp;gt;Reference 1&amp;lt;/a&amp;gt; |&lt;br&gt;
   &amp;lt;a href="/reference2/"&amp;gt;Reference 2&amp;lt;/a&amp;gt; |&lt;br&gt;
 &amp;lt;/nav&amp;gt;.&lt;/code&gt;&lt;/p&gt;

</description>
      <category>html</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Primitive data types in Javascript</title>
      <dc:creator>Awais Butt</dc:creator>
      <pubDate>Fri, 04 Mar 2022 13:12:00 +0000</pubDate>
      <link>https://dev.to/awaisbutt/primitive-data-types-in-javascript-2958</link>
      <guid>https://dev.to/awaisbutt/primitive-data-types-in-javascript-2958</guid>
      <description>&lt;p&gt;&lt;strong&gt;There are five types of primitive data types.&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;String&lt;/li&gt;
&lt;li&gt;Number&lt;/li&gt;
&lt;li&gt;Boolean&lt;/li&gt;
&lt;li&gt;Undefined&lt;/li&gt;
&lt;li&gt;Null&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  String
&lt;/h2&gt;

&lt;p&gt;The string data type in JavaScript can be any group of characters enclosed by a single or double-quotes or by backticks.&lt;br&gt;
&lt;code&gt;let name = "Awais Butt";   // Using double quotes&lt;br&gt;
let info = 'data';   // Using single quotes&lt;/code&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Numbers
&lt;/h2&gt;

&lt;p&gt;JavaScript has only one type of numbers. Numbers can be written with, or without decimals.&lt;br&gt;
&lt;code&gt;let number = 250;  // integer value&lt;/code&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Boolean
&lt;/h2&gt;

&lt;p&gt;The boolean data type has only two values, true and false. It is mostly used to check a logical condition. Thus Booleans are logical data types which can be used for comparison of two variables or to check a condition. &lt;br&gt;
&lt;code&gt;let num1 = 5;&lt;br&gt;
let num2 = 5;&lt;br&gt;
(num1 == num2)       // Returns true&lt;/code&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Undefined
&lt;/h2&gt;

&lt;p&gt;In JavaScript, a variable without a value, has the value undefined. The type is also undefined.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;let name;  //name is undefined and its type also undefined&lt;/code&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Null
&lt;/h2&gt;

&lt;p&gt;The null in JavaScript is a data type that is represented by only one value, the ‘null’ itself. A null value means no value.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;let n = null;&lt;br&gt;
console.log(n);   // This returns null&lt;br&gt;
If we check the data type of a using the typeof operator, we get:&lt;br&gt;
typeof(n);         // This returns object&lt;/code&gt;&lt;br&gt;
This means the type of a null value is an object, not null.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Javascript Variables Scope</title>
      <dc:creator>Awais Butt</dc:creator>
      <pubDate>Sat, 26 Feb 2022 12:42:41 +0000</pubDate>
      <link>https://dev.to/awaisbutt/javascript-variables-scope-4e73</link>
      <guid>https://dev.to/awaisbutt/javascript-variables-scope-4e73</guid>
      <description>&lt;p&gt;The visibility of the variables is referred to as the scope.&lt;br&gt;
Javascript has 3 types of scope&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Block scope &lt;/li&gt;
&lt;li&gt;Function scope&lt;/li&gt;
&lt;li&gt;Global scope&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Block Scope
&lt;/h2&gt;

&lt;p&gt;There was no idea of block scope before ES6. The let and const keywords in ES6 introduced a new feature called block scoping. The block's variables can't be accessed from outside of it.&lt;br&gt;
&lt;strong&gt;Example&lt;/strong&gt;&lt;br&gt;
&lt;code&gt;{  &lt;br&gt;
let x = 10;&lt;br&gt;
}&lt;br&gt;
// x cannot be used here&lt;/code&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Function Scope
&lt;/h2&gt;

&lt;p&gt;Variables defined inside a function are not accessible (visible) from outside the function.&lt;br&gt;
Variables declared with var, let and const are quite similar when declared inside a function.&lt;br&gt;
&lt;code&gt;function Person() {&lt;br&gt;
  var personName = "Volvo";   // Function Scope&lt;br&gt;
}&lt;/code&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Global Scope
&lt;/h2&gt;

&lt;p&gt;Global scope variables can be accessed from anywhere in the program. When defined outside of a block, variables declared using var, let, and const are very similar.&lt;br&gt;
&lt;code&gt;let x = 20   // Global scope&lt;br&gt;
&lt;/code&gt;&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>beginners</category>
      <category>programming</category>
    </item>
    <item>
      <title>Javascript Variables</title>
      <dc:creator>Awais Butt</dc:creator>
      <pubDate>Tue, 22 Feb 2022 13:17:35 +0000</pubDate>
      <link>https://dev.to/awaisbutt/javascript-variables-1064</link>
      <guid>https://dev.to/awaisbutt/javascript-variables-1064</guid>
      <description>&lt;p&gt;Variables are blocks for storing data. &lt;br&gt;
3 ways to declare variables&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;var&lt;/li&gt;
&lt;li&gt;let &lt;/li&gt;
&lt;li&gt;const&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Declaring the javascript variable
&lt;/h2&gt;

&lt;p&gt;Variable is declared when we create the variable. You can declare the javascript variable with let or var keyword.&lt;br&gt;
var name;&lt;br&gt;
or &lt;br&gt;
let name;&lt;br&gt;
After the declaration, the variable has no value it is undefined.&lt;br&gt;
To assign a value to the variable, use the equal sign:&lt;br&gt;
name = “awias butt”&lt;br&gt;
Now it is a variable with type string.&lt;/p&gt;

&lt;h2&gt;
  
  
  Using var
&lt;/h2&gt;

&lt;p&gt;The var is the oldest keyword to declare a variable in JavaScript. The scope of the var keyword is the global or function scope. It means variables defined outside the function can be accessed globally, and variables defined inside a particular function can be accessed within the function. &lt;br&gt;
Example: Variable ‘number’ is declared globally. So, the scope of the variable ‘number’ is global, and it can be accessible everywhere in the program. &lt;br&gt;
&lt;code&gt;&amp;lt;script&amp;gt;&lt;br&gt;
Var number = 10;&lt;br&gt;
Function call(){&lt;br&gt;
Console.log(number);&lt;br&gt;
}&lt;br&gt;
Call();&lt;br&gt;
Console.log(number);&lt;br&gt;
&amp;lt;/script&amp;gt;&lt;/code&gt;&lt;br&gt;
&lt;strong&gt;Output&lt;br&gt;
10&lt;br&gt;
10&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Using let
&lt;/h2&gt;

&lt;p&gt;The let keyword is an improved version of the var keyword. It can’t be accessible outside the particular block or function.&lt;br&gt;
&lt;code&gt;&amp;lt;script&amp;gt;&lt;br&gt;
function call(){&lt;br&gt;
let number = 10;&lt;br&gt;
Console.log(number);&lt;br&gt;
}&lt;br&gt;
Console.log(number);&lt;br&gt;
&amp;lt;/script&amp;gt;&lt;/code&gt;&lt;br&gt;
&lt;strong&gt;Output&lt;br&gt;
10&lt;br&gt;
ReferenceError: number is not defined&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Using const
&lt;/h2&gt;

&lt;p&gt;The const keyword has all the properties that are the same as the let keyword, except the user cannot update it. When users declare a const variable, they need to initialize it, otherwise, it returns an error.&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>beginners</category>
      <category>programming</category>
      <category>react</category>
    </item>
    <item>
      <title>Blockchain technology</title>
      <dc:creator>Awais Butt</dc:creator>
      <pubDate>Fri, 11 Feb 2022 07:35:51 +0000</pubDate>
      <link>https://dev.to/awaisbutt/blockchain-technology-2pea</link>
      <guid>https://dev.to/awaisbutt/blockchain-technology-2pea</guid>
      <description>&lt;p&gt;Blockchain is a distributed database that is shared among the nodes of a computer network. And its store information in digital format. The innovation with a blockchain is that it guarantees the fidelity and security of a record of data and generates trust without the need for a trusted third party.&lt;/p&gt;

&lt;h2&gt;
  
  
  Blockchain vs typical database
&lt;/h2&gt;

&lt;p&gt;A database usually structures its data into tables, whereas a blockchain, like its name implies, structures its data into chunks (blocks) that are strung together. This data structure inherently makes an irreversible timeline of data when implemented in a decentralized nature. When a block is filled, it is set in stone and becomes a part of this timeline. Each block in the chain is given an exact timestamp when it is added to the chain.&lt;br&gt;
A blockchain collects information together in groups, known as blocks, that hold sets of information. Blocks have certain storage capacities and, when filled, are closed and linked to the previously filled block, forming a chain of data known as the blockchain. All new information that follows that freshly added block is compiled into a newly formed block that will then also be added to the chain once filled.&lt;/p&gt;

&lt;h2&gt;
  
  
  The most common types of blockchain
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Public blockchain&lt;/strong&gt;&lt;br&gt;
Public blockchain allows anyone to join so they are permissionless in nature. In a public blockchain, all nodes have equal rights to access the blockchain. Public blockchains are primarily used for mining and exchanging cryptocurrency. &lt;br&gt;
Example: Bitcoin, Ethereum, Litecoin&lt;br&gt;
&lt;strong&gt;Private blockchain&lt;/strong&gt;&lt;br&gt;
Private blockchains are permissioned blockchains controlled by a single organization. In a private blockchain, the central authority determines who can be a node. it operates like a public blockchain network in the sense that it uses peer-to-peer connections and decentralization, this type of blockchain is on a much smaller scale. Instead of just anyone being able to join and provide computing power, private blockchains typically are operated on a small network inside a company or organization.&lt;br&gt;
Examples of private blockchains are; Multichain and Hyperledger projects (Fabric, Sawtooth), Corda, etc.&lt;br&gt;
&lt;strong&gt;Hybrid blockchain&lt;/strong&gt;&lt;br&gt;
A hybrid blockchain is a combination of the private and public blockchain. It uses the features of both types of blockchains that is one can have a private permission-based system as well as a public permission-less system. A transaction in a private network of a hybrid blockchain is usually verified within that network. But users can also release it in the public blockchain to get verified. The public blockchains increase the hashing and involve more nodes for verification. This enhances the security and transparency of the blockchain network.&lt;br&gt;
An example of a hybrid blockchain is Dragonchain.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Introduction to javascript</title>
      <dc:creator>Awais Butt</dc:creator>
      <pubDate>Fri, 04 Feb 2022 11:53:55 +0000</pubDate>
      <link>https://dev.to/awaisbutt/introduction-to-javascript-2o71</link>
      <guid>https://dev.to/awaisbutt/introduction-to-javascript-2o71</guid>
      <description>&lt;p&gt;Javascript is the most popular programming language. JavaScript was invented by Brendan Eich in 1995 and became an ECMA standard in 1997. The language was initially called LiveScript and was later renamed JavaScript. When javascript was created it had another name called “Livescript”. At that time java was very popular so it was decided that positioning a new language “young brother” of java. But after some time javascript became so popular with its own specification called ECMAScript and now it has no relation with java.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why Study JavaScript?&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;JavaScript is one of the 3 languages all web developers must learn&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;HTML to define the content of web pages&lt;/li&gt;
&lt;li&gt;CSS to specify the layout of web pages&lt;/li&gt;
&lt;li&gt;JavaScript to program the behavior of web pages&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Javacsript can be added in our html page using two ways&lt;/strong&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  Internal javascript
&lt;/h2&gt;

&lt;p&gt;We can add JavaScript directly to our HTML file by writing the code inside the &lt;code&gt;&amp;lt;script&amp;gt;&lt;/code&gt; tag. The &lt;code&gt;&amp;lt;script&amp;gt;&lt;/code&gt; tag can either be placed inside the &lt;code&gt;&amp;lt;head&amp;gt;&lt;/code&gt; or the &lt;code&gt;&amp;lt;body&amp;gt;&lt;/code&gt; tag according to the requirement.&lt;br&gt;
&lt;strong&gt;Example&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;html&amp;gt;&lt;/span&gt; &lt;span class="nt"&gt;&amp;lt;head&amp;gt;&amp;lt;script&amp;gt;&lt;/span&gt;
    &lt;span class="nx"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="err"&gt;“&lt;/span&gt;&lt;span class="nx"&gt;welcome&lt;/span&gt; &lt;span class="nx"&gt;to&lt;/span&gt; &lt;span class="nx"&gt;javascript&lt;/span&gt;&lt;span class="err"&gt;”&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;/script&amp;gt;&amp;lt;/head&amp;gt;&amp;lt;body&amp;gt;&lt;/span&gt; 
    // html code 
    &lt;span class="nt"&gt;&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;External javascript&lt;/strong&gt;&lt;br&gt;
We can write JavaScript code in other file having an extension .js and then link this file inside the &lt;code&gt;&amp;lt;head&amp;gt;&lt;/code&gt; tag of the HTML file in which we want to add this code.&lt;/p&gt;

&lt;h2&gt;
  
  
  JavaScript features
&lt;/h2&gt;

&lt;p&gt;JavaScript is the most popular language on earth. &lt;br&gt;
JavaScript has vast features in client side like react and angular and moved into the server with Node.js and other frameworks. &lt;/p&gt;

&lt;p&gt;JavaScript is capable of so much more. Here is a list that we can do with JavaScript: &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;JavaScript was created in the first place for DOM manipulation. Earlier websites were mostly static, after JS was created dynamic Web sites were made.&lt;/li&gt;
&lt;li&gt;Functions in JS are objects. They may have properties and methods just like another object. They can be passed as arguments in other functions.&lt;/li&gt;
&lt;li&gt;Can handle date and time.&lt;/li&gt;
&lt;li&gt;Performs Form Validation although the forms are created using HTML.&lt;/li&gt;
&lt;li&gt;No compiler or translator is needed.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;Javascript is a lightweight and easy to use programming language.&lt;br&gt;
JavaScript can be run on any operating system and in all the web browsers.&lt;br&gt;
You need a text editor to write JavaScript code and a browser to display your web page.&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>webdev</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Introduction to javascript</title>
      <dc:creator>Awais Butt</dc:creator>
      <pubDate>Fri, 04 Feb 2022 11:26:56 +0000</pubDate>
      <link>https://dev.to/awaisbutt/introduction-to-javascript-1ini</link>
      <guid>https://dev.to/awaisbutt/introduction-to-javascript-1ini</guid>
      <description>&lt;p&gt;Javascript is the most popular programming language. JavaScript was invented by Brendan Eich in 1995, and became an ECMA standard in 1997. The language was initially called LiveScript and was later renamed JavaScript. When javascript was created it had another name called “Livescript”. At that time java was very popular so it was decided that positioning a new language “young brother” of java. But after some time javascript became so popular with its own specification called ECMAScript and now it has no relation with java.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why Study JavaScript?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;JavaScript is one of the 3 languages all web developers must learn&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;HTML to define the content of web pages&lt;/li&gt;
&lt;li&gt;CSS to specify the layout of web pages&lt;/li&gt;
&lt;li&gt;JavaScript to program the behavior of web pages&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;&lt;strong&gt;Javacsript can be added in our html page using two ways&lt;br&gt;&lt;br&gt;
Internal javascript&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
We can add JavaScript directly to our HTML file by writing the code inside the  tag. The &amp;lt;script&amp;gt; tag can either be placed inside the &amp;lt;head&amp;gt; or the &amp;lt;body&amp;gt; tag according to the requirement.&amp;lt;br&amp;gt;&lt;br&gt;
Example&amp;lt;br&amp;gt;&lt;br&gt;
&amp;lt;html&amp;gt;&amp;lt;head&amp;gt;&amp;lt;/p&amp;gt;&lt;/p&gt;

&lt;p&gt;&amp;lt;script&amp;gt;&lt;br&gt;
console.log(“welcome to javascript”);&lt;/p&gt;


 &lt;br&gt;&lt;br&gt;
// html code &lt;br&gt;&lt;br&gt;
&lt;br&gt;&lt;br&gt;

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