<?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: Shreyaan pradhan</title>
    <description>The latest articles on DEV Community by Shreyaan pradhan (@shreyaanp).</description>
    <link>https://dev.to/shreyaanp</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%2F956215%2Fd472d915-367b-4e22-a023-965b8cc50f19.jpeg</url>
      <title>DEV Community: Shreyaan pradhan</title>
      <link>https://dev.to/shreyaanp</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/shreyaanp"/>
    <language>en</language>
    <item>
      <title>Windows 11 Clone : Setting Menu</title>
      <dc:creator>Shreyaan pradhan</dc:creator>
      <pubDate>Sun, 12 Feb 2023 16:49:49 +0000</pubDate>
      <link>https://dev.to/shreyaanp/windows-11-clone-setting-menu-43pk</link>
      <guid>https://dev.to/shreyaanp/windows-11-clone-setting-menu-43pk</guid>
      <description>&lt;p&gt;
Just created a component for windows 11 clone.
Windows 11 Setting shortcut clone.
&lt;/p&gt;

&lt;p&gt;
Some of the functions I have included :
- Change brightness of the screen
- onClick change the background of the div
- Working sliders
&lt;/p&gt;

&lt;p&gt;&lt;iframe height="600" src="https://codepen.io/shreyaanp/embed/PodYPoB?height=600&amp;amp;default-tab=result&amp;amp;embed-version=2"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

</description>
      <category>api</category>
      <category>fintech</category>
      <category>productivity</category>
      <category>discuss</category>
    </item>
    <item>
      <title>Start Menu: Windows Clone</title>
      <dc:creator>Shreyaan pradhan</dc:creator>
      <pubDate>Fri, 10 Feb 2023 16:09:23 +0000</pubDate>
      <link>https://dev.to/shreyaanp/start-menu-windows-clone-5792</link>
      <guid>https://dev.to/shreyaanp/start-menu-windows-clone-5792</guid>
      <description>&lt;p&gt;Here I have made a clone of windows start Menu. The Elements are created from an javascript object.&lt;/p&gt;

&lt;p&gt; This is how I did it :&lt;br&gt;
I defined a class with the constructors, having all the parameters required to create the elements.
 &lt;/p&gt;
&lt;pre&gt;
class FileMetadata {
  constructor(name, size, type, creationDate) {
    this.name = name;
    this.size = size;
    this.type = type;
    this.creationDate = creationDate;
  }
}
&lt;/pre&gt;

I created an array to store the data.
&lt;pre&gt;
let fileMetadataArray = [];
&lt;/pre&gt;
Then using the push option added the values.
&lt;pre&gt;
fileMetadataArray.push(new FileMetadata("My Computer", 1024, "https://cdn-icons-png.flaticon.com/512/2933/2933245.png", new Date()));
&lt;/pre&gt;

Now I created a grid container, having 3 rows and 6 columns.
Now this is the parent element.


Using the function _.createElement_ .&lt;br&gt;
I then proceeded to create div and defined the style of those elements in for loop
&lt;pre&gt;

for (let i = 0; i &amp;lt; 3; i++) {
      let row = document.createElement("div");
      row.classList.add("row");
      row.style.display = "flex";

      for (let j = 0; j &amp;lt; 6; j++) {
        let dataa = fileMetadataArray[countt];
        let namee = fileMetadataArray[countt].name;
        let imgg = fileMetadataArray[countt].type;
        countt++;

        let column = document.createElement("div");
        column.style.flex = "1 1 16.666667%";
        column.style.alignItems = "center";
        column.style.justifyContent = "center";
        column.classList.add("columnn");
        row.appendChild(column);
        let img = document.createElement("img");
        img.src = imgg;
        img.style.width = "45px";
        img.style.height = "45px";
        img.classList.add("imggg");

        column.appendChild(img);
        let name = document.createElement("p");
        name.innerHTML = namee;
        name.style.textAlign = "center";
        name.style.fontSize = "12px";
        name.style.color = "white";
        column.appendChild(name);

      }
      gridContainer.appendChild(row);

    }
&lt;/pre&gt;


&lt;p&gt; 
Finally adding the finishing touch with some CSS the component is made.
&lt;/p&gt;

&lt;p&gt;&lt;iframe height="600" src="https://codepen.io/shreyaanp/embed/qByzvwQ?height=600&amp;amp;default-tab=result&amp;amp;embed-version=2"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

</description>
      <category>career</category>
      <category>productivity</category>
      <category>discuss</category>
    </item>
  </channel>
</rss>
