<?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: Kaniz Mokammel Mim</title>
    <description>The latest articles on DEV Community by Kaniz Mokammel Mim (@kaniznubtk).</description>
    <link>https://dev.to/kaniznubtk</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%2F777187%2F009ee19e-cbf0-4834-925b-f0021bedff22.jpg</url>
      <title>DEV Community: Kaniz Mokammel Mim</title>
      <link>https://dev.to/kaniznubtk</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/kaniznubtk"/>
    <language>en</language>
    <item>
      <title>CRUD Operations…</title>
      <dc:creator>Kaniz Mokammel Mim</dc:creator>
      <pubDate>Thu, 23 Dec 2021 15:16:27 +0000</pubDate>
      <link>https://dev.to/kaniznubtk/crud-operations-43bk</link>
      <guid>https://dev.to/kaniznubtk/crud-operations-43bk</guid>
      <description>&lt;p&gt;&lt;strong&gt;CRUD Operations…&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Everything that contains information or images on a website is stored in a database.The method by which we do this is called CRUD Operations. CRUD is an acronym.&lt;br&gt;
Here,C stands for create , R stands for read , U stands for update , D stands for delete.These are the four most basic operations in database systems. CRUD operations are the backbone for interacting with any database.There are many databases where we can store data, some of which I will mention below:&lt;br&gt;
Oracle 12c, MySQL, Microsoft SQLServer, PostgreSQL, MongoDB, MariaDB, DB2, SAP HANA. Today I will discuss MySQL and mongoDB.&lt;/p&gt;

&lt;p&gt;MySQL : MySQL is an open-source relational database management system.&lt;br&gt;
MySQL is one of the most popular databases for web-based applications. It's free for the user.Here SQL means Structured Query Language. SQL is a language programmers use to create, update ,read and delete from the relational database, and also control user access to the database. If a user wants to use a MySQL database  s/he has to set up XAMPP, without XAMPP any can not use a local server.&lt;/p&gt;

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

&lt;p&gt;This is an inner look of MySQL. Here any one can create tables for storing data or information.&lt;br&gt;
In SQL this process is used to Insert data.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--4U0y1eug--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/x4t5ecsfru8dbgiieo1l.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--4U0y1eug--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/x4t5ecsfru8dbgiieo1l.PNG" alt="Image description" width="637" height="147"&gt;&lt;/a&gt; &lt;br&gt;
Here * means get all data from the database.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--9i4JOe-n--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zmf2og6t7jvkuqj404n6.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--9i4JOe-n--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zmf2og6t7jvkuqj404n6.PNG" alt="Image description" width="485" height="136"&gt;&lt;/a&gt;&lt;br&gt;
This query use to update a data&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--hhGtuPlp--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/87w152v6rz086olkhzu0.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--hhGtuPlp--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/87w152v6rz086olkhzu0.PNG" alt="Image description" width="792" height="117"&gt;&lt;/a&gt;&lt;br&gt;
And this one for delete data.&lt;/p&gt;

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

&lt;p&gt;MongoDB: MongoDB is a document database.The main purpose of making MongoDB is designed to make scaling easier.MongoDB documents are similar to JSON objects. So it is easy to access the API . MongoDB has both local and cloud-hosted deployment. It is also free for all. MongoDB is a tool that can manage document-oriented information, store or retrieve information. MongoDB is a NoSQL database management program. Here NoSQL databases are  useful for working with large sets of distributed data. This is the inner look of MongoDb.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--5jiHOiV6--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/v5jswgkjgts6aqwuzc9a.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--5jiHOiV6--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/v5jswgkjgts6aqwuzc9a.PNG" alt="Image description" width="880" height="411"&gt;&lt;/a&gt;&lt;br&gt;
CRUD operation using MongoDB&lt;br&gt;
InsertOne is used to add new data in the database.&lt;br&gt;
.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--awg7LsFr--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ykmhraue0t26zt06dnj2.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--awg7LsFr--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ykmhraue0t26zt06dnj2.PNG" alt="Image description" width="463" height="146"&gt;&lt;/a&gt;&lt;br&gt;
updateOne is used to update or change an existing data in the database.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--1F1wneTz--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5fizc4195r55f27wjuog.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--1F1wneTz--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5fizc4195r55f27wjuog.PNG" alt="Image description" width="480" height="145"&gt;&lt;/a&gt;&lt;br&gt;
Find use to search a data from database &lt;/p&gt;

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

&lt;p&gt;DeleteOne is used to delete a specific data from a database realtion.&lt;/p&gt;

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

