<?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: Farhana Binte Hasan</title>
    <description>The latest articles on DEV Community by Farhana Binte Hasan (@farhanacsebd).</description>
    <link>https://dev.to/farhanacsebd</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%2F780840%2Fd4eeb56b-622f-44fb-8800-cc4dd64816d1.jpg</url>
      <title>DEV Community: Farhana Binte Hasan</title>
      <link>https://dev.to/farhanacsebd</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/farhanacsebd"/>
    <language>en</language>
    <item>
      <title>Auto Refresh Windows Using tree.Bat</title>
      <dc:creator>Farhana Binte Hasan</dc:creator>
      <pubDate>Sat, 05 Apr 2025 17:24:32 +0000</pubDate>
      <link>https://dev.to/farhanacsebd/auto-refresh-windows-using-treebat-33ea</link>
      <guid>https://dev.to/farhanacsebd/auto-refresh-windows-using-treebat-33ea</guid>
      <description>&lt;h2&gt;
  
  
  How to make a tree.Bat file for auto refresh Windows
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;1st open notepad &lt;/li&gt;
&lt;li&gt;Copy this command-&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;echo off&lt;br&gt;
cd/&lt;br&gt;
tree&lt;br&gt;
c:&lt;br&gt;
tree&lt;br&gt;
d:&lt;br&gt;
tree&lt;br&gt;
e:&lt;br&gt;
tree&lt;br&gt;
f:&lt;br&gt;
tree&lt;br&gt;
g:&lt;br&gt;
tree&lt;br&gt;
h:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Save the file in Desktop using this name "tree.Bat" and save the file.&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>programming</category>
      <category>help</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Customizing Theme in VS Code || VS Code Best Dark Theme🦄💫🦄</title>
      <dc:creator>Farhana Binte Hasan</dc:creator>
      <pubDate>Sat, 20 May 2023 19:47:40 +0000</pubDate>
      <link>https://dev.to/farhanacsebd/customizing-theme-in-vs-code-vs-code-best-dark-theme-40ap</link>
      <guid>https://dev.to/farhanacsebd/customizing-theme-in-vs-code-vs-code-best-dark-theme-40ap</guid>
      <description>&lt;h4&gt;
  
  
  Most of the time we install many extensions which we don't need all of the time. And So many extensions at that time, we don't notice our software running much less smoothly. So we should minimize the extension as much as possible😓.
&lt;/h4&gt;

&lt;h4&gt;
  
  
  All those who are regular coders use some comfort-type theme extension for eye comfort. But if you want, you can easily change the theme of your VS Code according to your mind without any extension😉.
&lt;/h4&gt;

&lt;h4&gt;
  
  
  So let's see👀, how easily you can change the VS Code theme to your liking🕵️‍♀️.
&lt;/h4&gt;




&lt;ul&gt;
&lt;li&gt;Step one ➣ Open VS Code👍.&lt;/li&gt;
&lt;li&gt;Step two ➣ go to the setting and select Themes and Color Theme.&lt;/li&gt;
&lt;/ul&gt;

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

&lt;ul&gt;
&lt;li&gt;Step three ➣ Select Monokoi Theme.&lt;/li&gt;
&lt;/ul&gt;

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

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Step four ➣ Now go to the settings and select the User and also select Workbench or Appearance and also click Edit in settings.json&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--5A4kNjcS--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/w3mrklzkei0ycrsonxxv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--5A4kNjcS--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/w3mrklzkei0ycrsonxxv.png" alt="Image description" width="800" height="393"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Step five ➣ When clicking Edit in settings.json you will get the format like this picture ➜↓&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

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

&lt;ul&gt;
&lt;li&gt;Step six ➣ And now enter this format also you can change whatever you want.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;{
    "terminal.integrated.fontSize": 18,
    "editor.fontSize": 18,
    "editor.wordWrap": "on",
    "workbench.iconTheme": "material-icon-theme",
    "workbench.colorTheme": "Monokai",
    "workbench.colorCustomizations": {

        "[Monokai]": {
            "editor.background": "#000",
            "editorGutter.background": "#111",
            "sideBar.background": "#000",
            "activityBar.background": "#111",
            "statusBar.background": "#111",
            "editor.selectionBackground": "#222",
            "editor.lineHighlightBackground": "#333",
            "tab.activeBackground": "#111",
            "tab.inactiveBackground": "#222",
            "terminal.foreground": "#ff0080",
            "terminalCursor.foreground": "#51ff00"
        }
    },
}

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

