<?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: Edita Haroyan</title>
    <description>The latest articles on DEV Community by Edita Haroyan (@goyafan_33).</description>
    <link>https://dev.to/goyafan_33</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%2F969612%2F88b26728-7e18-40ff-a984-e33d86885538.png</url>
      <title>DEV Community: Edita Haroyan</title>
      <link>https://dev.to/goyafan_33</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/goyafan_33"/>
    <language>en</language>
    <item>
      <title>Functions</title>
      <dc:creator>Edita Haroyan</dc:creator>
      <pubDate>Wed, 09 Nov 2022 22:50:57 +0000</pubDate>
      <link>https://dev.to/goyafan_33/functions-42m8</link>
      <guid>https://dev.to/goyafan_33/functions-42m8</guid>
      <description>&lt;p&gt;Hello my naive friend who thought this was a safe place for people that dislike functions. Functions spread like covid so they got their way to the world of programming aswell. Let's take a look at them.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What is a function?&lt;/strong&gt; &lt;br&gt;
Well, think of it as a machine that will do a its thing when given a coin. Our machine is the function itself, the coin is "calling" it. Every time we call the function it will do some task we assigned it to. Those tasks are called arguments. They can be anything. We can make a function that will print "you're gay" each time we call it or a function that will calculate the product of two numbers. &lt;/p&gt;

&lt;p&gt;&lt;em&gt;Here are the examples&lt;/em&gt;&lt;/p&gt;

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

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

&lt;p&gt;Now, what can we do with functions? Well, quite a lot. &lt;br&gt;
Let's look at the easiest one&lt;/p&gt;

&lt;p&gt;1 . Return&lt;/p&gt;

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

&lt;p&gt;2 . Booleans&lt;/p&gt;

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

&lt;p&gt;3 . If &lt;/p&gt;

&lt;p&gt;Sometimes we need to let the function do more than one thing under certain conditions. Here's when we use IF&lt;/p&gt;

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

&lt;p&gt;As you can see, we gave it two conditions, and for each one it did different things&lt;/p&gt;

&lt;p&gt;4 . Equality Operations&lt;/p&gt;

&lt;p&gt;With IF we can check equality of pieces of data&lt;/p&gt;

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

&lt;p&gt;Here we were able to check when something is equal to 23 or not. We can also use this method to find if the value is greater or smaller than our number ("&amp;gt;" strictly greater, "&amp;lt;" strictly smaller, "&amp;gt;=" greater or equal, "&amp;lt;=" smaller or equal)&lt;/p&gt;

&lt;p&gt;5 . AND and OR operations&lt;/p&gt;

&lt;p&gt;We can also command the function to do its task only when both conditions are met. That's AND operation&lt;/p&gt;

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

&lt;p&gt;The OR operation, on the other hand, just needs to meet one condition to be true&lt;/p&gt;

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

&lt;p&gt;6 . Else&lt;/p&gt;

&lt;p&gt;Now when our conditions for IF are not met, we can tell the function to do something else&lt;/p&gt;

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

&lt;p&gt;We can also have "else if" which will allow us to have more than two conditions&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;Also&lt;/strong&gt;, when talking about functions we need to remember scopes.&lt;br&gt;
Those are the domains of visibility of variables&lt;br&gt;
1 . Global Scope&lt;/p&gt;

&lt;p&gt;Just a variable that's declared outside of a function. Is seen everywhere&lt;/p&gt;

&lt;p&gt;2 . Local Scope&lt;/p&gt;

&lt;p&gt;A variable that's declared inside of a function, therefore is only seen there&lt;/p&gt;

&lt;p&gt;That's all for today!!&lt;br&gt;
Senk yuuuu!!'&lt;/p&gt;

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

</description>
      <category>javascript</category>
      <category>beginners</category>
      <category>programming</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Variables with Kitties and Memes</title>
      <dc:creator>Edita Haroyan</dc:creator>
      <pubDate>Wed, 09 Nov 2022 17:15:22 +0000</pubDate>
      <link>https://dev.to/goyafan_33/variables-1me6</link>
      <guid>https://dev.to/goyafan_33/variables-1me6</guid>
      <description>&lt;p&gt;Hello fellow programmers and welcome to variables (please pronounce with italiano accent)&lt;br&gt;
