<?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>Forem: Fatemeh Satouri</title>
    <description>The latest articles on Forem by Fatemeh Satouri (@tapesh).</description>
    <link>https://forem.com/tapesh</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%2F1262166%2Fd1c9ee31-16c1-440a-aa26-0e6b2d755f8c.jpg</url>
      <title>Forem: Fatemeh Satouri</title>
      <link>https://forem.com/tapesh</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/tapesh"/>
    <language>en</language>
    <item>
      <title>SilverBox Library</title>
      <dc:creator>Fatemeh Satouri</dc:creator>
      <pubDate>Tue, 20 Feb 2024 18:50:55 +0000</pubDate>
      <link>https://forem.com/tapesh/silverbox-library-4k4n</link>
      <guid>https://forem.com/tapesh/silverbox-library-4k4n</guid>
      <description>&lt;p&gt;Hello.🫡&lt;br&gt;
how are you ?&lt;br&gt;
What project are you working on newly?&lt;br&gt;
I made a very nice gift for you, a gift that may have been less visible.🎁&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.freepik.com%2Ffree-photo%2Fliquid-marbling-paint-texture-background-fluid-painting-abstract-texture-intensive-color-mix-wallpaper_1258-88562.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimg.freepik.com%2Ffree-photo%2Fliquid-marbling-paint-texture-background-fluid-painting-abstract-texture-intensive-color-mix-wallpaper_1258-88562.jpg" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What is SilverBox ?
&lt;/h2&gt;

&lt;p&gt;Lightweight and versatile JavaScript library to create customizable modals and alerts for your web applications.&lt;/p&gt;

&lt;h2&gt;
  
  
  In what language is it written ?
&lt;/h2&gt;

&lt;p&gt;SilverBox with built with Pure JavaScript and Zero Dependencies.&lt;/p&gt;

&lt;h2&gt;
  
  
  Does Silverbox have a customization feature ?
&lt;/h2&gt;

&lt;p&gt;It allows you to have your own style alongside the ease of use of using a library.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to use it ?
&lt;/h2&gt;

&lt;p&gt;Working with this simple library is fully explained in Github.&lt;br&gt;
Please refer to it and read the steps with it:&lt;br&gt;
&lt;a href="https://github.com/Silverethical/silverBox?tab=readme-ov-file" rel="noopener noreferrer"&gt;SilverBox Github&lt;/a&gt;&lt;/p&gt;

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

&lt;p&gt;Silverbox is a simple, complete library written with JavaScript pure. Silverbox helps you get more beautiful warnings in your project and make it more enjoyable with customization.&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>css</category>
      <category>github</category>
      <category>developer</category>
    </item>
    <item>
      <title>HTML Collection VS Node List</title>
      <dc:creator>Fatemeh Satouri</dc:creator>
      <pubDate>Sat, 17 Feb 2024 21:15:59 +0000</pubDate>
      <link>https://forem.com/tapesh/html-collection-vs-node-list-2j3m</link>
      <guid>https://forem.com/tapesh/html-collection-vs-node-list-2j3m</guid>
      <description>&lt;p&gt;Hello how are you?&lt;br&gt;
Have you ever thought about this?&lt;br&gt;
Or did you pay attention to it?&lt;br&gt;
So now that you are reading this and I congratulate you, you are entering a sweet and interesting world.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Kr0-3MP_--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://img.freepik.com/premium-photo/man-stands-cliff-looking-mountain-with-moon-background_391229-5538.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Kr0-3MP_--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://img.freepik.com/premium-photo/man-stands-cliff-looking-mountain-with-moon-background_391229-5538.jpg" alt="|produc" width="626" height="626"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What is Node List ?
&lt;/h2&gt;

&lt;p&gt;Simply put, it contains all the nodes.&lt;/p&gt;

&lt;h2&gt;
  
  
  what is HTML Collection ?
&lt;/h2&gt;

&lt;p&gt;It only contains elements and does not contain textual nodes &lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;only the nodes of the elements, such as: div&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  querySelector  or getElementBy ?
&lt;/h2&gt;

&lt;p&gt;What do you use to save your elements in JavaScript?&lt;br&gt;
  getElementBy or querySelector?&lt;br&gt;
It's interesting for you to be interesting?&lt;br&gt;
The two who do a job!&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;In addition, it can also be selected through the queryselector &lt;br&gt;
similar to the CSS.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Well let's pay as we! Dead and alive data!&lt;br&gt;
I'm sure you learned the DOM and learned well because we need it a lot here.&lt;br&gt;
You can get a node of the list using the querySelector, which includes the the node dead!.&lt;br&gt;
But using the getElementBy you have an HTML Collection of the living elements.&lt;/p&gt;

&lt;p&gt;So! So far we have found out what one of them is and how we can have a node list or html collection.&lt;br&gt;
So what are the dead and live data now?&lt;/p&gt;

&lt;h2&gt;
  
  
  Dead or alive?
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;let li = document.createElement('li')&lt;br&gt;
document.body.appendChild(li)&lt;/code&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Remember?&lt;br&gt;
We made a Li element here and then it to the Body&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;code&gt;const item = document.getElementsByTagName("div");&lt;br&gt;
// select div from the HTML page by getElementsBy&lt;br&gt;
console.log(item);&lt;br&gt;
let div = document.createElement("div");&lt;br&gt;
document.body.append(div);&lt;br&gt;
console.log(item);&lt;br&gt;
// select div from the HTML page by querySelector&lt;br&gt;
const item = document.querySelectorAll("div");&lt;br&gt;
console.log(item);&lt;br&gt;
let div = document.createElement("div");&lt;br&gt;
document.body.append(div);&lt;br&gt;
console.log(item);&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Here we used the two ways to seize.&lt;br&gt;
Please try this code too to get to the conclusion together.&lt;/p&gt;

&lt;p&gt;If you use getElementBy, your data is alive and you can see it on the console after you have another data to the page.&lt;br&gt;
But if you use the querySelector you have a dead or static list, and if more elements are added to the knot, it will not be updated.&lt;/p&gt;

&lt;p&gt;Be sure to try this code and play with that code. I'm sure it will be a wonderful experience for you.&lt;/p&gt;

&lt;p&gt;If you enjoy this style of posts, you can follow my articles on the following sites:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://megademy.ir/3983/%da%a9%d9%88%da%a9%db%8c-%d9%87%d8%a7%db%8c-%d8%b4%d8%ae%d8%b5-%d8%ab%d8%a7%d9%84%d8%ab-third-party-cookie/"&gt;Third -party cookie&lt;/a&gt;&lt;br&gt;
&lt;a href="https://www.linkedin.com/posts/fatemeh-satouri-50ab612a6_%D8%B5%D9%81%D8%AD%D9%87-%D8%A7%D8%B5%D9%84%DB%8C-activity-7163971945397481472-UxJ6?utm_source=share&amp;amp;utm_medium=member_desktop"&gt;Linkedin&lt;/a&gt;&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>programming</category>
      <category>html</category>
    </item>
  </channel>
</rss>
