<?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: 💡Piyush Kesarwani</title>
    <description>The latest articles on DEV Community by 💡Piyush Kesarwani (@hy_piyush).</description>
    <link>https://dev.to/hy_piyush</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%2F980079%2F83b5f400-8a9b-4676-a8a1-06c94265f7d4.jpg</url>
      <title>DEV Community: 💡Piyush Kesarwani</title>
      <link>https://dev.to/hy_piyush</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/hy_piyush"/>
    <language>en</language>
    <item>
      <title>9 HTTP request methods explained!</title>
      <dc:creator>💡Piyush Kesarwani</dc:creator>
      <pubDate>Sun, 19 May 2024 05:47:48 +0000</pubDate>
      <link>https://dev.to/hy_piyush/9-http-request-methods-explained-354i</link>
      <guid>https://dev.to/hy_piyush/9-http-request-methods-explained-354i</guid>
      <description>&lt;p&gt;HTTP methods are the backbone of Integration and getting request/response from the server. These methods create the fundamentals of programming and handling requests to/from the client and server side.&lt;/p&gt;

&lt;p&gt;In this blog post, I will discuss about some of the most Important HTTP Methods that every developer must know about.&lt;/p&gt;

&lt;p&gt;Let's get started.&lt;/p&gt;

&lt;p&gt;HTTP (Hypertext Transfer Protocol) specifies a collection of request methods to specify what action is to be performed on a particular resource. The most commonly used HTTP request methods are GET, POST, PUT, PATCH, and DELETE. These are equivalent to the CRUD operations (create, read, update, and delete). But there are total of 9 HTTP Methods that you must be aware of.&lt;/p&gt;

&lt;p&gt;HTTP methods can be judged on the basis of three properties:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Safe – if it doesn't affect the server state&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Idempotent – no matter how many times you make an API call, the result remains the same&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Cacheable – can a response be cached?&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Here are some characteristics of all HTTP Methods: &lt;/p&gt;

&lt;h2&gt;
  
  
  1. GET
&lt;/h2&gt;

&lt;p&gt;Widely used. &lt;/p&gt;

&lt;p&gt;GET method is used to request the desired resource from the server. The GET method is used to request any of the following resources:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A webpage or HTML file.&lt;/li&gt;
&lt;li&gt;An image or video.&lt;/li&gt;
&lt;li&gt;A JSON document.&lt;/li&gt;
&lt;li&gt;A CSS file or JavaScript file.&lt;/li&gt;
&lt;li&gt;An XML file.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It doesn't affect the server state.&lt;/p&gt;

&lt;p&gt;✅ Safe&lt;br&gt;
✅ Idempotent&lt;br&gt;
✅ Cacheable&lt;/p&gt;
&lt;h2&gt;
  
  
  2. POST
&lt;/h2&gt;

&lt;p&gt;POST method is completely opposite to GET.&lt;/p&gt;

&lt;p&gt;It is used to submit the data to the server and hence it changes the server state.&lt;/p&gt;

&lt;p&gt;The data sent to the server is typically in the following form:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Input fields from online forms.&lt;/li&gt;
&lt;li&gt;XML or JSON data.&lt;/li&gt;
&lt;li&gt;Text data from query parameters.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;❌ Safe&lt;br&gt;
❌ Idempotent&lt;/p&gt;
&lt;h2&gt;
  
  
  3. PUT
&lt;/h2&gt;

&lt;p&gt;PUT method is used to update the resource on the server which is already present.&lt;/p&gt;

&lt;p&gt;It replaces the entire content at a particular location with data that is passed in the body payload.&lt;/p&gt;

&lt;p&gt;The HTTP PUT request method includes two rules:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A PUT operation always includes a payload that describes a completely new resource definition to be saved by the server.&lt;/li&gt;
&lt;li&gt;The PUT operation uses the exact URL of the target resource.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If a resource exists at the URL provided by a PUT operation, the resource’s representation is completely replaced. If a resource does not exist at that URL, a new resource is created.&lt;/p&gt;

&lt;p&gt;❌ Safe&lt;br&gt;
✅ Idempotent&lt;br&gt;
❌ Cacheable&lt;/p&gt;
&lt;h2&gt;
  
  
  4. PATCH
&lt;/h2&gt;

&lt;p&gt;PATCH is similar to PUT request, but the only difference is, it modifies a part of the data. It will only replace the content that you want to update.&lt;/p&gt;

&lt;p&gt;❌ Safe&lt;br&gt;
❌ Idempotent&lt;br&gt;
❌ Cacheable&lt;/p&gt;
&lt;h2&gt;
  
  
  5. DELETE
&lt;/h2&gt;

&lt;p&gt;As the name suggests, it is used to delete the data on the server.&lt;/p&gt;

&lt;p&gt;❌ Safe&lt;br&gt;
✅ Idempotent&lt;br&gt;
❌ Cacheable&lt;/p&gt;
&lt;h2&gt;
  
  
  6. HEAD
&lt;/h2&gt;

&lt;p&gt;The HEAD method in HTTP is similar to GET, but it requests only the headers of a resource without fetching the actual body content.&lt;/p&gt;

&lt;p&gt;The HTTP HEAD method is commonly used to check the following conditions:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The size of a resource on the server.&lt;/li&gt;
&lt;li&gt;If a resource exists on the server or not.&lt;/li&gt;
&lt;li&gt;The last-modified date of a resource.&lt;/li&gt;
&lt;li&gt;Validity of a cached resource on the server.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The following example shows sample data returned from a HEAD request:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;HTTP/1.1 200 OK 
Date: Fri, 19 Aug 2023 12:00:00 GMT 
Content-Type: text/html 
Content-Length: 1234 
Last-Modified: Thu, 18 Aug 2023 15:30:00 GMT
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;✅ Safe&lt;br&gt;
✅ Idempotent&lt;br&gt;
✅ Cacheable&lt;/p&gt;
&lt;h2&gt;
  
  
  7. OPTIONS
&lt;/h2&gt;

&lt;p&gt;OPTIONS in HTTP retrieves available communication options for a resource. It tells supported methods and server restrictions. &lt;/p&gt;

&lt;p&gt;The following is a sample response to an HTTP OPTIONS method call to a server:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;OPTIONS /example/resource HTTP/1.1 
Host: www.example.com HTTP/1.1 200 OK 
Allow: GET, POST, DELETE, HEAD, OPTIONS 
Access-Control-Allow-Origin: * 
Access-Control-Allow-Methods: GET, POST, DELETE, OPTIONS 
Access-Control-Allow-Headers: Authorization, Content-Type 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Used for preflight requests.&lt;/p&gt;

&lt;p&gt;✅ Safe&lt;br&gt;
✅ Idempotent&lt;br&gt;
❌ Cacheable&lt;/p&gt;

&lt;h2&gt;
  
  
  8. CONNECT
&lt;/h2&gt;

&lt;p&gt;It establishes a TCP connection through a proxy server to the actual server. It's commonly used in HTTPS connections to set up secure communication between a client and a server through an intermediary proxy server.&lt;/p&gt;

&lt;p&gt;❌ Safe&lt;br&gt;
❌ Idempotent&lt;br&gt;
❌ Cacheable&lt;/p&gt;

&lt;h2&gt;
  
  
  9. TRACE
&lt;/h2&gt;

&lt;p&gt;TRACE HTTP method is useful in debugging.&lt;/p&gt;

&lt;p&gt;When a TRACE request is sent, the server reflects the received request to the client, letting it see any changes made as it passes through proxies or gateways.&lt;/p&gt;

&lt;p&gt;✅ Safe&lt;br&gt;
✅ Idempotent&lt;br&gt;
❌ Cacheable&lt;/p&gt;




&lt;p&gt;That's a wrap. I hope that you've enjoyed reading this article.&lt;/p&gt;

&lt;p&gt;Please share this information with others and show some love. See ya...&lt;/p&gt;

&lt;p&gt;Follow me on socials: &lt;/p&gt;

&lt;p&gt;Twitter: &lt;a href="https://x.com/Hy_piyush"&gt;https://x.com/Hy_piyush&lt;/a&gt;&lt;br&gt;
LinkedIn : &lt;a href="https://www.linkedin.com/in/piyush-kesarwani-809a30219/"&gt;https://www.linkedin.com/in/piyush-kesarwani-809a30219/&lt;/a&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>javascript</category>
      <category>http</category>
      <category>programming</category>
    </item>
    <item>
      <title>15 Must-Know Javascript array methods</title>
      <dc:creator>💡Piyush Kesarwani</dc:creator>
      <pubDate>Sat, 27 Apr 2024 07:09:27 +0000</pubDate>
      <link>https://dev.to/hy_piyush/15-must-know-javascript-array-methods-28f6</link>
      <guid>https://dev.to/hy_piyush/15-must-know-javascript-array-methods-28f6</guid>
      <description>&lt;p&gt;Arrays are an essential part of any programming language, and JavaScript is no exception. With arrays, developers can store and manipulate collections of data, including strings, numbers, and even objects. In this article, we will cover 15 must-know JavaScript array methods that everyone should know.&lt;/p&gt;

&lt;h2&gt;
  
  
  push() – Adds one or more elements to the end of an array.
&lt;/h2&gt;

&lt;p&gt;The push() method adds one or more elements to the end of an array and returns the new length of the array. This method is useful when you need to add elements to an array without specifying the index.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const array = [1, 2, 3];  array.push(4, 5);  console.log(array); // Output: [1, 2, 3, 4, 5]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  pop() – Removes and returns the last element from an array.
&lt;/h2&gt;