</description>
    </item>
    <item>
      <title>React.js,PropTypes,State-props,JSX,Hooks,custom hooks…</title>
      <dc:creator>Kaniz Mokammel Mim</dc:creator>
      <pubDate>Wed, 22 Dec 2021 14:53:08 +0000</pubDate>
      <link>https://dev.to/kaniznubtk/reactjsproptypesstate-propsjsxhookscustom-hooks-4am8</link>
      <guid>https://dev.to/kaniznubtk/reactjsproptypesstate-propsjsxhookscustom-hooks-4am8</guid>
      <description>&lt;p&gt;&lt;strong&gt;React.js,PropTypes,State-props,JSX,Hooks,custom hooks…&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;There are currently a number of web development frameworks in react.js.React is a free and open-source front-end JavaScript library [3] that builds user interfaces based on UI elements.It is invented by Meta (formerly Facebook) in 2013 .React is currently managed by Facebook's developers.React can be used as a base in the development of single-page or mobile applications.React depend on state management and rendering that state to the DOM.If a beginner wants to create a website with React, I will discuss about the issues that need to be known.&lt;br&gt;&lt;br&gt;
&lt;strong&gt;PropTypes:&lt;/strong&gt; React props, which stands for “properties,” are used to send data from one component to another.React has an internal mechanism for props validation called PropTypes.Props and PropTypes are important processes because they work pass only readable features in the feedback elements.&lt;br&gt;
Benefits of PropTypes : PropTypes makes it easy to catch bugs caused by passing data of data type .&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;State-props:&lt;/strong&gt; Props are short for properties. Props are used to pass data between React components. Mainly react data flow between components is unidirectional . It can pass data from upper level to lower level.React maintains inheritance&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%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5b5b6ogck82j2r3wq1e0.PNG" 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%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5b5b6ogck82j2r3wq1e0.PNG" alt="Image description"&gt;&lt;/a&gt;&lt;br&gt;
Here data is being passed from the previous component to the following component through props.&lt;br&gt;
State allows elements to create and manage their own data.State on the other hand is still a variable, but directly initialized and managed by the component.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;JSX:&lt;/strong&gt; JSX stands for JavaScript XML.HTML can be written or added to React via JSX.JSX can easily convert HTML tags by responding to elements.It's faster than regular JavaScript.&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%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxpvh5rib57w36oosslsg.PNG" 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%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxpvh5rib57w36oosslsg.PNG" alt="Image description"&gt;&lt;/a&gt;&lt;br&gt;
Here &lt;/p&gt;, , &lt;p&gt; these are all HTML tags used in React in JSX.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Hooks:&lt;/strong&gt; Hooks are backwards-compatible,which means it does not contain any breaking changes.  This page provides an overview of Hooks for experienced React users. This is a fast-paced overview.&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%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F949c97jvd7piq1cqc6ay.PNG" 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%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F949c97jvd7piq1cqc6ay.PNG" alt="Image description"&gt;&lt;/a&gt;&lt;br&gt;
Here, useState,useEffect are basic hooks.usestate use to  declare a state in React app. UseEffect allows us to perform side effects in the function components.&lt;br&gt;
**custom hooks: **A custom hook is a JavaScript function whose name starts with "use" and it can call another hook. When using react, the user can make hook calls for his work needs.&lt;br&gt;
In this picture usecart is a custom hook.This hook I used to calculate the price of the product&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%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftnuy4awzf3d0ejs3v1wb.PNG" 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%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftnuy4awzf3d0ejs3v1wb.PNG" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>react</category>
      <category>javascript</category>
      <category>html</category>
      <category>css</category>
    </item>
    <item>
      <title>Scope, Block Scope, Global Scope, Global Variable,Double equal (==) vs Triple equal (===)</title>
      <dc:creator>Kaniz Mokammel Mim</dc:creator>
      <pubDate>Tue, 21 Dec 2021 14:57:03 +0000</pubDate>
      <link>https://dev.to/kaniznubtk/scope-block-scope-global-scope-global-variabledouble-equal-vs-triple-equal--3hgc</link>
      <guid>https://dev.to/kaniznubtk/scope-block-scope-global-scope-global-variabledouble-equal-vs-triple-equal--3hgc</guid>
      <description>&lt;p&gt;&lt;strong&gt;Scope, Block Scope, Global Scope, Global Variable,Double equal (==) vs Triple equal (===)&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Scope :&lt;/strong&gt; Scope is very important in programming. Scope refers to everything contained within "{}". Variable functions within a scope can only be accessed within that specific scope .&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--ThahSeLp--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/wkau76jbj3ldtk6cvmdu.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ThahSeLp--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/wkau76jbj3ldtk6cvmdu.PNG" alt="Image description" width="528" height="287"&gt;&lt;/a&gt;&lt;br&gt;