&lt;/div&gt;



&lt;h4&gt;
  
  
  【Here I also added a terminal color format if need then use otherwise delete it.】
&lt;/h4&gt;

&lt;h3&gt;
  
  
  Now Enjoy 🥳🎉......
&lt;/h3&gt;

</description>
      <category>beginners</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Introducing 🔥ChatGPT🔥 Browser Extension for Chrome🚀</title>
      <dc:creator>Farhana Binte Hasan</dc:creator>
      <pubDate>Thu, 23 Feb 2023 15:18:57 +0000</pubDate>
      <link>https://dev.to/farhanacsebd/introducing-chatgpt-browser-extension-for-chrome-88b</link>
      <guid>https://dev.to/farhanacsebd/introducing-chatgpt-browser-extension-for-chrome-88b</guid>
      <description>&lt;p&gt;🔹 Step one ➔ open chrome browser.&lt;br&gt;
🔸 step two ➔ press customize and control google chrome.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--DZxjRb4V--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/q2u7sofhsd1dat2lsdpo.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--DZxjRb4V--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/q2u7sofhsd1dat2lsdpo.PNG" alt="Image description" width="353" height="104"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;🔹 step three ➔ select more tools and also select Extensions.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--UgYLXkAG--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qrjmwr6km1jmbmtj3gzm.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--UgYLXkAG--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qrjmwr6km1jmbmtj3gzm.png" alt="Image description" width="562" height="646"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;🔸 step four ➔ here you can see all extensions which you using.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--1K3lMAhT--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/z7rjzb3e8pzzrmmoybtb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--1K3lMAhT--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/z7rjzb3e8pzzrmmoybtb.png" alt="Image description" width="800" height="450"&gt;&lt;/a&gt;&lt;br&gt;
🔹 step five ➔ open chrome web store.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--aUwTN3C0--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/mi87ugwj995m5d57f37e.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--aUwTN3C0--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/mi87ugwj995m5d57f37e.PNG" alt="Image description" width="610" height="688"&gt;&lt;/a&gt;&lt;br&gt;
🔸 last one is ➔ search extension name👉🏾👉🏾 ChatGPT for Search Engines and another ChatGPT for Google.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--XNQzLpfl--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gedlzeqehlhi4vfypsw5.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--XNQzLpfl--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gedlzeqehlhi4vfypsw5.PNG" alt="Image description" width="800" height="270"&gt;&lt;/a&gt;&lt;/p&gt;

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

&lt;h3&gt;
  
  
  ChatGPT Extension's direct link ⟹ &lt;a href="https://chrome.google.com/webstore/detail/chatgpt-for-search-engine/feeonheemodpkdckaljcjogdncpiiban?hl=en-US"&gt;ChatGPT for Search Engines&lt;/a&gt;
&lt;/h3&gt;

&lt;h3&gt;
  
  
  Or 2nd extension link ⟹ &lt;a href="https://chrome.google.com/webstore/detail/chatgpt-for-google/jgjaeacdkonaoafenlfkkkmbaopkbilf/related?hl=en-US"&gt;ChatGPT for Google&lt;/a&gt;
&lt;/h3&gt;




&lt;h3&gt;
  
  
  ❄️🌞❄️Both are amazing❄️🌞❄️
&lt;/h3&gt;