&lt;p&gt;The pop() method removes and returns the last element from an array. This method is useful when you need to remove an element from the end of an array.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const array = [1, 2, 3];
    const lastElement = array.pop();
    console.log(array); // Output: [1, 2]
    console.log(lastElement); // Output: 3
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  shift() – Removes and returns the first element from an array
&lt;/h2&gt;

&lt;p&gt;The shift() method removes and returns the first element from an array. This method is useful when you need to remove an element from the beginning of an array.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const array = [1, 2, 3];
    const firstElement = array.shift();
    console.log(array); // Output: [2, 3]
    console.log(firstElement); // Output: 1
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  unshift() – Adds one or more elements to the beginning of an array
&lt;/h2&gt;

&lt;p&gt;The unshift() method adds one or more elements to the beginning of an array and returns the new length of the array. This method is useful when you need to add elements to an array at the beginning.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const array = [1, 2, 3];
    array.unshift(4, 5);
    console.log(array); // Output: [4, 5, 1, 2, 3]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  splice() – Adds or removes elements from an array at a specified index
&lt;/h2&gt;

&lt;p&gt;The splice() method adds and removes elements from an array at a specified index. This method can be used to add or remove elements from anywhere in the array.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const array = [1, 2, 3, 4];
    array.splice(1, 2, 5, 6);
    console.log(array); // Output: [1, 5, 6, 4]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  slice() – Returns a copy of a portion of an array specified by its starting and ending indexes
&lt;/h2&gt;

&lt;p&gt;The slice() method returns a copy of a portion of an array specified by its starting and ending indexes. This method can be used to create a new array that contains a subset of the original array.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const array = [1, 2, 3, 4];
    const newArray = array.slice(1, 3);
    console.log(newArray); // Output: [2, 3]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  concat() – Combines two or more arrays and returns a new array
&lt;/h2&gt;

&lt;p&gt;The concat() method combines two or more arrays and returns a new array. This method can be used to join arrays together without modifying the original arrays.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const array1 = [1, 2];
    const array2 = [3, 4];
    const newArray = array1.concat(array2);
    console.log(newArray); // Output: [1, 2, 3, 4]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  join() – Joins all elements of an array into a string
&lt;/h2&gt;

&lt;p&gt;The join() method joins all elements of an array into a string, using a specified separator. This method can be used to create a string from an array.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const array = [1, 2, 3];  const string = array.join("-");  console.log(string); // Output: "1-2-3"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  indexOf() – Returns the index of the first occurrence of a specified element in an array
&lt;/h2&gt;

&lt;p&gt;The indexOf() method returns the index of the first occurrence of a specified element in an array. If the element is not found, this method returns -1.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const array = [1, 2, 3];  const index = array.indexOf(2);  console.log(index); // Output: 1
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  lastIndexOf() – Returns the index of the last occurrence of a specified element in an array
&lt;/h2&gt;

&lt;p&gt;The lastIndexOf() method returns the index of the last occurrence of a specified element in the array. If the element is not found, this method returns -1.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const array = [1, 2, 3, 2];  const index = array.lastIndexOf(2);  console.log(index); // Output: 3
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  forEach() – Executes a provided function once for each element in an array
&lt;/h2&gt;

&lt;p&gt;The forEach() method executes a provided function once for each element in an array. This method can be used to perform an operation on each element of an array.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const array = [1, 2, 3];  array.forEach((element) =&amp;gt; {  console.log(element);  });  // Output:  // 1  // 2  // 3
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  map() – Creates a new array with the results of calling a provided function on every element in the array
&lt;/h2&gt;

&lt;p&gt;The map() method creates a new array with the results of calling a provided function on every element in the array. This method can be used to create a new array based on the original array.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const array = [1, 2, 3];  const newArray = array.map((element) =&amp;gt; {  return element * 2;  });  console.log(newArray); // Output: [2, 4, 6]

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  filter() – Creates a new array with all elements that pass a test specified by a provided function
&lt;/h2&gt;

&lt;p&gt;The filter() method creates a new array with all elements that pass a test specified by a provided function. This method can be used to create a new array based on a condition.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const array = [1, 2, 3];  const newArray = array.filter((element) =&amp;gt; {  return element &amp;gt; 1;  });  console.log(newArray); // Output: [2, 3]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  reduce() – Executes a provided function on each element of the array and returns a single value
&lt;/h2&gt;

&lt;p&gt;The reduce() method executes a provided function on each element of the array and returns a single value. This method can be used to perform an operation on all elements of an array and return a single value.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const array = [1, 2, 3];  const sum = array.reduce((accumulator, currentValue) =&amp;gt; {  return accumulator + currentValue;  }, 0);  console.log(sum); // Output: 6
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  sort() – Sorts the elements of an array in place
&lt;/h2&gt;

&lt;p&gt;The sort() method sorts the elements of an array in place. This method can be used to sort an array in ascending or descending order.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const array = [3, 2, 1];
array.sort();
console.log(array); // Output: [1, 2, 3]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Conclusion&lt;br&gt;
In this article, we have covered 15 must-know JavaScript array methods that everyone should know. These methods are essential for working with arrays in JavaScript and can greatly simplify your code. By using these methods, you can perform a wide range of operations on arrays, such as adding, removing, sorting, and filtering elements. Whether you’re a beginner or an experienced developer, mastering these array methods will make your life easier and your code more efficient.&lt;/p&gt;

&lt;p&gt;Those were the 15 must-know javascript array methods for you. I really hoped that you enjoyed reading this article.&lt;/p&gt;

&lt;p&gt;Follow me on socials:&lt;/p&gt;

&lt;p&gt;Twitter: &lt;a href="https://twitter.com/Hy_piyush"&gt;https://twitter.com/Hy_piyush&lt;/a&gt;&lt;br&gt;
Instagram: &lt;a href="https://www.instagram.com/piyush_kesarwani22/"&gt;https://www.instagram.com/piyush_kesarwani22/&lt;/a&gt;&lt;br&gt;
Linkedin: &lt;a href="https://www.linkedin.com/in/piyush-kesarwani-809a30219/"&gt;https://www.linkedin.com/in/piyush-kesarwani-809a30219/&lt;/a&gt;&lt;br&gt;
GitHub: &lt;a href="https://github.com/piyushkesarwani"&gt;https://github.com/piyushkesarwani&lt;/a&gt;&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>programming</category>
      <category>tutorial</category>
      <category>learning</category>
    </item>
    <item>
      <title>How to make Responsive Web designs in CSS: Tips and Tricks</title>
      <dc:creator>💡Piyush Kesarwani</dc:creator>
      <pubDate>Tue, 11 Apr 2023 05:01:12 +0000</pubDate>
      <link>https://dev.to/hy_piyush/how-to-make-responsive-web-designs-in-css-tips-and-tricks-22m9</link>
      <guid>https://dev.to/hy_piyush/how-to-make-responsive-web-designs-in-css-tips-and-tricks-22m9</guid>
      <description>&lt;p&gt;In today's world, where mobile devices have become an integral part of our lives, it's essential to make sure that your website is responsive. A responsive website means that it is designed to adjust to the screen size of the device it is being viewed on. This is crucial because if your website is not responsive, users will have a hard time navigating it on their mobile devices, which can result in a negative user experience.&lt;/p&gt;

&lt;p&gt;Responsive web design has become increasingly important in recent years, and there are many ways to achieve it. However, one of the most popular and effective methods is the use of CSS. In this article, we will discuss some tips and tricks for using CSS to create a responsive web design.&lt;/p&gt;

&lt;h2&gt;
  
  
  Use Fluid Layouts
&lt;/h2&gt;

&lt;p&gt;A fluid layout is a layout that adjusts its width based on the screen size of the device it is being viewed on. This means that the elements on your website will be resized based on the size of the screen. To achieve a fluid layout, you can use percentage-based widths instead of fixed pixel widths. For example, instead of setting a width of 1000px for your website, you can set it to 100%. This will ensure that your website adjusts to the size of the screen it is being viewed on.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;.container {
  width: 100%; /* Use percentage-based width */
}