In this short and butiful blog we'll discuss what they are, what they do, and why they do what they do.&lt;br&gt;
&lt;em&gt;Everything I say is regarding JavaScript, so most probably it won't work for other programming languages&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Let's start&lt;/strong&gt;&lt;br&gt;
First of all, what are variables? &lt;br&gt;
The best desribtion would be to think of them as a box, in which I can put anything. And by anything I mean ANYTHING, starting with numbers and ending with "war and peace" (or a kitty)&lt;/p&gt;

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

&lt;p&gt;In order to put something in the above mentioned box, first we write the type of the variable, then the name of the variable and what it contains, if it does. We can declare and assign them. Declaring means creating them, assigning means giving them a value which they will hold untill I change it. Here is the format we use &lt;/p&gt;

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

&lt;p&gt;As you can see we assigned a variable to a variable, by doing that the first variable will get the value of the second one. And we can print them to make sure everything is correct (to print anything we use "console.log()").&lt;/p&gt;

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

&lt;p&gt;There are three types of variables&lt;/p&gt;

&lt;p&gt;1 . &lt;strong&gt;Var&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Is used through the whole programm and can be changed or assigned.&lt;/p&gt;

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

&lt;p&gt;2 . &lt;strong&gt;let&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Is used only within the scope of where its declared. Meaning unlike &lt;strong&gt;var&lt;/strong&gt; it can't be used everywhere.&lt;/p&gt;

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

&lt;p&gt;3 . &lt;strong&gt;const&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;As you can guess from the name this one never changes&lt;/p&gt;

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

&lt;p&gt;In our variables we can do basic math. Here are examples&lt;/p&gt;

&lt;p&gt;1 . Addition&lt;/p&gt;

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

&lt;p&gt;2 . Subtraction&lt;/p&gt;

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

&lt;p&gt;3 . Multiplication &lt;/p&gt;

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

&lt;p&gt;4 . Division&lt;/p&gt;

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

&lt;p&gt;5 . Remainder&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;Some things to keep in mind&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;When naming a variable you can't use key terms (like var or function), and also they can't start with numbers, can't have space in them and most symbols won't work(only exception "_" and "$"). Therefore as much as I want to I can't name my variable &lt;br&gt;
"69 &amp;amp; 420" &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Now, this part is unnecessary&lt;/strong&gt; if you only need varibles, but still pretty interesting and will be useful for the post about functions. &lt;br&gt;
Arrays!!! They are like next level variables, so I thought it wouldn't hurt to talk about them.&lt;br&gt;
Variables are boxes, however they are very small boxes because they can store only one value at a time. Array is a biiig box, so it can store more than one thing at a time (few kitties instead of one)&lt;/p&gt;

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

&lt;p&gt;To make an array, we first make a variable then after "=" we put square breckets []. And whatever we want to put in the array, we put inside of it and separate with a comma. Here are some example&lt;/p&gt;

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

&lt;p&gt;As you can see, we can put strings and numbers here. However we can also put an array inside, so it will look like this &lt;/p&gt;

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

&lt;p&gt;This is called a nested array or a multidimensional array.&lt;br&gt;
Now let's see what we can do with them. First of all, each element of an array has its index, which is basically their number (note that computers start counting from 0 so the first element will have an index of 0). To show the index of an array write the array's name and put [] these next to it (ourArray[]). When we want to see a particular element we can use indexes to print them. To do that we must make a new variable and assign them to the index of the element we want&lt;/p&gt;

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

&lt;p&gt;As you can see, first we wanted to print the first element, so we used the index 0. Then we wanted to print the second element of the inside array, so we used two brackets, the first one meaning the number of the outside array and the second one being the index of the element from the small array. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;That's all for now &amp;lt;3&lt;br&gt;
Senk yu&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--6utbw-NM--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8gubuzb13k8ljrl5b7kb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--6utbw-NM--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8gubuzb13k8ljrl5b7kb.png" alt="Image description" width="640" height="1136"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>beginners</category>
      <category>programming</category>
      <category>tutorial</category>
    </item>
  </channel>
</rss>