</description>
    </item>
    <item>
      <title>Enable Emmet support for JSX in VS Code-✨React✨</title>
      <dc:creator>Farhana Binte Hasan</dc:creator>
      <pubDate>Tue, 07 Feb 2023 14:51:32 +0000</pubDate>
      <link>https://dev.to/farhanacsebd/enable-emmet-support-for-jsx-in-vs-code-react-1lil</link>
      <guid>https://dev.to/farhanacsebd/enable-emmet-support-for-jsx-in-vs-code-react-1lil</guid>
      <description>&lt;h4&gt;
  
  
  First, open any source folder on VS Code and go to Settings.
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;Select Extensions.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fl07ckbgguowyh0i1z6kq.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fl07ckbgguowyh0i1z6kq.PNG" alt="Image description" width="800" height="406"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Search Emmet section.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flglorh5er0ubp4tev7b1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flglorh5er0ubp4tev7b1.png" alt="Image description" width="800" height="381"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Press the Add Item.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgy3k8tlkjtasykbid9b7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgy3k8tlkjtasykbid9b7.png" alt="Image description" width="559" height="135"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;fill up the input.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxqjox10q2jp51ycs18sk.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxqjox10q2jp51ycs18sk.PNG" alt="Image description" width="800" height="277"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Press the ok button.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Emmet should be enabled in js files now! 🎉🎉🎉🎉
&lt;/h4&gt;

</description>
      <category>discuss</category>
      <category>howto</category>
      <category>productivity</category>
    </item>
    <item>
      <title>console.log() Shortcut in VS Code🚀🚀</title>
      <dc:creator>Farhana Binte Hasan</dc:creator>
      <pubDate>Thu, 26 Jan 2023 13:12:13 +0000</pubDate>
      <link>https://dev.to/farhanacsebd/consolelog-shortcut-in-vs-code-5900</link>
      <guid>https://dev.to/farhanacsebd/consolelog-shortcut-in-vs-code-5900</guid>
      <description>&lt;p&gt;👉 First of all&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Open VS Code&lt;/li&gt;