Everything contained in the picture in this image is bound within this particular scope. No access will be available to them outside the scope.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--LkpnPjLj--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/sirno0qlx8glulfz5m7q.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--LkpnPjLj--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/sirno0qlx8glulfz5m7q.PNG" alt="Image description" width="742" height="447"&gt;&lt;/a&gt;&lt;br&gt;
Whenever I try to log the console outside the scope of the "result" within the, the result is not defined as being outside the scope. So variables declared within a JavaScript function, become Local Scope to the function.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Global Scope and Global Variable :&lt;/strong&gt; If a variable is declared inside a JavaScript file outside of a local scope, it may be accessible from all locations in that file, this is called global scope. In this picture, we can see the “first” variable is declared on top of the function and it is not bound by any "{}". So we can use the "first" variable anywhere in the file So. it is within the global scope and the variable is a global variable.&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;Block Scope:&lt;/strong&gt;  Let and const are the two keywords that provide block scope in JavaScript.The new JavaScript ES6 introduces these two important keywords. So the variables using let and const can only be accessed within their scope.&lt;/p&gt;

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

&lt;p&gt;In this picture I am using the const keyword to declare a variable . So this keyword maintains block scope. Since I logged the 'blockVariable' console between {} for which the variable ran on the console.&lt;br&gt;
But when I log the 'blockVariable' console outside of {}, the variable cannot find the console.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--yiYKU-B0--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1glzyh1z5tok7yq2295l.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--yiYKU-B0--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1glzyh1z5tok7yq2295l.PNG" alt="Image description" width="715" height="538"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Double Equal(==) and Triple Equal(===) :&lt;/strong&gt; Double Equals ( == ) checks for value equality only.  And the other hand, Triple Equals ( === )  will verify whether the variables being compared have both the same value AND the same type .&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--0voriqYM--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jwl7slrvszpo1nbhskg8.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--0voriqYM--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jwl7slrvszpo1nbhskg8.PNG" alt="Image description" width="494" height="283"&gt;&lt;/a&gt;&lt;br&gt;
In this picture , I am declaring two variables, one is number and another is string. Than I am using double equal (==) for compare these two variables. Double equals can not compare them strictly. It just matches them and gives the answer.&lt;/p&gt;

&lt;p&gt;On the other hand, when I can using triple equal(===), here the answer is “both numbers are not equal” ,because triple equal(===) can check them strictly.This means both the &lt;strong&gt;type&lt;/strong&gt; and the **value **we are comparing have to be the same.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--rV0KuJsc--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/u7s81irsct4h4nfohlq6.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--rV0KuJsc--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/u7s81irsct4h4nfohlq6.PNG" alt="Image description" width="578" height="306"&gt;&lt;/a&gt;&lt;br&gt;
If we have to compare an argument, we use triple equals, because it also compares type and value.So the result gives absolutely right. That's why programmers use Triple Equal.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Map, Filter, Find</title>
      <dc:creator>Kaniz Mokammel Mim</dc:creator>
      <pubDate>Mon, 20 Dec 2021 15:19:39 +0000</pubDate>
      <link>https://dev.to/kaniznubtk/map-filter-find-3eld</link>
      <guid>https://dev.to/kaniznubtk/map-filter-find-3eld</guid>
      <description>&lt;p&gt;&lt;strong&gt;Map, Filter, Find&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;We all use arrays when working with JavaScript. An array is a data structure where the same element can be stored.We use Map, Filter, and Find to get elements from the array. Today I will try to explain Map, Filter, Find in a simple way.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Map:&lt;/strong&gt;&lt;br&gt;
The function of a map is to take the property from one array and return it to another array.Many may say that "foreach" can also be used to return the property from the array. Yes, that's right, but "foreach" can't automatically return a new array like "map", you have to push the property in an array&lt;br&gt;
Using foreach:&lt;/p&gt;

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

&lt;p&gt;Using Map:&lt;/p&gt;

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

&lt;p&gt;So in the above pictures we can see that using "foreach" we have to push the property in a new array but "map" has made this task easier.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Filter :&lt;/strong&gt;&lt;br&gt;
Filter returns the properties of an array to a new array like "Map", but in this case we can access the property using the terms. For which only the necessary features can be found in an easy way without accessing an entire array.&lt;br&gt;
In the image below, I did not take all the properties from the same array and only filtered the largest property from 10.&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;Find:&lt;/strong&gt;&lt;br&gt;
Find is usually called array method."Find" is used to get a value from an array and it does not return a value to any array. And in case of value return returns the first value like condition. &lt;br&gt;
I am clearing the matter with an example, suppose&lt;br&gt;
Number = [10,12,3,4,6,90], from this array I want to see properties greater than 10, here 12 and 90 have these 2 values as the largest property of 10, but "Find" is only the first Value 12 will be given as a result.&lt;/p&gt;

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