img {
  max-width: 100%; /* Ensure images do not exceed container width */
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Use Media Queries
&lt;/h2&gt;

&lt;p&gt;Media queries are a powerful tool in CSS that allows you to define different styles for different screen sizes. With media queries, you can set specific styles for screens of different sizes, such as desktops, tablets, and mobile devices. To use media queries, you need to define the breakpoints at which your styles will change. For example, you can set a breakpoint at 768px, which is the screen size of most tablets, and define different styles for screens smaller than that size.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;/* Styles for screens smaller than 768px */
@media screen and (max-width: 767px) {
  .menu {
    display: none; /* Hide menu on small screens */
  }

  .logo {
    font-size: 1.5em; /* Increase font size of logo on small screens */
  }
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



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

&lt;p&gt;Flexbox is a layout mode in CSS that allows you to create flexible and responsive layouts. With Flexbox, you can align and distribute elements on your website easily. Flexbox is particularly useful for creating responsive navigation menus and grid layouts. To use Flexbox, you need to define a container element and set its display property to "flex". You can then define the layout and alignment of the elements within the container.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;.container {
  display: flex; /* Set display property to flex */
  flex-wrap: wrap; /* Allow items to wrap to next line if there is not enough space */
  justify-content: center; /* Center items horizontally */
  align-items: center; /* Center items vertically */
}

.item {
  flex-basis: 200px; /* Set minimum width of item */
  margin: 10px; /* Add margin around items */
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Use Relative Units
&lt;/h2&gt;

&lt;p&gt;Relative units are units of measurement in CSS that are based on the size of other elements on the page. These units include em, rem, and vw/vh. Using relative units instead of fixed pixel sizes allows your website to adjust its layout and font sizes based on the screen size of the device it is being viewed on. For example, you can set the font size of your website to 1em, which will be the same size as the font size of the parent element.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;.container {
  font-size: 16px; /* Set font size to 16px */
}

h1 {
  font-size: 2em; /* Font size is twice the font size of the parent element */
}

p {
  font-size: 1.2em; /* Font size is 1.2 times the font size of the parent element */
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Test Your Website on Different Devices
&lt;/h2&gt;

&lt;p&gt;Finally, it's essential to test your website on different devices to ensure that it is responsive and user-friendly. There are several tools available that allow you to test your website on different devices, such as Google's Mobile-Friendly Test and Responsinator. By testing your website on different devices, you can identify any issues and make the necessary changes to ensure that your website is responsive and accessible to all users.&lt;/p&gt;

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

&lt;p&gt;In conclusion, responsive web design is crucial for ensuring that your website is accessible and user-friendly on all devices. Using CSS, you can create a responsive web design that adjusts to the screen size of the device it is being viewed on. By using fluid layouts, media queries, Flexbox, relative units, and testing your website on different devices, you can create a responsive website that provides an optimal user experience.&lt;/p&gt;




&lt;p&gt;That's a wrap. Thanks for reading.&lt;/p&gt;

&lt;p&gt;If you enjoyed reading this issue, then you can follow me for more such interesting posts and articles on similar topics like this one.&lt;/p&gt;

&lt;p&gt;Socials:&lt;/p&gt;

&lt;p&gt;Twitter : &lt;a href="https://twitter.com/Hy_piyush"&gt;https://twitter.com/Hy_piyush&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;LinkedIn : &lt;a href="https://www.linkedin.com/in/piyush-kesarwani-809a30219/"&gt;https://www.linkedin.com/in/piyush-kesarwani-809a30219/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Github Profile Link - &lt;a href="https://github.com/piyushkesarwani"&gt;https://github.com/piyushkesarwani&lt;/a&gt;&lt;/p&gt;

</description>
      <category>css</category>
      <category>webdev</category>
      <category>javascript</category>
      <category>frontend</category>
    </item>
    <item>
      <title>Top 20 VS Code Extensions for programmers</title>
      <dc:creator>💡Piyush Kesarwani</dc:creator>
      <pubDate>Sat, 25 Mar 2023 07:34:40 +0000</pubDate>
      <link>https://dev.to/hy_piyush/top-20-vs-code-extensions-for-programmers-2h5d</link>
      <guid>https://dev.to/hy_piyush/top-20-vs-code-extensions-for-programmers-2h5d</guid>
      <description>&lt;h3&gt;
  
  
  As a programmer, you know that choosing the right tools and resources can make a big difference in your productivity and the quality of your work. Visual Studio Code (VS Code) is a popular code editor that is highly extensible through the use of extensions. In this article, I've introduced you to the top 20 VS Code extensions for programmers. Let's get started.
&lt;/h3&gt;

&lt;h2&gt;
  
  
  Bracket Pair Colorizer
&lt;/h2&gt;

&lt;p&gt;When working with code that contains many nested brackets, it can be challenging to match them correctly. Bracket Pair Colorizer helps by coloring matching brackets with the same color, making it easy to see where each pair starts and ends.&lt;/p&gt;

&lt;h2&gt;
  
  
  Code Spell Checker
&lt;/h2&gt;

&lt;p&gt;It's easy to make typos and grammatical errors when writing code and comments. Code Spell Checker is an extension that checks your spelling and grammar, helping you catch those pesky errors before you submit your code.&lt;/p&gt;

&lt;h2&gt;
  
  
  Color Highlight
&lt;/h2&gt;

&lt;p&gt;CSS and other styling languages use colors extensively. Color Highlight is an extension that highlights color codes within your code, making it easy to see which color is being used where.&lt;/p&gt;

&lt;h2&gt;
  
  
  Debugger for Chrome
&lt;/h2&gt;

&lt;p&gt;Debugging web applications can be a challenge, but Debugger for Chrome makes it easier. This extension provides debugging support for Chrome, allowing you to debug JavaScript and TypeScript code in the Chrome browser directly from VS Code.&lt;/p&gt;

&lt;h2&gt;
  
  
  GitLens
&lt;/h2&gt;

&lt;p&gt;Git is an essential tool for software development, and GitLens is an extension that provides enhanced Git support within VS Code. With GitLens, you can see who made changes to your code, when they made them, and why. You can also navigate through the Git history of your project with ease.&lt;/p&gt;

&lt;h2&gt;
  
  
  HTML CSS Support
&lt;/h2&gt;

&lt;p&gt;HTML and CSS are two of the most common languages used in web development. HTML CSS Support is an extension that provides comprehensive support for both HTML and CSS within VS Code.&lt;/p&gt;

&lt;h2&gt;
  
  
  IntelliSense for CSS class names in HTML
&lt;/h2&gt;

&lt;p&gt;If you're working with a lot of CSS class names in your HTML, IntelliSense for CSS class names in HTML can save you time. This extension provides IntelliSense for CSS class names in your HTML, making it easy to select the right class name from a list.&lt;/p&gt;

&lt;h2&gt;
  
  
  IntelliSense for CSS, Sass, and Less
&lt;/h2&gt;

&lt;p&gt;If you're working with CSS, Sass, or Less, IntelliSense for CSS, Sass, and Less can make your life easier. This extension provides IntelliSense for CSS, Sass, and Less, making it easy to autocomplete code and find the right property or value.&lt;/p&gt;

&lt;h2&gt;
  
  
  Live Server
&lt;/h2&gt;

&lt;p&gt;Live Server is an extension that launches a local development server with a live reload feature. This makes it easy to see your changes in real-time, without having to manually refresh the page.&lt;/p&gt;

&lt;h2&gt;
  
  
  Material Icon Theme
&lt;/h2&gt;

&lt;p&gt;Material Icon Theme is an extension that provides Material Design icons for files and folders within VS Code. This makes it easy to identify different types of files at a glance.&lt;/p&gt;

&lt;h2&gt;
  
  
  Prettier - Code formatter
&lt;/h2&gt;

&lt;p&gt;Formatting code can be time-consuming, but the Prettier - Code formatter can help. This extension automatically formats your code according to a set of rules, making it easy to maintain a consistent code style.&lt;/p&gt;

&lt;h2&gt;
  
  
  Python
&lt;/h2&gt;

&lt;p&gt;If you're working with Python, the Python extension for VS Code is a must-have. It provides syntax highlighting, code completion, and debugging support for Python.&lt;/p&gt;

&lt;h2&gt;
  
  
  REST Client
&lt;/h2&gt;

&lt;p&gt;REST Client is an extension that allows you to send HTTP requests and shows responses directly in the editor. This makes it easy to test and debug REST APIs without leaving VS Code.&lt;/p&gt;

&lt;h2&gt;
  
  
  Settings Sync
&lt;/h2&gt;

&lt;p&gt;If you work on multiple computers or want to keep your settings and extensions synced across devices, Settings Sync is an extension that can help. It syncs your VS Code settings, keybindings, and extensions across devices.&lt;/p&gt;

&lt;h2&gt;
  
  
  SonarLint
&lt;/h2&gt;

&lt;p&gt;SonarLint is an extension that detects and highlights coding issues in real-time, making it easy to identify potential bugs and security vulnerabilities before you submit your code.&lt;/p&gt;

&lt;h2&gt;
  
  
  Todo Tree
&lt;/h2&gt;

&lt;p&gt;As you work on a project, you may leave comments with TODO, FIXME, or other tags to remind yourself of things that need to be done. Todo Tree is an extension that shows these comments in a tree view, making it easy to keep track of what needs to be done.&lt;/p&gt;

&lt;h2&gt;
  
  
  TypeScript Importer
&lt;/h2&gt;

&lt;p&gt;TypeScript Importer is an extension that automatically imports TypeScript modules as you use them. This saves you time and reduces errors caused by manual imports.&lt;/p&gt;

&lt;h2&gt;
  
  
  Visual Studio IntelliCode
&lt;/h2&gt;

&lt;p&gt;Visual Studio IntelliCode is an extension that provides AI-assisted IntelliSense. It uses machine learning to suggest the most likely completion for your code, making coding faster and more efficient.&lt;/p&gt;

&lt;h2&gt;
  
  
  vscode-icons
&lt;/h2&gt;

&lt;p&gt;vscode-icons is an extension that provides icons for files and folders within VS Code. This makes it easy to quickly identify different types of files and folders, improving your productivity.&lt;/p&gt;

&lt;h2&gt;
  
  
  YAML
&lt;/h2&gt;

&lt;p&gt;YAML is a popular data serialization format used in many applications, including Kubernetes and Docker. The YAML extension provides comprehensive YAML language support within VS Code.&lt;/p&gt;




&lt;p&gt;Conclusion&lt;br&gt;
In conclusion, I would like to say that the right set of extensions can make a big difference in your productivity and the quality of your code. The top 20 VS Code extensions for programmers I've introduced here can help you write better code faster, catch errors before they cause problems, and stay organized as you work on your projects. So, do try them and you can see the results by yourself.&lt;/p&gt;

&lt;p&gt;That's a wrap. Thanks for reading.&lt;/p&gt;

&lt;p&gt;If you like this blog, then do share it with other people. It supports me to create more content like this.&lt;/p&gt;

&lt;p&gt;Till then, take care and keep coding :)&lt;/p&gt;

&lt;p&gt;Socials:&lt;/p&gt;

&lt;p&gt;Twitter: &lt;a href="https://twitter.com/Hy_piyush"&gt;https://twitter.com/Hy_piyush&lt;/a&gt;&lt;br&gt;
Instagram: &lt;a href="https://www.instagram.com/piyush_kesarwani22/"&gt;https://www.instagram.com/piyush_kesarwani22/&lt;/a&gt;&lt;br&gt;
LinkedIn: &lt;a href="https://www.linkedin.com/in/piyush-kesarwani-809a30219/"&gt;https://www.linkedin.com/in/piyush-kesarwani-809a30219/&lt;/a&gt;&lt;br&gt;
GitHub: &lt;a href="https://github.com/piyushkesarwani"&gt;https://github.com/piyushkesarwani&lt;/a&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>vscode</category>
      <category>programming</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Awesome Chrome extensions to maximize your productivity 10X</title>
      <dc:creator>💡Piyush Kesarwani</dc:creator>
      <pubDate>Fri, 03 Feb 2023 05:57:13 +0000</pubDate>
      <link>https://dev.to/hy_piyush/awesome-chrome-extensions-to-maximize-your-productivity-10x-2e32</link>
      <guid>https://dev.to/hy_piyush/awesome-chrome-extensions-to-maximize-your-productivity-10x-2e32</guid>
      <description>&lt;p&gt;Coding is about productivity. And the more productive you’re, the better you can be at your coding skills. In this article, I will be discussing some of the best chrome extensions that can increase your productivity up to 10 times. Let’s get started.&lt;/p&gt;

&lt;h2&gt;
  
  
  ChatGPT for Google
&lt;/h2&gt;

&lt;p&gt;It will display all ChatGPT responses alongside your google search results.  &lt;/p&gt;

&lt;p&gt;This is an open-source extension that shows the response from ChatGPT alongside Google, Bing, DuckDuckGo, and other search engines&lt;/p&gt;

&lt;p&gt;It has features like Markdown rendering, Code highlighting, Dark mode, Custom trigger mode, etc.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://chrome.google.com/webstore/detail/chatgpt-for-google/jgjaeacdkonaoafenlfkkkmbaopkbilf" rel="noopener noreferrer"&gt;https://chrome.google.com/webstore/detail/chatgpt-for-google/jgjaeacdkonaoafenlfkkkmbaopkbilf&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Summarize
&lt;/h1&gt;

&lt;p&gt;With this amazing chrome extension. you can get the summary or main ideas of any page content without even leaving the page. All in just one click. Whether you're reading news, articles, blogs, or research reports, Summarize have you covered.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://chrome.google.com/webstore/detail/summarize/lmhkmibdclhibdooglianggbnhcbcjeh" rel="noopener noreferrer"&gt;https://chrome.google.com/webstore/detail/summarize/lmhkmibdclhibdooglianggbnhcbcjeh&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Flonnect
&lt;/h1&gt;

&lt;p&gt;This extension allows you to screen record from your webcam or from your desktop. You can also Record your screen or camera along with your audio. This extension supports all types of screen recordings for free with unlimited usage. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://chrome.google.com/webstore/detail/screen-webcam-recorder-fl/lkeokcighogdliiajgbbdjibidaaeang" rel="noopener noreferrer"&gt;https://chrome.google.com/webstore/detail/screen-webcam-recorder-fl/lkeokcighogdliiajgbbdjibidaaeang&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  HackerTab
&lt;/h1&gt;

&lt;p&gt;This extension allows you to customize your default tab pages that include news, tools, and events from top sources such as GitHub Trendings, Hacker News, DevTo, Medium, and Product Hunt. No matter what type of developer you are, you'll find valuable and relevant information here.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://chrome.google.com/webstore/detail/hackertabdev-developer-ne/ocoipcahhaedjhnpoanfflhbdcpmalmp" rel="noopener noreferrer"&gt;https://chrome.google.com/webstore/detail/hackertabdev-developer-ne/ocoipcahhaedjhnpoanfflhbdcpmalmp&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  SuperDev
&lt;/h1&gt;

&lt;p&gt;If you are a developer or a designer, then you will love this amazing extension. This extension minimizes the development/designing time and provides various tools to debug the web without any hassle. It contains 18 tools for developers so you won't have to install a separate extension for each one.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://chrome.google.com/webstore/detail/superdev-design-and-dev-t/jlkikimlceonbmfjieipbonnglnlchhl" rel="noopener noreferrer"&gt;https://chrome.google.com/webstore/detail/superdev-design-and-dev-t/jlkikimlceonbmfjieipbonnglnlchhl&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  GitHub Writer
&lt;/h1&gt;

&lt;p&gt;This extension provides all the features available in the GitHub plain-text editor, including Markdown input. For features like tables, it offers a much easier experience in comparison to plain-text Markdown and allows users to be more productive. No more switching to the Preview tab to see what you write!&lt;/p&gt;

&lt;p&gt;link: &lt;a href="https://chrome.google.com/webstore/detail/github-writer/diilnnhpcdjhhkjcbdljaonhmhapadap" rel="noopener noreferrer"&gt;https://chrome.google.com/webstore/detail/github-writer/diilnnhpcdjhhkjcbdljaonhmhapadap&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Querio
&lt;/h1&gt;

&lt;p&gt;This extension intercepts and displays GraphQL and XHR requests in a nicer and more dev-friendly way than the built-in Network panel. Moreover, each request made on the page is beautifully formatted and highlighted. Dark and light themes are also available.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://chrome.google.com/webstore/detail/querio-graphql-and-xhr-re/ojealanebldmhejpndmaenfcdpengbac" rel="noopener noreferrer"&gt;https://chrome.google.com/webstore/detail/querio-graphql-and-xhr-re/ojealanebldmhejpndmaenfcdpengbac&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Little Star
&lt;/h1&gt;

&lt;p&gt;This handful Extension will help you to categorize your GitHub projects quickly and hassle-free by clicking the GitHub star button. Now, you can manage all your projects in the app, quickly find and locate them, and no longer have trouble finding projects.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://chrome.google.com/webstore/detail/little-star-github-stars/kmjfdonmflchjdlmeoecbmebfpnafpec" rel="noopener noreferrer"&gt;https://chrome.google.com/webstore/detail/little-star-github-stars/kmjfdonmflchjdlmeoecbmebfpnafpec&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  You
&lt;/h1&gt;

&lt;p&gt;Search less, find, and create more with generative AI apps supercharging your search and helping you write better, code better, and design better. Quickly access generative AI apps powered by OpenAI models (such as GPT-3).&lt;/p&gt;

&lt;p&gt;&lt;a href="https://chrome.google.com/webstore/detail/youcom-search-chat-and-cr/fhplnehgjpmohhldfnjhibanpbiedofi" rel="noopener noreferrer"&gt;https://chrome.google.com/webstore/detail/youcom-search-chat-and-cr/fhplnehgjpmohhldfnjhibanpbiedofi&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  OCR Editor
&lt;/h1&gt;

&lt;p&gt;This extension will you in extracting text from images and videos. It uses optical character recognition (OCR) technology to accurately convert images into text.&lt;/p&gt;

&lt;p&gt;link: &lt;a href="https://chrome.google.com/webstore/detail/ocr-editor-text-from-imag/ihnfmldlpdipgnliolhfffenpcmjgnif/related" rel="noopener noreferrer"&gt;https://chrome.google.com/webstore/detail/ocr-editor-text-from-imag/ihnfmldlpdipgnliolhfffenpcmjgnif/related&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;That’s a wrap. Thanks for reading.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://medium.com/@piyushkesarwani72" rel="noopener noreferrer"&gt;Follow me&lt;/a&gt; for weekly new tidbits on the domain of tech.&lt;/p&gt;

&lt;p&gt;Need a Top Rated UI/UX designer and Front-End Development Freelancer to chop away your development woes? Contact me on &lt;a href="https://www.upwork.com/freelancers/~01be2959fb1701e44a" rel="noopener noreferrer"&gt;Upwork &lt;/a&gt;and &lt;a href="https://www.freelancer.com/u/piyushkesarwani7" rel="noopener noreferrer"&gt;Freelancer&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Want to see what I am working on? Check out my &lt;a href="https://piyush-web-portfolio.netlify.app/" rel="noopener noreferrer"&gt;Personal Website&lt;/a&gt;, &lt;a href="https://twitter.com/Hy_piyush" rel="noopener noreferrer"&gt;Twitter&lt;/a&gt;, and &lt;a href="https://github.com/piyushkesarwani" rel="noopener noreferrer"&gt;GitHub&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Want to connect? Reach out to me on &lt;a href="https://www.linkedin.com/in/piyush-kesarwani-809a30219/" rel="noopener noreferrer"&gt;LinkedIn&lt;/a&gt;. Follow me on &lt;a href="https://www.instagram.com/piyush_kesarwani22/" rel="noopener noreferrer"&gt;Instagram&lt;/a&gt;. &lt;/p&gt;

</description>
      <category>discuss</category>
      <category>productivity</category>
      <category>career</category>
    </item>
    <item>
      <title>10 GitHub repositories you must know as a JavaScript developer</title>
      <dc:creator>💡Piyush Kesarwani</dc:creator>
      <pubDate>Wed, 01 Feb 2023 04:51:53 +0000</pubDate>
      <link>https://dev.to/hy_piyush/10-github-repositories-you-must-know-as-a-javascript-developer-f5d</link>
      <guid>https://dev.to/hy_piyush/10-github-repositories-you-must-know-as-a-javascript-developer-f5d</guid>
      <description>&lt;p&gt;If you want to improve your programming skills, then learning continuously could be the safest and evergreen option. Learning new things continuously makes you a better developer and it also helps you in developing new skills as a coder. Today, in this article, I’ll be telling you how you can become a better JavaScript developer by learning all of its concepts from cool GitHub repositories. &lt;/p&gt;

&lt;p&gt;Here are the 10 GitHub repositories that every JavaScript developer must know:&lt;/p&gt;

&lt;h2&gt;
  
  
  Node Best Practices
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Node.js for web development&lt;/strong&gt; is a revolutionary technology that offers unique features. Developers regard it as one of the most efficient cross-platform JavaScript environments that can help you build robust and effective REST APIs, mobile applications, and web applications.&lt;/p&gt;

&lt;p&gt;In this GitHub repo, you’ll find the Node.js best practices list to learn.&lt;/p&gt;

&lt;p&gt;link &lt;strong&gt;=&amp;gt;&lt;/strong&gt; &lt;a href="https://github.com/goldbergyoni/nodebestpractices" rel="noopener noreferrer"&gt;https://github.com/goldbergyoni/nodebestpractices&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  JavaScript Algorithms
&lt;/h2&gt;

&lt;p&gt;Data Structure and Algorithms are very important concepts to learn if you want to become a successful developer and software engineer. &lt;/p&gt;

&lt;p&gt;So, here is the GitHub repo in Algorithms and data structures which is implemented in JavaScript with explanations and links to further readings. &lt;/p&gt;

&lt;p&gt;link &lt;strong&gt;=&amp;gt;&lt;/strong&gt; &lt;a href="https://github.com/trekhleb/javascript-algorithms" rel="noopener noreferrer"&gt;https://github.com/trekhleb/javascript-algorithms&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  33 JS Concepts
&lt;/h2&gt;

&lt;p&gt;This GitHub repository contains 33 JavaScript concepts every developer should know.&lt;/p&gt;

&lt;p&gt;link &lt;strong&gt;=&amp;gt;&lt;/strong&gt; &lt;a href="https://github.com/leonardomso/33-js-concepts" rel="noopener noreferrer"&gt;https://github.com/leonardomso/33-js-concepts&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  You Don't Know JS (Yet)
&lt;/h2&gt;

&lt;p&gt;This GitHub repository is a book series on JavaScript. &lt;a href="https://github.com/YDKJS" rel="noopener noreferrer"&gt;@YDKJS&lt;/a&gt; on Twitter.&lt;/p&gt;

&lt;p&gt;link &lt;strong&gt;=&amp;gt;&lt;/strong&gt; &lt;a href="https://github.com/getify/You-Dont-Know-JS" rel="noopener noreferrer"&gt;https://github.com/getify/You-Dont-Know-JS&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Clean Code JavaScript
&lt;/h2&gt;

&lt;p&gt;This GitHub repository will teach you the Clean Code concepts adapted for JavaScript.&lt;/p&gt;

&lt;p&gt;link*&lt;em&gt;=&amp;gt;&lt;/em&gt;* &lt;a href="https://github.com/ryanmcdermott/clean-code-javascript" rel="noopener noreferrer"&gt;https://github.com/ryanmcdermott/clean-code-javascript&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Awesome NodeJS
&lt;/h2&gt;

&lt;p&gt;NodeJs is one of the best JavaScript frameworks if you want to become a successful JavaScript developer.&lt;/p&gt;

&lt;p&gt;This GitHub repository contains Delightful Node.js packages and resources that will make you a successful JavaScript developer in no time. &lt;/p&gt;

&lt;p&gt;link &lt;strong&gt;️=&amp;gt;&lt;/strong&gt; &lt;a href="https://github.com/sindresorhus/awesome-nodejs" rel="noopener noreferrer"&gt;https://github.com/sindresorhus/awesome-nodejs&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  30 Days Of JavaScript
&lt;/h2&gt;

&lt;p&gt;30 days of JavaScript programming challenge is a step-by-step guide to learning JavaScript programming language in 30 days. This challenge may take more than 100 days, please just follow your own pace.&lt;/p&gt;

&lt;p&gt;link &lt;strong&gt;=&amp;gt;&lt;/strong&gt; &lt;a href="https://github.com/Asabeneh/30-Days-Of-JavaScript" rel="noopener noreferrer"&gt;https://github.com/Asabeneh/30-Days-Of-JavaScript&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Modern JS Cheatsheet
&lt;/h2&gt;

&lt;p&gt;This GitHub repository contains Cheatsheet for the JavaScript knowledge you will frequently encounter in modern projects. Save it and learn to grow.&lt;/p&gt;

&lt;p&gt;link =&amp;gt; &lt;a href="https://github.com/mbeaudru/modern-js-cheatsheet" rel="noopener noreferrer"&gt;https://github.com/mbeaudru/modern-js-cheatsheet&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  JavaScript Testing Best Practices
&lt;/h2&gt;

&lt;p&gt;This GitHub repository is all about the Comprehensive and exhaustive JavaScript &amp;amp; Node.js testing best practices to learn.&lt;/p&gt;

&lt;p&gt;link &lt;strong&gt;=&amp;gt;&lt;/strong&gt; &lt;a href="https://github.com/goldbergyoni/javascript-testing-best-practices" rel="noopener noreferrer"&gt;https://github.com/goldbergyoni/javascript-testing-best-practices&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  ES6 Cheatsheet
&lt;/h2&gt;

&lt;p&gt;Here's a repository containing tips, tricks, best practices, and code snippets in JavaScript.&lt;/p&gt;

&lt;p&gt;Feel free to bookmark it and refer to it when you need it.&lt;/p&gt;

&lt;p&gt;link &lt;strong&gt;=&amp;gt;&lt;/strong&gt; &lt;a href="https://github.com/DrkSephy/es6-cheatsheet" rel="noopener noreferrer"&gt;https://github.com/DrkSephy/es6-cheatsheet&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;That’s a wrap. Thanks for reading.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://medium.com/@piyushkesarwani72" rel="noopener noreferrer"&gt;Follow me&lt;/a&gt; for weekly new tidbits on the domain of tech.&lt;/p&gt;

&lt;p&gt;Need a Top Rated UI/UX designer and Front-End Development Freelancer to chop away your development woes? Contact me on &lt;a href="https://www.upwork.com/freelancers/~01be2959fb1701e44a" rel="noopener noreferrer"&gt;Upwork &lt;/a&gt;and &lt;a href="https://www.freelancer.com/u/piyushkesarwani7" rel="noopener noreferrer"&gt;Freelancer&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Want to see what I am working on? Check out my &lt;a href="http://piyush-web-portfolio.netlify.app" rel="noopener noreferrer"&gt;Personal Website&lt;/a&gt;, &lt;a href="https://twitter.com/Hy_piyush" rel="noopener noreferrer"&gt;Twitter&lt;/a&gt;, and &lt;a href="https://github.com/piyushkesarwani" rel="noopener noreferrer"&gt;GitHub&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Want to connect? Reach out to me on &lt;a href="https://www.linkedin.com/in/piyush-kesarwani-809a30219/" rel="noopener noreferrer"&gt;LinkedIn&lt;/a&gt;. Follow me on &lt;a href="https://www.instagram.com/piyush_kesarwani22/" rel="noopener noreferrer"&gt;Instagram&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>crypto</category>
      <category>blockchain</category>
      <category>discuss</category>
    </item>
    <item>
      <title>Async JavaScript: Simply Explained</title>
      <dc:creator>💡Piyush Kesarwani</dc:creator>
      <pubDate>Sat, 28 Jan 2023 06:14:21 +0000</pubDate>
      <link>https://dev.to/hy_piyush/async-javascript-simply-explained-4mpi</link>
      <guid>https://dev.to/hy_piyush/async-javascript-simply-explained-4mpi</guid>
      <description>&lt;p&gt;JavaScript is a single-threaded programming language, which means that it can only process one task at a time. However, with the introduction of Asynchronous JavaScript, it is now possible for the language to handle multiple tasks at the same time, without blocking the execution of the program. In this article, we will delve into the intricacies of Asynchronous JavaScript and how it can be used to improve the performance of your web applications.&lt;/p&gt;

&lt;p&gt;JavaScript is an event-driven language, which means that the execution of the program is based on events such as user input, network requests, and timers. When an event occurs, the JavaScript engine adds the corresponding task to the event loop and waits for the task to be completed before moving on to the next task. However, this can lead to delays and freezing of the UI if the task takes too long to complete.&lt;/p&gt;

&lt;p&gt;To overcome this limitation, JavaScript introduced the concept of Asynchronous programming. Asynchronous programming allows the program to continue executing other tasks while waiting for a long-running task to complete. This is achieved by using callback functions and promises.&lt;/p&gt;

&lt;p&gt;A callback function is a function that is passed as an argument to another function, and is executed when the task is completed. For example, when making an HTTP request using the XMLHttpRequest object, we can pass a callback function as an argument to the onreadystatechange event. The callback function will be executed when the HTTP request is completed and the response is available.&lt;/p&gt;

&lt;p&gt;Promises are another way to handle Asynchronous tasks in JavaScript. A promise represents the eventual completion of a task and can be in one of three states: fulfilled, rejected, or pending. A promise can be returned by a function and can be used to attach callbacks to handle the completion of the task.&lt;/p&gt;

&lt;p&gt;In addition to callbacks and promises, JavaScript also introduced the async and await keywords in ECMAScript 2017. The async keyword is used to define an asynchronous function, and the await keyword is used to pause the execution of the program until a promise is fulfilled. This makes the code look synchronous, even though it is executing asynchronously in the background.&lt;/p&gt;

&lt;p&gt;In conclusion, Asynchronous JavaScript is a powerful tool that allows web developers to improve the performance and responsiveness of their applications. By using callback functions, promises, and the async and await keywords, developers can write code that can handle multiple tasks at the same time, without blocking the execution of the program. With the increasing demand for fast and responsive web applications, understanding Asynchronous JavaScript is essential for any modern web developer.&lt;/p&gt;




&lt;p&gt;That’s a wrap. Thanks for reading.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://dev.to/hy_piyush"&gt;Follow me&lt;/a&gt; for weekly new tidbits on the domain of tech.&lt;/p&gt;

&lt;p&gt;Want to see what I am working on? Check out my &lt;a href="http://piyush-web-portfolio.netlify.app"&gt;Personal Website&lt;/a&gt;, &lt;a href="https://twitter.com/Hy_piyush"&gt;Twitter&lt;/a&gt;, and &lt;a href="https://github.com/piyushkesarwani"&gt;GitHub&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Want to connect? Reach out to me on &lt;a href="https://www.linkedin.com/in/piyush-kesarwani-809a30219/"&gt;LinkedIn&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>beginners</category>
      <category>programming</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>5 Lessons I wish someone have told me before I started coding</title>
      <dc:creator>💡Piyush Kesarwani</dc:creator>
      <pubDate>Tue, 24 Jan 2023 05:11:21 +0000</pubDate>
      <link>https://dev.to/hy_piyush/5-lessons-i-wish-someone-have-told-me-before-i-started-coding-mom</link>
      <guid>https://dev.to/hy_piyush/5-lessons-i-wish-someone-have-told-me-before-i-started-coding-mom</guid>
      <description>&lt;p&gt;Coding is the most interesting thing to me. It’s more like a passion than a hobby for me. So, I continue to make interesting projects and I devote 1–2 hours consistently to coding and learning new things from YouTube. I am a self-taught learner (a full-stack web developer) and I have learned everything from YouTube alone. So I rely a lot on YouTube, Google, StackOverflow, and ChatGPT. There is no mentor for me. nor any instructor, so whenever I make projects I make a lot of mistakes, and I make many errors as well. But every time I learn from my mistakes and errors of mine. It helps me to become a better programmer.&lt;/p&gt;

&lt;p&gt;It’s been 1.5 years since I learned web development and I am still learning more and more new/interesting topics about DevOps, Kubernetes, and System Design. The journey was pretty tough for me.&lt;/p&gt;

&lt;p&gt;I learn so many lessons from my coding experience, but I wish someone could have told me all this earlier when I just started. So, here are some of the 5 best lessons that I want you to learn before starting coding so that you don’t have to learn this a hard way. Let’s get started.&lt;/p&gt;

&lt;h2&gt;
  
  
  Lifelong Learning process
&lt;/h2&gt;

&lt;p&gt;Coding is a lifelong learning process. Before you start coding, it’s important to understand that you will never know everything about it. There will always be new languages, frameworks, and technologies to learn. Embrace the fact that you will constantly be learning and growing as a developer.&lt;/p&gt;

&lt;h2&gt;
  
  
  Practice, Practice, and Practice is the only way
&lt;/h2&gt;

&lt;p&gt;Practice makes perfect. Coding is a skill, and like any other skill, it takes practice to master. Set aside some time each day to code, even if it’s just for a few minutes. The more you practice, the better you will become.&lt;/p&gt;

&lt;h2&gt;
  
  
  Learn to debug your code
&lt;/h2&gt;

&lt;p&gt;Debugging is a crucial part of the process. One of the most frustrating parts of coding can be trying to figure out why your code isn’t working. But debugging is an essential part of the process, and it’s important to learn how to do it effectively.&lt;/p&gt;

&lt;h2&gt;
  
  
  Don’t be afraid to ask
&lt;/h2&gt;

&lt;p&gt;Don’t be afraid to ask for help. Coding can be a solitary activity, but you don’t have to go through it alone. There are countless online communities and forums where you can ask for help, and many experienced developers are more than happy to offer guidance.&lt;/p&gt;

&lt;h2&gt;
  
  
  Fun is also Important
&lt;/h2&gt;

&lt;p&gt;Have fun! Coding can be challenging, but it can also be incredibly rewarding. Don’t take it too seriously, and don’t be afraid to experiment and try new things. Remember that coding is a creative process, and the most important thing is to enjoy the journey.&lt;/p&gt;




&lt;p&gt;That’s a wrap. Thanks for reading.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://medium.com/@piyushkesarwani72"&gt;Follow me&lt;/a&gt; for weekly new tidbits on the domain of tech.&lt;/p&gt;

&lt;p&gt;Want to see what I am working on? Check out my &lt;a href="https://piyush-webdev.netlify.app/"&gt;Personal Website&lt;/a&gt;, &lt;a href="https://twitter.com/Hy_piyush"&gt;Twitter&lt;/a&gt;, and &lt;a href="https://github.com/piyushkesarwani"&gt;GitHub&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Want to connect? Reach out to me on &lt;a href="https://www.linkedin.com/in/piyush-kesarwani-809a30219/"&gt;LinkedIn&lt;/a&gt;. Follow me on &lt;a href="https://www.instagram.com/piyush_kesarwani22/"&gt;Instagram&lt;/a&gt;. &lt;/p&gt;

</description>
      <category>javascript</category>
      <category>beginners</category>
      <category>programming</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>10 Important JavaScript Object Methods everyone must know in 2023</title>
      <dc:creator>💡Piyush Kesarwani</dc:creator>
      <pubDate>Mon, 23 Jan 2023 05:35:33 +0000</pubDate>
      <link>https://dev.to/hy_piyush/10-important-javascript-object-methods-everyone-must-know-in-2023-398k</link>
      <guid>https://dev.to/hy_piyush/10-important-javascript-object-methods-everyone-must-know-in-2023-398k</guid>
      <description>&lt;p&gt;JavaScript object methods are actions that can be performed on JavaScript objects. They are functions that are associated with an object and can be invoked using the dot notation or bracket notation on that object. In JavaScript, objects can have properties and methods. Properties are data variables and methods are functions that can be executed by invoking them.&lt;/p&gt;

&lt;p&gt;Object methods are used to perform certain actions or operations on an object and/or its properties.&lt;/p&gt;

&lt;p&gt;In JavaScript, objects have certain built-in methods that can be used to manipulate and interact with the object’s properties and values. Some of the most commonly used object methods include:&lt;/p&gt;

&lt;h3&gt;
  
  
  Object Keys
&lt;/h3&gt;

&lt;p&gt;Object.keys(obj): Returns an array of the object's own enumerable properties. The Object.keys() the method returns an array of a given object's own enumerable property names, in the same order as we get with a normal loop. This array only includes properties that are enumerable. Enumerable properties are those properties whose internal enumerable flag is set to true.&lt;/p&gt;

&lt;p&gt;For example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;let obj = { name: "John", age: 30, city: "New York" };
let keys = Object.keys(obj);
console.log(keys); // Output: [ "name", "age", "city" ]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Object Values
&lt;/h2&gt;

&lt;p&gt;Object.values(obj): Returns an array of the object's own enumerable property values. The Object.values() the method returns an array of a given object's own enumerable property values, in the same order as that provided by a for...in the loop. This array includes only the values of enumerable properties.&lt;/p&gt;

&lt;p&gt;For example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;let obj = { name: "John", age: 30, city: "New York" };
let values = Object.values(obj);
console.log(values); // Output: [ "John", 30, "New York" ]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Object Entries
&lt;/h2&gt;

&lt;p&gt;Object.entries(obj): Returns an array of the object's own enumerable property [key, value] pairs. The Object.entries() the method returns an array of a given object's own enumerable property [key, value] pairs, in the same order as that provided by a for...in loop. This array includes only the properties that are enumerable.&lt;/p&gt;

&lt;p&gt;For example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;let obj = { name: "John", age: 30, city: "New York" };
let entries = Object.entries(obj);
console.log(entries); // Output: [ ["name", "John"], ["age", 30], ["city", "New York"] ]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Object assign
&lt;/h2&gt;

&lt;p&gt;Object.assign(obj1, obj2, ...): Copies the values of all enumerable own properties from one or more source objects to a target object and returns the target object. This method is used to copy properties from one object to another, it makes a complete copy of all properties, including non-enumerable properties.&lt;/p&gt;

&lt;p&gt;For example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;let obj1 = { name: "John" };
let obj2 = { age: 30 };
let obj3 = Object.assign(obj1, obj2);
console.log(obj3); // Output: { name: "John", age: 30 }
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Object defineProperty
&lt;/h2&gt;

&lt;p&gt;Object.defineProperty(obj, prop, descriptor): Defines a new property directly on an object, or modifies an existing property on an object, and returns the object. The defineProperty() the method allows you to define a new property on an object, or modify an existing property, and provides a way to set the property's attributes.&lt;/p&gt;

&lt;p&gt;For example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;let obj = {};
Object.defineProperty(obj, "name", {
  value: "John",
  writable: true,
  enumerable: true,
  configurable: true
});
console.log(obj.name); // Output: "John"

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Object defineProperties
&lt;/h2&gt;

&lt;p&gt;Object.defineProperties(obj, props): Defines new or modifies existing properties directly on an object and returns the object. The defineProperties() the method is similar to the defineProperty() method, but it allows you to define multiple properties at once, using an object that contains the property descriptors.&lt;/p&gt;

&lt;p&gt;For example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;let obj = {};
Object.defineProperties(obj, {
  name: {
    value: "John",
    writable: true,
    enumerable: true,
    configurable: true
  },
  age: {
    value: 30,
    writable: true,
    enumerable: true,
    configurable: true
  }
});
console.log(obj.name); // Output: "John"
console.log(obj.age); // Output: 30
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Object getOwnPropertyNames
&lt;/h2&gt;

&lt;p&gt;Object.getOwnPropertyDescriptor(obj, prop): Returns a property descriptor for the own property of an object. The getOwnPropertyDescriptor() method returns a property descriptor for an own property (that is, one directly present on an object, not present by virtue of being along an object's prototype chain) of a given object.&lt;/p&gt;

&lt;p&gt;For example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;let obj = { name: "John" };
let descriptor = Object.getOwnPropertyDescriptor(obj, "name");
console.log(descriptor); 
// Output: { 
//    value: "John",
//    writable: true,
//    enumerable: true,
//    configurable: true 
// }
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Object getOwnPropertyNames
&lt;/h2&gt;

&lt;p&gt;Object.getOwnPropertyNames(obj): Returns an array of all own properties' names (enumerable or non-enumerable) of an object. The getOwnPropertyNames() method returns an array of all properties (enumerable or non-enumerable) found directly on an object.&lt;/p&gt;

&lt;p&gt;For example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;let obj = { name: "John", age: 30 };
let properties = Object.getOwnPropertyNames(obj);
console.log(properties); // Output: [ "name", "age" ]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Object getPrototypeOf
&lt;/h2&gt;

&lt;p&gt;Object.getPrototypeOf(obj): Returns the prototype (i.e. the internal [[Prototype]]) of the specified object. The getPrototypeOf() method returns the prototype (i.e. the value of the internal [[Prototype]] property) of the specified object.&lt;/p&gt;

&lt;p&gt;For example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;let obj = { name: "John" };
let prototype = Object.getPrototypeOf(obj);
console.log(prototype); // Output: {}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Object Create
&lt;/h2&gt;

&lt;p&gt;Object.create(proto[, propertiesObject]): creates an object with the given prototype or with null as a prototype if none is given, and an optional properties object that describes its own properties. The create() method creates a new object with the specified prototype object and properties. If the prototype is not an object or null, it throws a TypeError.&lt;/p&gt;

&lt;p&gt;For example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;let prototype = { sayHi: function() { console.log("Hi") } };
let obj = Object.create(prototype);
obj.sayHi(); // Output: "Hi"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;These methods allow you to interact with objects in JavaScript in a more powerful way, they allow you to create, modify, and retrieve properties and values of objects, and to manipulate the prototype chain of an object.&lt;/p&gt;




&lt;p&gt;That’s a wrap. Thanks for reading.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://medium.com/@piyushkesarwani72" rel="noopener noreferrer"&gt;Follow me&lt;/a&gt; for weekly new tidbits on the domain of tech.&lt;/p&gt;

&lt;p&gt;Need a Top Rated UI/UX designer and Front-End Development Freelancer to chop away your development woes? Contact me on &lt;a href="https://www.upwork.com/freelancers/~01be2959fb1701e44a" rel="noopener noreferrer"&gt;Upwork &lt;/a&gt;and &lt;a href="https://www.freelancer.com/u/piyushkesarwani7" rel="noopener noreferrer"&gt;Freelancer&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Want to see what I am working on? Check out my Personal Website, &lt;a href="https://twitter.com/Hy_piyush" rel="noopener noreferrer"&gt;Twitter&lt;/a&gt;, and &lt;a href="https://github.com/piyushkesarwani" rel="noopener noreferrer"&gt;GitHub&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Want to connect? Reach out to me on &lt;a href="https://www.linkedin.com/in/piyush-kesarwani-809a30219/" rel="noopener noreferrer"&gt;LinkedIn&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>productivity</category>
      <category>discuss</category>
    </item>
    <item>
      <title>I bet you don’t know about these 11 functional HTML elements</title>
      <dc:creator>💡Piyush Kesarwani</dc:creator>
      <pubDate>Sun, 22 Jan 2023 05:35:59 +0000</pubDate>
      <link>https://dev.to/hy_piyush/i-bet-you-dont-know-about-these-11-functional-html-elements-1gpe</link>
      <guid>https://dev.to/hy_piyush/i-bet-you-dont-know-about-these-11-functional-html-elements-1gpe</guid>
      <description>&lt;p&gt;HTML stands for &lt;strong&gt;Hypertext Markup Language&lt;/strong&gt;. It is the standard markup language used to create web pages and other types of documents that can be displayed in web browsers. HTML is used to structure the content of a web page, including text, images, and other types of media, and to create the layout and design of the page using elements such as headings, paragraphs, lists, and tables.&lt;/p&gt;

&lt;p&gt;HTML is a markup language, which means that it uses a set of tags and attributes to define the structure and layout of the content. These tags and attributes are used to create elements such as headings, paragraphs, links, images, and other types of content.&lt;/p&gt;

&lt;p&gt;HTML is constantly evolving, and it is currently on version HTML5 which has introduced some new tags and attributes that are more semantically meaningful for modern web development such as     and  to mention a few.&lt;/p&gt;

&lt;p&gt;HTML is the backbone of any website and it is used in conjunction with other technologies such as CSS and JavaScript to create dynamic and interactive websites. In this article, I’ll be discussing HTML elements.&lt;/p&gt;

&lt;p&gt;So, here are some of the most practical HTML elements you should know about:&lt;/p&gt;

&lt;h2&gt;
  
  
  Details Element
&lt;/h2&gt;

&lt;p&gt;The  element is used to create a collapsible section of content, which can be expanded and collapsed by the user. This element is not widely used, but it can be useful for creating accordions or other types of content that can be hidden and revealed as needed.&lt;/p&gt;

&lt;h2&gt;
  
  
  Mark Element
&lt;/h2&gt;

&lt;p&gt;The  element is used to highlight text within a document. This element is useful for highlighting keywords or phrases within a block of text, such as in a search result or in a document with a lot of text.&lt;/p&gt;

&lt;h2&gt;
  
  
  Output Element
&lt;/h2&gt;

&lt;p&gt;The  element is used to display the result of a calculation or other output from a script. This element is useful for creating forms that include calculations or other dynamic content.&lt;/p&gt;

&lt;h2&gt;
  
  
  Time Element
&lt;/h2&gt;

&lt;p&gt;The &lt;time&gt; element is used to represent a specific date or time. This element can be used to mark up dates and times in a way that is machine-readable, which can be useful for indexing and searching content.&lt;/time&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Figure Element
&lt;/h2&gt;

&lt;p&gt;The  and  elements are used to create captions for images and other types of media. These elements can be used to create more accessible and semantic content by providing context for images and other media.&lt;/p&gt;

&lt;h2&gt;
  
  
  Progress Element
&lt;/h2&gt;

&lt;p&gt;The  element is used to create a progress bar, indicating the completion status of a task. This element is useful for creating interactive interfaces, such as file uploads, form submissions, and other types of tasks that have a progress indicator.&lt;/p&gt;

&lt;h2&gt;
  
  
  DataList element
&lt;/h2&gt;

&lt;p&gt;The  element is used to create a list of predefined options for an input element. This element can be used to provide a list of suggestions for the user, such as a list of countries or a list of product names. This can be useful for creating forms with input fields that have a large number of possible options.&lt;/p&gt;

&lt;h2&gt;
  
  
  Meter Element
&lt;/h2&gt;

&lt;p&gt;The  element is used to create a gauge or meter, which can be used to display a value within a specific range. This element is useful for displaying data such as disk usage, battery level, or other types of data that can be represented as a value within a range.&lt;/p&gt;

&lt;h2&gt;
  
  
  Ruby Element
&lt;/h2&gt;

&lt;p&gt;The  element is used to create ruby annotations, which are small text annotations that are typically used in East Asian languages to provide pronunciation or translation information. This element is not widely used, but it can be useful for creating content in languages that use ruby annotations.&lt;/p&gt;

&lt;h2&gt;
  
  
  Template Element
&lt;/h2&gt;

&lt;p&gt;The  element is used to define a template of HTML that can be reused later in the document. This can be useful for creating reusable components in web applications, such as forms, modals, or other types of content that can be reused across the application.&lt;/p&gt;

&lt;h2&gt;
  
  
  Picture Element
&lt;/h2&gt;

&lt;p&gt;The  element is used to create responsive images that can be displayed differently based on screen size, viewport, and other factors. This element allows you to specify different source images for different screen sizes and resolutions, and it’s a powerful way to optimize images for the web.&lt;/p&gt;




&lt;p&gt;That’s a wrap. Thanks for reading.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://medium.com/@piyushkesarwani72"&gt;Follow me&lt;/a&gt; for weekly new tidbits on the domain of tech.&lt;/p&gt;

&lt;p&gt;Want to see what I am working on? Check out my &lt;a href="https://piyush-webdev.netlify.app/"&gt;Personal Website&lt;/a&gt;, &lt;a href="https://twitter.com/Hy_piyush"&gt;Twitter&lt;/a&gt;, and &lt;a href="https://github.com/piyushkesarwani"&gt;GitHub&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Want to connect? Reach out to me on &lt;a href="https://www.linkedin.com/in/piyush-kesarwani-809a30219/"&gt;LinkedIn&lt;/a&gt;. Follow me on &lt;a href="https://www.instagram.com/piyush_kesarwani22/"&gt;Instagram&lt;/a&gt;&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>html</category>
      <category>webdev</category>
      <category>programming</category>
    </item>
    <item>
      <title>8 mistakes you must never make as a programmer</title>
      <dc:creator>💡Piyush Kesarwani</dc:creator>
      <pubDate>Tue, 17 Jan 2023 05:45:29 +0000</pubDate>
      <link>https://dev.to/hy_piyush/8-mistakes-you-must-never-make-as-a-programmer-5418</link>
      <guid>https://dev.to/hy_piyush/8-mistakes-you-must-never-make-as-a-programmer-5418</guid>
      <description>&lt;p&gt;As a programmer, it's essential to be aware of common mistakes that can lead to poor code quality, decreased productivity, and missed deadlines. In this article, we'll discuss eight mistakes that you must never do as a programmer to ensure that you're writing high-quality code and working efficiently.&lt;/p&gt;

&lt;h2&gt;
  
  
  Not commenting on your code
&lt;/h2&gt;

&lt;p&gt;One of the most common mistakes that programmers make is failing to comment on their code. Comments are a vital tool for making your code readable and understandable for others, and for yourself in the future. Without comments, it's often difficult to understand the purpose and function of a particular piece of code, leading to confusion and wasted time.&lt;/p&gt;

&lt;h2&gt;
  
  
  Not testing your code
&lt;/h2&gt;

&lt;p&gt;Another mistake that programmers make is failing to test their code. Testing is crucial for identifying bugs and ensuring that your code is working as expected. Without testing, you're leaving your code open to bugs and errors, which can lead to wasted time and missed deadlines.&lt;/p&gt;

&lt;h2&gt;
  
  
  Not using version control
&lt;/h2&gt;

&lt;p&gt;Version control is an essential tool for managing and tracking changes to your code. Without version control, it's difficult to keep track of changes, collaborate with others, and roll back to a previous version if something goes wrong. Not using version control can lead to wasted time, missed deadlines, and the loss of important work.&lt;/p&gt;

&lt;h2&gt;
  
  
  Not paying attention to performance
&lt;/h2&gt;

&lt;p&gt;As a programmer, it's essential to pay attention to performance. Poorly optimized code can lead to slow performance, increased memory usage, and wasted resources. Not paying attention to performance can lead to wasted time and missed deadlines.&lt;/p&gt;

&lt;h2&gt;
  
  
  Not using proper data structures
&lt;/h2&gt;

&lt;p&gt;Choosing the right data structure for your code is crucial for performance and readability. Not using the proper data structure can lead to poor performance and increased complexity.&lt;/p&gt;

&lt;h2&gt;
  
  
  Not keeping up to date with new technologies
&lt;/h2&gt;

&lt;p&gt;As a programmer, it's essential to keep up to date with new technologies and programming languages. Failing to do so can lead to a lack of knowledge and skills, which can make it difficult to write efficient and maintainable code.&lt;/p&gt;

&lt;h2&gt;
  
  
  Not following best practices
&lt;/h2&gt;

&lt;p&gt;As a programmer, it's essential to follow best practices for writing code. Failing to do so can lead to poor code quality, increased complexity, and wasted time.&lt;/p&gt;

&lt;h2&gt;
  
  
  Not asking for help
&lt;/h2&gt;

&lt;p&gt;As a programmer, it's essential to know when to ask for help. Failing to ask for help when needed can lead to wasted time, missed deadlines, and poor code quality.&lt;/p&gt;

&lt;p&gt;In conclusion, it's important to be aware of these common mistakes to ensure that you're writing high-quality code and working efficiently. By avoiding these mistakes, you'll be able to write better code, work more efficiently, and meet deadlines more easily. Remember, it's always better to avoid mistakes than to fix them later.&lt;/p&gt;




&lt;p&gt;That's a wrap. Thanks for reading.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://medium.com/@piyushkesarwani72"&gt;Follow me&lt;/a&gt; for weekly new tidbits on the domain of tech. &lt;/p&gt;

&lt;p&gt;Need a Top Rated UI/UX designer and Front-End Development Freelancer to chop away your development woes? Contact me on &lt;a href="https://www.upwork.com/freelancers/~01be2959fb1701e44a"&gt;Upwork &lt;/a&gt;and &lt;a href="https://www.freelancer.com/u/piyushkesarwani7"&gt;Freelancer &lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Want to see what I am working on? Check out my &lt;a href="https://piyush-webdev.netlify.app/"&gt;Personal Website&lt;/a&gt;, &lt;a href="https://twitter.com/Hy_piyush"&gt;Twitter&lt;/a&gt;, and &lt;a href="https://github.com/piyushkesarwani"&gt;GitHub&lt;/a&gt;. &lt;/p&gt;

&lt;p&gt;Want to connect? Reach out to me on &lt;a href="https://www.linkedin.com/in/piyush-kesarwani-809a30219/"&gt;LinkedIn&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Follow me on &lt;a href="https://www.instagram.com/piyush_kesarwani22/"&gt;Instagram&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>programming</category>
      <category>beginners</category>
      <category>career</category>
    </item>
    <item>
      <title>Learn Everything about React Hooks in 10 Mins</title>
      <dc:creator>💡Piyush Kesarwani</dc:creator>
      <pubDate>Fri, 13 Jan 2023 05:47:46 +0000</pubDate>
      <link>https://dev.to/hy_piyush/learn-everything-about-react-hooks-in-10-mins-2fhb</link>
      <guid>https://dev.to/hy_piyush/learn-everything-about-react-hooks-in-10-mins-2fhb</guid>
      <description>&lt;p&gt;Today we'll be going to learn everything about React Hooks and all of its types. This is going to be a fun ride. So, let's keep going.&lt;/p&gt;

&lt;p&gt;React Hooks are functions that allow you to use state and other React features in functional components, rather than in class components. They were introduced in React v16.8 in 2019 and since then, it is a recommended way to write React component. They allow you to write more functional and composable code, and make it easier to reuse logic across your application.&lt;/p&gt;

&lt;p&gt;React Hooks provide a way to access React features such as state, lifecycle methods, and context, in a functional way, without the need for a class component. They help to make your code more readable, maintainable, and testable. &lt;/p&gt;

&lt;p&gt;React provides a set of built-in Hooks that you can use in your functional components to access React features such as state, lifecycle methods, and context. Here's a list of the 15 built-in Hooks in React:&lt;/p&gt;

&lt;h2&gt;
  
  
  useState
&lt;/h2&gt;

&lt;p&gt;Allows a functional component to use state, similar to how a class component would use this.state.&lt;/p&gt;

&lt;h2&gt;
  
  
  useEffect
&lt;/h2&gt;

&lt;p&gt;Allows a functional component to use lifecycle methods, such as componentDidMount and componentDidUpdate, in a way that is similar to how they would be used in a class component.&lt;/p&gt;

&lt;h2&gt;
  
  
  useContext
&lt;/h2&gt;

&lt;p&gt;Allows a functional component to access context, which is a way to pass data through the component tree without having to pass props down manually at every level.&lt;/p&gt;

&lt;h2&gt;
  
  
  useReducer
&lt;/h2&gt;

&lt;p&gt;Allows a functional component to use a reducer, which is a way to handle complex state changes and updates.&lt;/p&gt;

&lt;h2&gt;
  
  
  useCallback
&lt;/h2&gt;

&lt;p&gt;A hook that returns a memoized callback. It takes two arguments, the callback function, and an array of dependencies.&lt;/p&gt;

&lt;h2&gt;
  
  
  useMemo
&lt;/h2&gt;

&lt;p&gt;A hook that returns a memoized value. It takes two arguments, a function that returns the value, and an array of dependencies.&lt;/p&gt;

&lt;h2&gt;
  
  
  useRef
&lt;/h2&gt;

&lt;p&gt;A hook that returns a ref object which holds a mutable value.&lt;/p&gt;

&lt;h2&gt;
  
  
  useImperativeHandle
&lt;/h2&gt;

&lt;p&gt;A hook that allows you to customize the instance value that is exposed to parent components when using forwardRef.&lt;/p&gt;

&lt;h2&gt;
  
  
  useLayoutEffect
&lt;/h2&gt;

&lt;p&gt;Same as useEffect but it runs synchronously after all DOM mutations.&lt;/p&gt;

&lt;h2&gt;
  
  
  useDebugValue
&lt;/h2&gt;

&lt;p&gt;Allows you to add a label to custom hooks for more meaningful debugging.&lt;/p&gt;

&lt;h2&gt;
  
  
  useErrorBoundary
&lt;/h2&gt;

&lt;p&gt;Allows you to create an error boundary component, to handle errors that occur during the lifecycle of a component.&lt;/p&gt;

&lt;h2&gt;
  
  
  useMutationEffect
&lt;/h2&gt;

&lt;p&gt;Same as useEffect but it runs synchronously after all DOM mutations.&lt;/p&gt;

&lt;h2&gt;
  
  
  useResponder
&lt;/h2&gt;

&lt;p&gt;Allows you to build gesture-based interactions.&lt;/p&gt;

&lt;h2&gt;
  
  
  useTransition
&lt;/h2&gt;

&lt;p&gt;Allows you to schedule animations and manage the lifecycle of components that are entering, exiting, or updating.&lt;/p&gt;

&lt;h2&gt;
  
  
  useDeferredValue
&lt;/h2&gt;

&lt;p&gt;A hook that allows you to work with a deferred value, which updates at a lower priority than other state updates.&lt;/p&gt;

&lt;p&gt;These are all the built-in hooks that React provides, you can use these hooks to access React features in a functional way, without the need for a class component.&lt;/p&gt;




&lt;p&gt;That’s a wrap. Thanks for reading.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://medium.com/@piyushkesarwani72" rel="noopener noreferrer"&gt;Follow me&lt;/a&gt; for weekly new tidbits on the domain of tech.&lt;/p&gt;

&lt;p&gt;Need a Top Rated UI/UX designer and Front-End Development Freelancer to chop away your development woes? Contact me.&lt;/p&gt;

&lt;p&gt;Want to see what I am working on? Check out my &lt;a href="https://twitter.com/Hy_piyush" rel="noopener noreferrer"&gt;Twitter&lt;/a&gt;, and &lt;a href="https://github.com/piyushkesarwani" rel="noopener noreferrer"&gt;GitHub&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Want to connect? Reach out to me on &lt;a href="https://www.linkedin.com/in/piyush-kesarwani-809a30219/" rel="noopener noreferrer"&gt;LinkedIn&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>discuss</category>
      <category>writing</category>
      <category>softwareengineering</category>
    </item>
  </channel>
</rss>