&lt;li&gt;Press ctrl + shift + p&lt;/li&gt;
&lt;li&gt;Choose &lt;strong&gt;Snippets: Configure Snippets&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Then choose your programming language &lt;/li&gt;
&lt;li&gt;Then apply this code 👇✌️✌️
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;{
    "Console.log": {
        "prefix": "clg",
        "body": "console.log('$1');",
        "description": "Console Log"
    }
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>gratitude</category>
      <category>vibecoding</category>
    </item>
    <item>
      <title>JavaScript map vs. forEach</title>
      <dc:creator>Farhana Binte Hasan</dc:creator>
      <pubDate>Fri, 13 Jan 2023 15:42:05 +0000</pubDate>
      <link>https://dev.to/farhanacsebd/javascript-map-vs-foreach-47g4</link>
      <guid>https://dev.to/farhanacsebd/javascript-map-vs-foreach-47g4</guid>
      <description>&lt;h2&gt;
  
  
  .forEach()
&lt;/h2&gt;

&lt;h3&gt;
  
  
  What is it?
&lt;/h3&gt;

&lt;h4&gt;
  
  
  This method is the most similar to the forloop. Example -
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;// forloop
const numbers = [2,6,8,10,12];

for (let i = 0; i &amp;lt; numbers.length; i++) {
    console.log(numbers[i]);
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;// forEach
const numbers = [2,6,8,10,12];

numbers.forEach(number =&amp;gt; {
    console.log(number);
});
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;forEach() is simply executed "for each" element of the array.&lt;/p&gt;

&lt;h2&gt;
  
  
  .map()
&lt;/h2&gt;

&lt;h3&gt;
  
  
  What is it?
&lt;/h3&gt;

&lt;h4&gt;
  
  
  map is almost similar to the forEach method. This method loops through each element.
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;// map
const numbers = [2,6,8,10,12];

numbers.map(number =&amp;gt;console.log(number))
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;// map
const numbers = [2,6,8,10,12];

numbers.map(number =&amp;gt;console.log(number * 2))
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  map vs. forEach:
&lt;/h2&gt;

&lt;h3&gt;
  
  
  forEach:
&lt;/h3&gt;

&lt;h4&gt;
  
  
  It calls a function for each element of an array but doesn't return anything. That means no result fount means undefined
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const numbers = [2,6,8,10,12];

let result = numbers.forEach((number) =&amp;gt;{
    return number*10
})
console.log(result); //undefined
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  map:
&lt;/h3&gt;

&lt;h4&gt;
  
  
  This method returns a new array by applying the callback function on each element of an array.
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;// map
const numbers = [2,6,8,10,12];

let result = numbers.map((number) =&amp;gt;{
    return number*10
})
console.log(result); //[20,60,80,100,120] 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
    </item>
    <item>
      <title>Media Query Breakpoint</title>
      <dc:creator>Farhana Binte Hasan</dc:creator>
      <pubDate>Sun, 01 Jan 2023 12:05:01 +0000</pubDate>
      <link>https://dev.to/farhanacsebd/media-query-breakpoint-25fi</link>
      <guid>https://dev.to/farhanacsebd/media-query-breakpoint-25fi</guid>
      <description>&lt;p&gt;Share The most important media query breakpoint number which makes the website responsive. Here are the four breakpoints to make responsive -&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;576px&lt;/li&gt;
&lt;li&gt;768px&lt;/li&gt;
&lt;li&gt;992px&lt;/li&gt;
&lt;li&gt;1200px&lt;/li&gt;
&lt;/ul&gt;

</description>
    </item>
    <item>
      <title>add a spinner in API js</title>
      <dc:creator>Farhana Binte Hasan</dc:creator>
      <pubDate>Mon, 26 Dec 2022 17:30:12 +0000</pubDate>
      <link>https://dev.to/farhanacsebd/how-to-add-a-spinner-in-api-js-2iii</link>
      <guid>https://dev.to/farhanacsebd/how-to-add-a-spinner-in-api-js-2iii</guid>
      <description>&lt;p&gt;&lt;code&gt;Html code from bootstrap&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;!-- added spinners --&amp;gt;
    &amp;lt;div id="spinners" class="spinner-grow text-secondary" style="margin:10rem 40rem;" role="status"&amp;gt;
      &amp;lt;span class="visually-hidden"&amp;gt;Loading...&amp;lt;/span&amp;gt;
    &amp;lt;/div&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;p&gt;&lt;code&gt;javascript code&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const spinner = document.getElementById("spinners");
const loadData = () =&amp;gt;{
  spinner.removeAttribute('hidden');
    fetch('https://www.thesportsdb.com/api/v1/json/2/all_sports.php')
    .then((res) =&amp;gt; res.json())
    .then((data) =&amp;gt;{
      spinner.setAttribute('hidden', '');
      displayData(data.sports)
    });
}
loadData()
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>javascript</category>
    </item>
    <item>
      <title>Explanation of API</title>
      <dc:creator>Farhana Binte Hasan</dc:creator>
      <pubDate>Wed, 21 Dec 2022 20:10:34 +0000</pubDate>
      <link>https://dev.to/farhanacsebd/what-is-an-api-318c</link>
      <guid>https://dev.to/farhanacsebd/what-is-an-api-318c</guid>
      <description>&lt;h2&gt;
  
  
  &lt;strong&gt;API&lt;/strong&gt;
&lt;/h2&gt;

&lt;h4&gt;
  
  
  API's full meaning is Application Programming Interface.
&lt;/h4&gt;

&lt;p&gt;API is one kind of messenger. That tells the system what the user wants to do and returns a response from the system to the user. It just looks like a &lt;strong&gt;waiter&lt;/strong&gt;. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fcx8suc83m5y0y09359v1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fcx8suc83m5y0y09359v1.png" alt="Image description" width="800" height="333"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Nowadays, we regularly use apps like Uber, Pathao, and FoodPanda and in all these apps we see maps. When we place an order inside the Foodpanda app, we know where our delivery man is. But FoodPanda does not have any satellite. So how do they give maps in their app? &lt;/p&gt;

&lt;h4&gt;
  
  
  Foodpanda app brings maps from the Google Maps system. Which we all have on our phones. But foodpanda does not directly access Google Maps.
&lt;/h4&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1ujwk91g5okb6746tk1t.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1ujwk91g5okb6746tk1t.png" alt="Image description" width="800" height="259"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  A layer of security has been created for this layer called Google Maps API. Hence if foodpanda needs data access then it requests directly API, not Google Maps.
&lt;/h4&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7n79vdlahqj4gmpnd21a.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7n79vdlahqj4gmpnd21a.png" alt="Image description" width="800" height="362"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;So now simply say, API is a messenger which is transfer data from one to another system. &lt;/p&gt;

</description>
      <category>javascript</category>
      <category>programming</category>
    </item>
    <item>
      <title>Hero Site Parallax Scroll</title>
      <dc:creator>Farhana Binte Hasan</dc:creator>
      <pubDate>Wed, 14 Dec 2022 16:39:23 +0000</pubDate>
      <link>https://dev.to/farhanacsebd/hero-site-parallax-scroll-40g5</link>
      <guid>https://dev.to/farhanacsebd/hero-site-parallax-scroll-40g5</guid>
      <description>&lt;p&gt;Zoom out parallax background:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;.bg-image{
    height: 100vh;
    width: 100%;
    background-image: url(./bg1.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 160%;
    background-attachment:fixed;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const bgImg = document.getElementById('bg-image');

window.addEventListener('scroll',()=&amp;gt;{
    updateImage();
})

function updateImage(){
    bgImg.style.opacity = 1 - window.pageYOffset/900;
    console.log(1 - window.pageYOffset/900);
    bgImg.style.backgroundSize = 160 - window.pageYOffset / 12 + ('%');
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;live site :&lt;a href="https://farhanacsebd.github.io/background-image-scroll-effect/" rel="noopener noreferrer"&gt;zoomout-perallax-background-scroll&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;Fade-type parallax background:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;background: url(./bg.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const bgImg = document.getElementById('bg-image');

window.addEventListener('scroll',()=&amp;gt;{
    updateImage();
})

function updateImage(){
    bgImg.style.opacity = 1 - +window.pageYOffset/550+'';
    //  console.log(1 - +window.pageYOffset/550+'');
    bgImg.style.top = +window.pageYOffset + 'px';
    bgImg.style.backgroundPositionY = -+window.pageYOffset/2 + 'px';
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;live site :&lt;a href="https://farhanacsebd.github.io/background-image-fade-scroll-effect/" rel="noopener noreferrer"&gt;Fade-type-parallax-background-scroll&lt;/a&gt;&lt;/p&gt;

</description>
      <category>career</category>
      <category>devto</category>
    </item>
    <item>
      <title>Difference between box-shadow vs drop-shadow</title>
      <dc:creator>Farhana Binte Hasan</dc:creator>
      <pubDate>Wed, 07 Dec 2022 13:14:47 +0000</pubDate>
      <link>https://dev.to/farhanacsebd/difference-between-box-shadow-vs-drop-shadow-17io</link>
      <guid>https://dev.to/farhanacsebd/difference-between-box-shadow-vs-drop-shadow-17io</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzduycoftj5s3yn0sugos.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzduycoftj5s3yn0sugos.jpg" alt="Image description" width="800" height="795"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>watercooler</category>
    </item>
    <item>
      <title>Web Developer Template Resources</title>
      <dc:creator>Farhana Binte Hasan</dc:creator>
      <pubDate>Sat, 26 Nov 2022 16:53:52 +0000</pubDate>
      <link>https://dev.to/farhanacsebd/web-developer-template-resources-4ji1</link>
      <guid>https://dev.to/farhanacsebd/web-developer-template-resources-4ji1</guid>
      <description>&lt;p&gt;&lt;strong&gt;A must-explore template resource for web developers.&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://html5up.net/"&gt;HTML5Up&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://templatemo.com/"&gt;Templatemo&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://freehtml5.co/"&gt;freehtml5&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://www.styleshout.com/"&gt;Styleshout&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://startbootstrap.com/"&gt;Start Bootstrap&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://www.zerotheme.com/"&gt;Zerotheme&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://www.html5xcss3.com/"&gt;html5xcss3&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://colorlib.com/wp/templates/"&gt;Colorlib&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://www.free-css.com/free-css-templates"&gt;Free-css&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://www.hubspot.com/resources"&gt;Hubspot&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://mobirise.com/html-templates/"&gt;Mobirise&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://bootstrapmade.com/"&gt;Bootstrap Made&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://themesfor.app/"&gt;Theme For App&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://bootstraptaste.com/"&gt;Bootstrap Taste&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://onepagelove.com/"&gt;One Page Love&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://www.tooplate.com/"&gt;Tool Plate&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://cruip.com/free-templates/"&gt;Cruip&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://uideck.com/"&gt;UIDeck&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

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