</description>
    </item>
    <item>
      <title>CSS Media Query</title>
      <dc:creator>Kaniz Mokammel Mim</dc:creator>
      <pubDate>Sun, 19 Dec 2021 15:11:45 +0000</pubDate>
      <link>https://dev.to/kaniznubtk/css-media-query-4h2g</link>
      <guid>https://dev.to/kaniznubtk/css-media-query-4h2g</guid>
      <description>&lt;p&gt;Usually we do not browse a website through a specific device, when we use the device we have. There are many people who do not have a laptop / computer / tablet, who use a mobile phone, so work or time purpose everyone uses the device is different.So a website 'designer or developer' has to create a website with all types of users in mind. Usually when we design a website, the design is for computers or laptops by default, for which we have to react differently considering other users.And CSS media query is used to make this responsive.&lt;/p&gt;

&lt;p&gt;I have given a lot of introductions so far, now let's come to the real thing, I have already said that the design of the website depends on the device, so let's talk a little bit about the device or its measurements, usually 3 types of devices:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Larger devices( desktop, laptop, supercomputer etc).&lt;/li&gt;
&lt;li&gt;Medium device(Tablet, iPads etc).&lt;/li&gt;
&lt;li&gt;Small device.(Smartphone or any other Mobile Phone etc)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;In short, the way I remember the size of these 3 devices is:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Larger devices( minimum width : 1024 px).&lt;/li&gt;
&lt;li&gt;Medium devices (minimum width: 768 px and  maximum width: 1023 px).&lt;/li&gt;
&lt;li&gt;Small devices:(maximum width : 768 px).&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Now let me tell you how to make a website responsive for different devices, in this case you can use Vanilla CSS and again you can use their class or component even if you use CSS framework. Today I will try to explain briefly with some examples:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;- Vanilla CSS&lt;/strong&gt;&lt;br&gt;
Only for Small device( Resolutions 768px And Above)&lt;br&gt;
&lt;a class="mentioned-user" href="https://dev.to/media"&gt;@media&lt;/a&gt; only screen (min-width : 768px ){&lt;br&gt;
    //code segment&lt;br&gt;
}&lt;br&gt;
Someone time we can use 680 px instance of 768 px&lt;br&gt;
&lt;a class="mentioned-user" href="https://dev.to/media"&gt;@media&lt;/a&gt; only screen (min-width : 680px ){&lt;br&gt;
    //code segment&lt;br&gt;
}&lt;br&gt;
Medium device(Resolutions Between 768px And 960px)&lt;br&gt;
&lt;a class="mentioned-user" href="https://dev.to/media"&gt;@media&lt;/a&gt; only screen and (min-width : 768px ) and (max-width: 960px){&lt;br&gt;
    //code segment &lt;br&gt;
 } &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;- CSS Framework&lt;/strong&gt;&lt;br&gt;
Bootstrap, tailwind, material ui are the most familiar of css frameworks.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;- Bootstrap:&lt;/strong&gt;&lt;br&gt;
 Here we can make a website responsive using className.&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%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flwzlutqtm2sldl1k5lhq.PNG" 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%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flwzlutqtm2sldl1k5lhq.PNG" alt="Image description"&gt;&lt;/a&gt;&lt;br&gt;
Here sm, md, lg className use to make a site responsive. Sm means small device, md means medium device, lg means large device.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;- Tailwind:&lt;/strong&gt;&lt;br&gt;
 sm (resolutions 640px) ,md( resolutions 768px),&lt;br&gt;
lg (resolutions 1024px),xl (resolutions 1280px), 2xl (resolutions 1536px). The tailwind is used as a class like bootstrap.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;- Material ui :&lt;/strong&gt;&lt;br&gt;
 UI using Breakpoints layout to make a site responsive.&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%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0h58fh4valszn7b6wz4i.PNG" 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%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0h58fh4valszn7b6wz4i.PNG" alt="Image description"&gt;&lt;/a&gt;&lt;br&gt;
Here,xs(extra-small: 0px), sm(small: 600px), md(medium: 900px), lg(large: 1200px), xl(extra-large: 1536px).&lt;/p&gt;

</description>
      <category>css</category>
      <category>javascript</category>
      <category>react</category>
      <category>html</category>
    </item>
  </channel>
</rss>
