<?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: Dzun N</title>
    <description>The latest articles on DEV Community by Dzun N (@dzun_n).</description>
    <link>https://dev.to/dzun_n</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%2F241020%2F8bc958da-244b-4b99-a412-cf770d635cf4.jpeg</url>
      <title>DEV Community: Dzun N</title>
      <link>https://dev.to/dzun_n</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/dzun_n"/>
    <language>en</language>
    <item>
      <title>[Boost]</title>
      <dc:creator>Dzun N</dc:creator>
      <pubDate>Sun, 09 Feb 2025 13:49:10 +0000</pubDate>
      <link>https://dev.to/dzun_n/-n82</link>
      <guid>https://dev.to/dzun_n/-n82</guid>
      <description>&lt;div class="ltag__link"&gt;
  &lt;a href="/holasoymalva" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__pic"&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%2Fuser%2Fprofile_image%2F127521%2F042a1c32-81ce-4920-9ac1-2b120d12225c.png" alt="holasoymalva"&gt;
    &lt;/div&gt;
  &lt;/a&gt;
  &lt;a href="https://dev.to/holasoymalva/why-i-decided-to-stop-working-with-reactjs-in-2025-4d1l" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__content"&gt;
      &lt;h2&gt;Why I Decided to Stop Working with React.js in 2025&lt;/h2&gt;
      &lt;h3&gt;Leon Martin ・ Jan 7&lt;/h3&gt;
      &lt;div class="ltag__link__taglist"&gt;
        &lt;span class="ltag__link__tag"&gt;#javascript&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#react&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#node&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#programming&lt;/span&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/a&gt;
&lt;/div&gt;


</description>
      <category>javascript</category>
      <category>react</category>
      <category>node</category>
      <category>programming</category>
    </item>
    <item>
      <title>JavaScript Chapter 9 - Displaying the Date with JavaScript</title>
      <dc:creator>Dzun N</dc:creator>
      <pubDate>Tue, 01 Jun 2021 07:50:43 +0000</pubDate>
      <link>https://dev.to/dzun_n/javascript-chapter-9-displaying-the-date-with-javascript-3i98</link>
      <guid>https://dev.to/dzun_n/javascript-chapter-9-displaying-the-date-with-javascript-3i98</guid>
      <description>&lt;p&gt;In addition to PHP, with javascript we can also display the date. We can display dates in various formats. It can display days, minutes, seconds, months, years and more. Okay, let's just go into the discussion of this tutorial.&lt;/p&gt;

&lt;p&gt;DISPLAY DATE WITH JAVASCRIPT&lt;br&gt;
There is a special function provided in javascript to display the date. That is we can use the Date() function. By using this Date () function we can display the date. And to set the date format displayed, you can adjust it by giving/filling the date format as you wish in the Date() function parameter.&lt;br&gt;
Friends need to pay attention. As we discussed in the previous javascript tutorial, javascript is case sensitive, which means writing javascript is very influential about the case size. So to make a date, my friend must write the date function correctly, namely the letter "D" must be a capital letter.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Incorrect Example&amp;gt; &lt;code&gt;date()&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;True Example&amp;gt; &lt;code&gt;Date()&lt;/code&gt;
So if you write the &lt;code&gt;Date()&lt;/code&gt; function using all lowercase letters, the results will not appear. So it must begin with a capital letter at the beginning, in accordance with the provisions of writing the date function.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;
  
  
  EXAMPLE OF DISPLAYING DATE WITH JAVASCRIPT
&lt;/h2&gt;

&lt;p&gt;Okay, it doesn't take long, I will give an example of using the Date() function in javascript&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%2F2ooinfxe2u9mq3djw4h4.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%2F2ooinfxe2u9mq3djw4h4.png" alt="image" width="400" height="321"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Pada contoh ini, saya memasukkan fungsi date ke dalam variabel tanggal dan kemudian menampilkannya&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt; &lt;span class="kd"&gt;var&lt;/span&gt; &lt;span class="nx"&gt;tanggal&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;Date&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;

&lt;span class="nb"&gt;document&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;getElementById&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;hasil&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;).&lt;/span&gt;&lt;span class="nx"&gt;innerHTML&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;tanggal&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;and the result&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%2Fmog130hniaa0c0ji8d60.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%2Fmog130hniaa0c0ji8d60.png" alt="image" width="320" height="178"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  CONCLUSION
&lt;/h2&gt;

&lt;p&gt;In conclusion To display the date in javascript we must use the &lt;code&gt;Date()&lt;/code&gt; function and write &lt;code&gt;Date()&lt;/code&gt; must begin with a capital D (Large) . When you enter the &lt;code&gt;Date()&lt;/code&gt; function starting with lowercase letters, the function will not display an alias Error. But the example above is a very simple date creation, friend, you can give a css style so that the date looks more beautiful.  &lt;/p&gt;

</description>
      <category>javascript</category>
      <category>beginners</category>
      <category>tuto</category>
    </item>
    <item>
      <title>JavaScript Chapter 8 - Creating Number Input Using JavaScript</title>
      <dc:creator>Dzun N</dc:creator>
      <pubDate>Sat, 29 May 2021 07:09:54 +0000</pubDate>
      <link>https://dev.to/dzun_n/javascript-chapter-8-creating-number-input-using-javascript-4jjl</link>
      <guid>https://dev.to/dzun_n/javascript-chapter-8-creating-number-input-using-javascript-4jjl</guid>
      <description>&lt;p&gt;Welcome back again, In this JavaScript tutorial, we will discuss how to create an input form that only allows inputting numbers that can be typed into this form. If the user types a letter or other character, it will not work or what is input will not work or what is inputted will not appear on the input form. So the form we are going to create is a form that only accommodates numbers. Henceforth, friends can listen to the tutorial on how to make input only numbers using the following javascript.&lt;/p&gt;

&lt;h2&gt;
  
  
  Making Input Only Numbers with Javascript
&lt;/h2&gt;

&lt;p&gt;Sometimes in creating an application or website, we are required to create an input form that only allows inputting numbers. This aims to minimize errors in an application that we make. For how to make number validation using javascript, friends, please pay attention to the following explanation.&lt;/p&gt;

&lt;p&gt;Make an html or php file up to your themes. Here I provide a file with number.html where in this file we will validate numbers or make validation just numbers with javascript. First, we will create a form, friends.&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%2Fza7eyhjxr5fqfo8jnnje.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%2Fza7eyhjxr5fqfo8jnnje.png" alt="image" width="400" height="321"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Try friends, pay attention to the example syntax for creating a number input form above. First we first create a regular form.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;input&lt;/span&gt; &lt;span class="na"&gt;type=&lt;/span&gt;&lt;span class="s"&gt;"text"&lt;/span&gt; &lt;span class="na"&gt;onkeypress=&lt;/span&gt;&lt;span class="s"&gt;"return hanyaAngka(event)"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;But in this form we give an &lt;code&gt;onkeypress&lt;/code&gt; event. To make an action when this form is typed or inputted. So when typing occurs in this form, the function is run &lt;code&gt;only()&lt;/code&gt;.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;onkeypress="return hanyaAngka(event)"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Also returns the value of this function.&lt;br&gt;
Furthermore, friends, pay attention to the function only().&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;hanyaAngka&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;evt&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="kd"&gt;var&lt;/span&gt; &lt;span class="nx"&gt;charCode&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;evt&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;which&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;?&lt;/span&gt; &lt;span class="nx"&gt;evt&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;which&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;event&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;keyCode&lt;/span&gt;
    &lt;span class="k"&gt;if &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;charCode&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="mi"&gt;31&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;charCode&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&lt;/span&gt; &lt;span class="mi"&gt;48&lt;/span&gt; &lt;span class="o"&gt;||&lt;/span&gt; &lt;span class="nx"&gt;charCode&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="mi"&gt;57&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;

    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Here we check if what is inputted is a number, it will return true in the form.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="k"&gt;if &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;charCode&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="mi"&gt;31&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;charCode&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&lt;/span&gt; &lt;span class="mi"&gt;48&lt;/span&gt; &lt;span class="o"&gt;||&lt;/span&gt; &lt;span class="nx"&gt;charCode&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="mi"&gt;57&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now try running it in a browser.&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%2Fu7ymhdbqyyb4va5xdkz9.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%2Fu7ymhdbqyyb4va5xdkz9.png" alt="image" width="400" height="219"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Only numbers can be input.&lt;/p&gt;

&lt;h3&gt;
  
  
  How to make the maximum number of digits entered?
&lt;/h3&gt;

&lt;p&gt;To make the maximum number entered, you just need to add the maxlength attribute to the form element. example.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;input&lt;/span&gt; &lt;span class="na"&gt;type=&lt;/span&gt;&lt;span class="s"&gt;"text"&lt;/span&gt; &lt;span class="na"&gt;maxlength=&lt;/span&gt;&lt;span class="s"&gt;"2"&lt;/span&gt; &lt;span class="na"&gt;onkeypress=&lt;/span&gt;&lt;span class="s"&gt;"return hanyaAngka(event)"&lt;/span&gt;&lt;span class="nt"&gt;/&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;well, in the example above it means that we only allow 2 digit numbers to be input. Furthermore, you will not be able to type again on the form.&lt;/p&gt;

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

&lt;p&gt;Okay friends, that's enough for the tutorial, hopefully it's useful for your themes, if you have trouble, you can ask by filling in the comments column.&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>tutorial</category>
      <category>beginners</category>
    </item>
    <item>
      <title>JavaScript Chapter 7 - Events in JavaScript</title>
      <dc:creator>Dzun N</dc:creator>
      <pubDate>Fri, 28 May 2021 05:05:15 +0000</pubDate>
      <link>https://dev.to/dzun_n/javascript-chapter-7-events-in-javascript-456o</link>
      <guid>https://dev.to/dzun_n/javascript-chapter-7-events-in-javascript-456o</guid>
      <description>&lt;p&gt;Hello friends 👋👋. See you again at the basic JavaScript tutorial. This time according to the title, we will discuss events in JavaScript, just go to the material.&lt;/p&gt;

&lt;h2&gt;
  
  
  INTRODUCTION AND UNDERSTANDING JAVASCRIPT
&lt;/h2&gt;

&lt;p&gt;Hello friends. This time, according to the title, we will discuss Events in Javascript. Do you know what an event is? An event is something the user does that triggers the nets of code. Surely my friend is still confused by this understanding. I will explain again bye, Suppose we have a button on a website or application that we build. And we want to give an action when the button is clicked. So the event here is an "event". For example, when the button is clicked it will display a sentence. So the event is a click. The following events are contained in javascript.&lt;/p&gt;

&lt;h2&gt;
  
  
  Kinds of Events in Javascript
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;onclick&lt;/code&gt; = event when an html element is clicked&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;onchange&lt;/code&gt; = event when an html element changes&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;onmouseover&lt;/code&gt; = event if an html element is placed the mouse cursor&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;onmouseout&lt;/code&gt; = event if when the mouse cursor leaves the html element&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;onkeydown&lt;/code&gt; = is an event if when an HTML element occurs&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;onload&lt;/code&gt; = event when the element or page is loaded
Well, we will discuss some of the Javascript events described above.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  HOW TO MAKE A JAVASCRIPT EVENT
&lt;/h2&gt;

&lt;p&gt;To create an event with javascript, we can add attributes with the event names above, to the html element that we want to give an event for example.&lt;/p&gt;

&lt;h2&gt;
  
  
  EXAMPLE EVENT ON JAVASCRIPT
&lt;/h2&gt;

&lt;p&gt;For example I will create a click event on a button. So I want to display a sentence when the button is clicked:&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%2Fxnmg7dc0g5glk2vjo2ga.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%2Fxnmg7dc0g5glk2vjo2ga.png" alt="image" width="779" height="518"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Try my friend, pay attention to the example above, there is a button that we give when the event is clicked.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;button&lt;/span&gt; &lt;span class="na"&gt;onclick=&lt;/span&gt;&lt;span class="s"&gt;"show_name()"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;Click here&lt;span class="nt"&gt;&amp;lt;/button&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;When this button is clicked it will run the &lt;code&gt;show_name()&lt;/code&gt; function. So then we create a function name show.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;tampil_nama&lt;/span&gt;&lt;span class="p"&gt;(){&lt;/span&gt;&lt;span class="nx"&gt;dicument&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;getElementByid&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;hasil&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;).&lt;/span&gt;&lt;span class="nx"&gt;innerHTML&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;&amp;lt;h3&amp;gt;Nama Saya Dzun&amp;lt;/h3&amp;gt;&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The content of the function &lt;code&gt;show_name()&lt;/code&gt; is to display the sentence "My name is Yogi" in the result id element.&lt;/p&gt;

&lt;p&gt;Look at the following picture.&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%2Fk3u7lqpgyujlq67srzqh.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%2Fk3u7lqpgyujlq67srzqh.png" alt="image" width="800" height="438"&gt;&lt;/a&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%2Forjwk8apmzihtwh3ceqs.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%2Forjwk8apmzihtwh3ceqs.png" alt="image" width="800" height="438"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;After clicking the "button" it will appear under the "My name is Dzun" button.&lt;/p&gt;

&lt;h2&gt;
  
  
  CONCLUSION
&lt;/h2&gt;

&lt;p&gt;In conclusion, there are 6 events in javascript and the one I example above is the onclick event. So when we click the button, the contents of the function will appear more or less like that and you can develop it yourself according to your creativity. So, until this article on learning Javascript, Thank you  &lt;/p&gt;

</description>
      <category>javascript</category>
      <category>beginners</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>JavaScript Chapter 6 - Creating JavaScript Functions</title>
      <dc:creator>Dzun N</dc:creator>
      <pubDate>Fri, 28 May 2021 04:31:59 +0000</pubDate>
      <link>https://dev.to/dzun_n/javascript-chapter-6-creating-javascript-functions-3f76</link>
      <guid>https://dev.to/dzun_n/javascript-chapter-6-creating-javascript-functions-3f76</guid>
      <description>&lt;p&gt;In this chapter 6 basic javascript learning tutorial we will continue our discussion of the basic tutorial. Previously we have discussed about other basic javascript tutorials from chapter 1 to chapter 5. in this tutorial to learn basic javascript chapter 6 we will discuss about "Creating Functions in JavaScript".&lt;/p&gt;

&lt;p&gt;What is a function? maybe some of my friends still don't know the meaning of a function, so I will review a little about the meaning of function&lt;/p&gt;

&lt;h2&gt;
  
  
  DEFINITION OF FUNCTION IN JAVASCRIPT
&lt;/h2&gt;

&lt;p&gt;A function is a facility in every programming to create a command whose function we can use repeatedly indefinitely. As long as the page is still connected to the function in question.&lt;/p&gt;

&lt;h2&gt;
  
  
  CREATE A FUNCTION IN JAVASCRIPT
&lt;/h2&gt;

&lt;p&gt;To create functions in javascript, there are several things that must be understood first. Namely about writing functions in javascript. The following is an example of a function writing format in javascript.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;script&amp;gt;&lt;/span&gt; 
&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="nx"&gt;Create&lt;/span&gt; &lt;span class="nx"&gt;Javascript&lt;/span&gt; &lt;span class="kd"&gt;function&lt;/span&gt;
&lt;span class="nf"&gt;function&lt;/span&gt; &lt;span class="nx"&gt;name&lt;/span&gt; &lt;span class="nf"&gt;_function&lt;/span&gt;&lt;span class="p"&gt;(){&lt;/span&gt; 
&lt;span class="c1"&gt;// the contents of the function are made here&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt; 
&lt;span class="nt"&gt;&amp;lt;/script&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;As we have seen in the example above. To create a function the writing must be preceded by a syntax function then followed by the name of the function to be created. And the contents of the function are written in curly braces "{}". Here is a simple example of using a javascript function.&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%2F1g9o7k59k471er4i07gd.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%2F1g9o7k59k471er4i07gd.png" alt="image" width="400" height="266"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Consider the example above&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;tampilkan_nama&lt;/span&gt;&lt;span class="p"&gt;(){&lt;/span&gt; 
&lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;Nurroin's Blog&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;We create a function named "showname ()" which contains the command to return the string "Script Kiddies". So when the show_name () function is called, the result is 'Nurroin's Blog'&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%2F1jl03dsdf491ca0z1pmv.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%2F1jl03dsdf491ca0z1pmv.png" alt="image" width="400" height="219"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  CONCLUSION
&lt;/h2&gt;

&lt;p&gt;That's how to create a function in javascript, in essence, we have to create a function first, then the name of the function and the contents of the function are located in curly brackets (). And we just call the function and in the example above I print the function display name using document.getElementById &lt;/p&gt;

</description>
      <category>javascript</category>
      <category>beginners</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>JavaScript Chapter 5 - Understanding Data Types in JavaScript</title>
      <dc:creator>Dzun N</dc:creator>
      <pubDate>Fri, 21 May 2021 00:17:54 +0000</pubDate>
      <link>https://dev.to/dzun_n/javascript-chapter-5-understanding-data-types-in-javascript-1864</link>
      <guid>https://dev.to/dzun_n/javascript-chapter-5-understanding-data-types-in-javascript-1864</guid>
      <description>&lt;p&gt;See you again in the basic javascript tutorial. In this tutorial, we are still discussing the basics of javascript. according to the title of this tutorial "Knowing the Data Types in JavaScript". So we will discuss what data types in javascript, how to use them and as it relates to data types in javascript. Just go straight to the material.&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%2Fldqu6pi7melwtmriyb7b.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%2Fldqu6pi7melwtmriyb7b.png" alt="image" width="512" height="342"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  KNOWING JAVASCRIPT DATA TYPE
&lt;/h2&gt;

&lt;p&gt;We start by getting to know javascript data types. Javascript has 5 data types that each have their uses and functions. Following are the data types in javascript&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;String&lt;/li&gt;
&lt;li&gt;Number&lt;/li&gt;
&lt;li&gt;Boolean&lt;/li&gt;
&lt;li&gt;Array&lt;/li&gt;
&lt;li&gt;Object&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  JAVASCRIPT STRING DATA TYPE
&lt;/h2&gt;

&lt;p&gt;In my opinion, the Type Data String plays an important role. Without the string data type we cannot define one variable by another. A string data type stores a string of characters such as "I'm Learning Javascript". A string can be text within two quotes (") or one ('). Zero-based string index: The first character is in position 0, the second in 1, etc. The following is an example of using the javascript string data type.&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%2Ftqlhz84elun74h7j7sua.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%2Ftqlhz84elun74h7j7sua.png" alt="index.js" width="674" height="547"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;We can see in the example above that we create a string data type and display it in the &lt;code&gt;&amp;lt;p&amp;gt;&lt;/code&gt; tag along with the results.&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%2F8nd0w5xbllh8axbo5vei.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%2F8nd0w5xbllh8axbo5vei.png" alt="image" width="400" height="219"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  DATA TYPE NUMBER JAVASCRIPT
&lt;/h2&gt;

&lt;p&gt;Data Type Number is a data type that is in the form of integers. Examples are 1,2,3,4,5,6,7,8,9,0 ..... etc. The following is an example of using the javascript data type.&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%2Flw8p9xt446i6siy71lme.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%2Flw8p9xt446i6siy71lme.png" alt="image" width="400" height="266"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;As we can see in the example above, our data number type does not require quotation marks (') and does not need to be filled with variables. And when we run it on a web browser, the results are as follows&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%2Fesfyp4hdc9rhqivhbdoe.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%2Fesfyp4hdc9rhqivhbdoe.png" alt="image" width="400" height="219"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  JAVASCRIPT OBJECT DATA TYPE
&lt;/h2&gt;

&lt;p&gt;A Boolean data type is a data type that has only two values, namely true (True) or false (False). The boolean data type is often used to create the flow of program logic. Logical structures, such as if, else, while, and do while, require boolean values to "control" the flow of the program. Maybe my friend will find a value like the following&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;YES / NO&lt;/li&gt;
&lt;li&gt;ON / OFF&lt;/li&gt;
&lt;li&gt;TRUE / FALSE
But Booleans only have True or False values. Here is a simple example of using the Boolean data type in javascript.&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%2F0vnbcqrh57usl9ztcawy.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%2F0vnbcqrh57usl9ztcawy.png" alt="image" width="400" height="266"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;So we're going to make a check. When we click the button, we will check whether the created variable is true or false. Because we enter 10&amp;gt; 9 then the output will be True. If we make 10 &amp;lt;9 then the output is false&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%2Fhfgug0i7jsdqefbnj07t.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%2Fhfgug0i7jsdqefbnj07t.png" alt="image" width="400" height="219"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  JAVASCRIPT ARRAY DATA TYPE
&lt;/h2&gt;

&lt;p&gt;Array data type is a data type that can store several values in one variable. And the values in these variables are numbered according to their sequence. The first element in the array is 0, the second is 1 and so on. To make it easier for us to call or display an array, consider the following example:&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%2Fjwimrkxwcbc8u3iizi6b.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%2Fjwimrkxwcbc8u3iizi6b.png" alt="image" width="400" height="266"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Pay attention to the data type example above. There is an array data type in the animal variable&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;var&lt;/span&gt; &lt;span class="nx"&gt;hewan&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;Kambing&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;Macan&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;Kucing&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;];&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;In the animal array variable, there are data of Kambing, Macan, Cats. It means that the denominator for Kambing is [0], Macan [1], Kucing [2]. The numbers start at 0. And to access / display are as follows&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="nx"&gt;hewan&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This means that we select the array data in the 1st order animal variable. And it will display the animal because the animal is the 1st order, more details are as follows:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;0 = Kambing&lt;/li&gt;
&lt;li&gt;1 = Macan&lt;/li&gt;
&lt;li&gt;2 = Kucing&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%2Fue1uluw8ywvzo3irm5kd.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%2Fue1uluw8ywvzo3irm5kd.png" alt="image" width="400" height="219"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I also added the sentence "Display 2nd element" as we can see above and we can add plus (+) to combine the html element and the variables.&lt;/p&gt;

&lt;h2&gt;
  
  
  JAVASCRIPT OBJECT DATA TYPE
&lt;/h2&gt;

&lt;p&gt;The object data type contains a lot of data in a variable. Have their respective names and values. Like the following example.&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%2Frk7udfils0aj2m3edwvt.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%2Frk7udfils0aj2m3edwvt.png" alt="image" width="400" height="266"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Here there is an object data type&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="c1"&gt;//Tpe data object    var manusia = {         nama : "Yogi",         alamat : "Madiun",         umur : 17,         status : "lajang",      };&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;name, alamat, umur, status are data names. And Yogi, Madiun, 17, single is the value. To access the data write down the variable, and then follow it by the name of the data. For example, I want to write down the name data and the writing is human. Name, it will be displayed Yogi. And when we run the script above in a web browser, the results are as follows&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%2Fl3coo0mmsgabrv5ox26c.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%2Fl3coo0mmsgabrv5ox26c.png" alt="image" width="400" height="219"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  CONCLUSION
&lt;/h2&gt;

&lt;p&gt;Those are the types of data types in javascript, there are 5 data types, namely String, Number, Boolean, Array, Object which have their respective functions as I have explained above. If you have any questions, please comment below and I'll be happy to reply ^ _ ^ &lt;/p&gt;

</description>
      <category>javascript</category>
      <category>beginners</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Javascript Chapter 4 - Arithmetic Operators in JavaScript</title>
      <dc:creator>Dzun N</dc:creator>
      <pubDate>Tue, 18 May 2021 02:00:36 +0000</pubDate>
      <link>https://dev.to/dzun_n/javascript-chapter-4-arithmetic-operators-in-javascript-102d</link>
      <guid>https://dev.to/dzun_n/javascript-chapter-4-arithmetic-operators-in-javascript-102d</guid>
      <description>&lt;p&gt;Arithmetic operators in JavaScript are very necessary when we create applications that require logic that requires us to make calculations, whether it is a small number of calculations or a very large number of computations. Therefore I will discuss about "Arithmetic Operators in JavaScript".&lt;/p&gt;

&lt;p&gt;Arithmetic / math operators are used to assign values, compare values, perform arithmetic operations, and much more. Arithmetic operators are indispensable when we create applications that require calculation logic. Whether it's a small number or a large number of calculations. And in this tutorial, I will discuss what Arithmetic operators are&lt;br&gt;
Before learning further about javascript arithmetic operators, we will discuss what operators are available in javascript that we can use to create calculation applications using javascript.&lt;/p&gt;

&lt;p&gt;Here are the operators that we can use to create arithmetic operators&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Operator&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;+&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Addition&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;:-----:&lt;/td&gt;
&lt;td&gt;:-----:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;-&lt;/td&gt;
&lt;td&gt;Subtraction&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;*&lt;/td&gt;
&lt;td&gt;Multiplication&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;**&lt;/td&gt;
&lt;td&gt;Exponentiation (ES2016)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;/&lt;/td&gt;
&lt;td&gt;Division&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;%&lt;/td&gt;
&lt;td&gt;Modulus (Remainder)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;++&lt;/td&gt;
&lt;td&gt;Increment&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;--&lt;/td&gt;
&lt;td&gt;Decrement&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;h2&gt;
  
  
  HOW TO MAKE ARITHMATIC CALCULATIONS WITH JAVASCRIP
&lt;/h2&gt;

&lt;p&gt;The following is an example of writing to create a javascript arithmetic operator&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%2F4p3epplezbvz0u73k4li.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%2F4p3epplezbvz0u73k4li.png" alt="index.html" width="400" height="325"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In the example above, we made an example of making addition arithmetic operators. By creating two variables and filling in the values of each of these variables, namely variables numbers1 and numbers, where variable1 I fill in the value 5 and variable numbers I fill in the value 8. Then to add them we just need to add the number operator as follows:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="nb"&gt;document&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;getElementById&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;penjumlahan&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;).&lt;/span&gt;&lt;span class="nx"&gt;innerHTML&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;penjumlahan&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;At this point, the summation variable already contains the value of number1 + number2, namely 5 + 8. Then we display the results on the element with the id of addition. And when we try to run it in a web browser, the results are as follows&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%2Fxniabk5l770bckzrst8f.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%2Fxniabk5l770bckzrst8f.png" alt="index.html result" width="400" height="219"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  CONCLUSION
&lt;/h2&gt;

&lt;p&gt;Javascript has several arithmetic operators including addition (+), subtraction (-), multiplication (*), division (/), modulus (%), increment (++), decrement (-) which we can use to make an operation mathematics and one of the examples we can apply is by making a calculator with javascript&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>tutorial</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Javascript Chapter 3 - Knowing Variables in JavaScript</title>
      <dc:creator>Dzun N</dc:creator>
      <pubDate>Mon, 17 May 2021 01:34:44 +0000</pubDate>
      <link>https://dev.to/dzun_n/javascript-chapter-3-knowing-variables-in-javascript-21nl</link>
      <guid>https://dev.to/dzun_n/javascript-chapter-3-knowing-variables-in-javascript-21nl</guid>
      <description>&lt;p&gt;Not only in PHP we can find variables called variables, but also JavaScript has variables. The use of variables in javascript is the same as the use of variables in other programming languages. Namely for temporary data storage.&lt;/p&gt;

&lt;h2&gt;
  
  
  HOW TO WRITE VARIABLES JAVASCRIPT
&lt;/h2&gt;

&lt;p&gt;What must be considered in writing javascript is, all writing variables in javascript must not contain spaces, must pay attention to writing upper and lowercase letters. For more details, consider the following points.&lt;/p&gt;

&lt;p&gt;An important point in writing javascript variables&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Writing variable names can use letters, numbers, underscores, and dollar signs&lt;/li&gt;
&lt;li&gt;Writing variable names must begin with a letter&lt;/li&gt;
&lt;li&gt;Writing javascript variable names must pay attention to uppercase (case sensitive)&lt;/li&gt;
&lt;li&gt;Variable names cannot contain spaces&lt;/li&gt;
&lt;li&gt;Writing javascript variables begins with the syntax "var"&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  HOW TO MAKE A JAVASCRIPT VARIABLES
&lt;/h2&gt;

&lt;p&gt;Well, first we prepare the html file, here I named it index.html&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%2Fofzt7ys1ktamj1joh95z.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%2Fofzt7ys1ktamj1joh95z.png" alt="index.html" width="400" height="317"&gt;&lt;/a&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%2Fj3qwdzsacm9e517obmaz.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%2Fj3qwdzsacm9e517obmaz.png" alt="result index.html" width="400" height="219"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;As we saw in the syntax above. I created two variables which I named "nama" and "alamat". Don't forget to put a semicolon or semicolon (;) at the end of the variable line as this is a definition of javascript.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;var&lt;/span&gt; &lt;span class="nx"&gt;nama&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;Nurroin's Blog&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="kd"&gt;var&lt;/span&gt; &lt;span class="nx"&gt;alamat&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;Probolinggo&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;And then I output the contents of the variable into the nama and alamat elements&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="nb"&gt;document&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;getElementById&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;nama&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;).&lt;/span&gt;&lt;span class="nx"&gt;innerHTML&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;nama&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="nb"&gt;document&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;getElementById&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;alamat&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;).&lt;/span&gt;&lt;span class="nx"&gt;innerHTML&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;alamat&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Note :&lt;/strong&gt; &lt;code&gt;document.getElementById()&lt;/code&gt; useful for specifying element by id in accordance with the function parameter. innerHTML to implement HTML syntax.&lt;/p&gt;

&lt;h2&gt;
  
  
  CONCLUSION
&lt;/h2&gt;

&lt;p&gt;Variant is a place to store temporary data and the contents of this variable can be retrieved. There are several important points that we should know when using variables in javascript. That is case sensitive, we must pay attention to the upper and lower case letters that we make, we must not precede variable names with letters, etc. as I explained above.&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>beginners</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>JavaScript Chapter 2 - Writing And Using Javascript</title>
      <dc:creator>Dzun N</dc:creator>
      <pubDate>Sat, 15 May 2021 08:58:54 +0000</pubDate>
      <link>https://dev.to/dzun_n/javascript-chapter-2-writing-and-using-javascript-1ie3</link>
      <guid>https://dev.to/dzun_n/javascript-chapter-2-writing-and-using-javascript-1ie3</guid>
      <description>&lt;p&gt;Welcome to the basic javascript tutorial. This is a javascript tutorial chapter 2, where in part 1 we discussed &lt;a href="https://dev.to/dzun_n/javascript-chapter-1-understanding-and-introduction-of-javascript-36hb"&gt;understanding and introducing javascript&lt;/a&gt;. So that it is not crisp, just enter the material.&lt;/p&gt;

&lt;h2&gt;
  
  
  HOW TO WRITE JAVASCRIPT
&lt;/h2&gt;

&lt;p&gt;We start with writing good and correct javascript syntax. And as for the basic knowledge of javascript that we must master.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Saved with the .js extension&lt;/li&gt;
&lt;li&gt;The javascript syntax that is inserted in the HTML page is written in the &lt;code&gt;&amp;lt;script&amp;gt;&lt;/code&gt; tag&lt;/li&gt;
&lt;li&gt;JavaScript syntax can be placed in the &lt;code&gt;&amp;lt;head&amp;gt;&lt;/code&gt; or &lt;code&gt;&amp;lt;body&amp;gt;&lt;/code&gt; tag&lt;/li&gt;
&lt;li&gt;Element Javascript is case sensitive&lt;/li&gt;
&lt;li&gt;At the end of each line is closed with a semicolon.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;JavaScript syntax can be used in 2 ways. Namely by inserting it on the HTML page directly, and another by saving the javascript file with the .js extension and then including it on the HTML page. To be more specific, we will discuss one by one.&lt;/p&gt;

&lt;h2&gt;
  
  
  USING JAVASCRIPT INTERNAL
&lt;/h2&gt;

&lt;p&gt;Writing javascript internally is by directly inserting javascript syntax in HTML. If you use this method, you have to put the javascript syntax between the opening &lt;code&gt;&amp;lt;script&amp;gt;&lt;/code&gt; tag and the closing &lt;code&gt;&amp;lt;/script&amp;gt;&lt;/code&gt; tag. And put it in the &lt;/p&gt; tag, and it could also be in the &lt;code&gt;&amp;lt;body&amp;gt;&lt;/code&gt; tag. For example, create an HTML file to find out how javascript works / writes internally. It can be an html file or a php file. Because javascript is able to run between the two. Here I just created an html file as an example. Create an html file with an .html extension here I use the name belajar1.html

&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%2Fgajwpg6705n0d6it29qb.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%2Fgajwpg6705n0d6it29qb.png" title="belajar1.html" alt="belajar1.html" width="400" height="317"&gt;&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;Look at the example above. there is a div element which we give the id "name". Then we give it a touch of Javascript with the following command&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="nb"&gt;document&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;getElementById&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;nama&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;).&lt;/span&gt;&lt;span class="nx"&gt;innerHTML&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;Nama Saya Dzun&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Document is a mandatory syntax in javascript, and the getElementById function functions to order an element that has an id that matches the content in the getElementById parameter itself. Writing big and small must be considered. Because Javascript is case sensitive and innerHTML functions to write HTML. So in full we are calling for writing "My name is Dzun" in the element with the id "name". If run in a web browser the results are as follows:&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%2Frone285c9igdw65pujcy.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%2Frone285c9igdw65pujcy.png" alt="image" width="400" height="219"&gt;&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;In writing JavaScript it can also be done externally, meaning that the script from JavaScript is written on another page from Index.html as in writing CSS. example:&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%2Fckqiuhd5art8q4njcw2r.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%2Fckqiuhd5art8q4njcw2r.png" alt="index.html" width="400" height="317"&gt;&lt;/a&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%2F5uexs5garqouwv7f9dxk.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%2F5uexs5garqouwv7f9dxk.png" alt="image" width="400" height="317"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;So the syntax of Javascript is called by:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nx"&gt;script&lt;/span&gt; &lt;span class="nx"&gt;type&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;text/javascript&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt; &lt;span class="nx"&gt;src&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;javascript.js&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span class="sr"&gt;/script&lt;/span&gt;&lt;span class="err"&gt;&amp;gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;And the result is the same as before.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;CONCLUSION&lt;/strong&gt;&lt;br&gt;
We can use 2 methods of writing Javascript, namely internal and external. Internal method, namely by placing the Javascript script in the html file. The External method is by creating our own javascript file and connecting the html file with javascript&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>beginners</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>JavaScript Chapter 1 - Understanding and Introduction of JavaScript</title>
      <dc:creator>Dzun N</dc:creator>
      <pubDate>Wed, 12 May 2021 11:16:43 +0000</pubDate>
      <link>https://dev.to/dzun_n/javascript-chapter-1-understanding-and-introduction-of-javascript-36hb</link>
      <guid>https://dev.to/dzun_n/javascript-chapter-1-understanding-and-introduction-of-javascript-36hb</guid>
      <description>&lt;ul&gt;
&lt;li&gt;In this tutorial, I will explain about the basics of JavaScript.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Definition
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;JavaScript&lt;/strong&gt; is a programming language that is useful for making interactions on websites. So that the website looks more alive. For example, create effects on the website. JavaScript has become one of the mandatory programming languages ​​and must be mastered to create a modern website. JavaScript is a requirement and programming language that must be mastered. Especially for those of you who will specialize in the web design section. The several programming languages ​​that a web developer must master are:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;HTML: In building a website, HTML acts as a form creation.&lt;/li&gt;
&lt;li&gt;CSS: In building a website, CSS has a role as a benthic design, color, writing and so on.&lt;/li&gt;
&lt;li&gt;JavaScript: In building a website, JavaScript is useful for creating features and effects that make website pages more interactive.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  BACKGROUND
&lt;/h2&gt;

&lt;p&gt;In today's developing world of websites, javascript is a programming language that is needed. Many websites use javascript to create dialog modal, form validation, games, ajax calculation operations and so on. So we must master this javascript so that the website we create is more alive&lt;br&gt;
Examples of websites that use javascript to make their website more interactive are Google, Facebook, Twitter and others. One of the uses of javascript on Facebook is that Facebook has a chat box feature that we can close and open. The chat form can be opened and closed because it uses javascript assistance. Then if you buy a plane ticket through the airline ticket provider website. after you select the current city and select the destination city, the airline will appear without reloading the page. Those are some examples of using Javascript&lt;/p&gt;

&lt;h2&gt;
  
  
  Purpose and Objectives
&lt;/h2&gt;

&lt;p&gt;Javascript is a programming language that must be mastered by web developers because javascript has features that are not shared by other programming languages. So those of us who want to become web developers are obliged to learn this javascript so that the website we create will have a lively or interactive impression.&lt;br&gt;
&lt;strong&gt;WHAT CAN JAVASCRIPT DO?&lt;/strong&gt; To further emphasize understanding of javascript, the following will explain what javascript can do : &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  Javascript dapat mengganti atribut HTML&lt;/li&gt;
&lt;li&gt;  Javascript dapat mengganti style CSS&lt;/li&gt;
&lt;li&gt;  Javascript dapat membuat form validasi&lt;/li&gt;
&lt;li&gt;  Javascript dapat membuat sebuah game sederhana&lt;/li&gt;
&lt;li&gt;  Javascript memiliki fitur animasi yang lebih lengkap dan bagus daripada bahasa pemrograman lainya&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;And there is much more that javascript can do which we will discuss in this Javascript Tutorial topic.&lt;/p&gt;

&lt;h2&gt;
  
  
  KESIMPULAN
&lt;/h2&gt;

&lt;p&gt;With this javascript, we can make our website look more lively or interactive. Even though the javascript language is a bit difficult to understand, this programming language has a big role to play in making an interactive website but in my opinion it is not obligatory to add this programming language to your website, but to make it more interactive I suggest adding this programming language.&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>beginners</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>These 5 game 🎮 engines don't require coding to make games 🕹</title>
      <dc:creator>Dzun N</dc:creator>
      <pubDate>Tue, 11 May 2021 11:23:28 +0000</pubDate>
      <link>https://dev.to/dzun_n/these-5-game-engines-don-t-require-coding-to-make-games-5do1</link>
      <guid>https://dev.to/dzun_n/these-5-game-engines-don-t-require-coding-to-make-games-5do1</guid>
      <description>&lt;p&gt;Coding is a term for a programmer who is compiling a programming language so that it can run as desired. In the video game industry, apart from animators and story writers, programmers are people who have major services in making video games. Because without a game programmer it might not work as you wish and there are lots of bugs and glitches.&lt;/p&gt;

&lt;p&gt;But to be able to do programming you have to sacrifice a lot of your time to learn it. Because even those who are professionals still make many mistakes in programming. Well, for that this time ApkVenue will provide a list of 5 game engines that don't require coding to make them, so you don't have to have trouble making games.&lt;/p&gt;

&lt;h1&gt;
  
  
  These 5 game 🎮 engines don't require coding to make games 🕹
&lt;/h1&gt;

&lt;h2&gt;
  
  
  &lt;a href="https://www.yoyogames.com/en/gamemaker" rel="noopener noreferrer"&gt;1. Gamemaker Studio&lt;/a&gt;
&lt;/h2&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%2F5wizidwh3v83957bckbe.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%2F5wizidwh3v83957bckbe.png" alt="image" width="800" height="449"&gt;&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Gamemaker Studio&lt;/strong&gt; is a game engine with a fairly active community base and already has its own store like &lt;strong&gt;Steam&lt;/strong&gt;. This engine uses a &lt;strong&gt;drag and drop&lt;/strong&gt; feature to make it easier for anyone who has never done coding to create a game. This engine tutorial is available quite a lot on YouTube and an example of a game made with this engine is &lt;strong&gt;Undertale&lt;/strong&gt; which is the &lt;strong&gt;Game Of The Year&lt;/strong&gt; in 2015.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;a href="https://www.scirra.com/" rel="noopener noreferrer"&gt;2. Construct 2&lt;/a&gt;
&lt;/h2&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%2Fh6yq2jpxne3gihrgm1i3.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%2Fh6yq2jpxne3gihrgm1i3.png" alt="image" width="720" height="300"&gt;&lt;/a&gt; &lt;br&gt;
Just like the Gamemaker Studio engine, this engine also uses a drag and drop feature that you can use to compile the scripting code that has been provided so that you are no longer busy with coding activities that will make your head dizzy. This engine itself is more for games that have pixel art graphics in the style of retro games.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;a href="https://www.buildbox.com/" rel="noopener noreferrer"&gt;3. BuildBox&lt;/a&gt;
&lt;/h2&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%2Fs3d6zqgirzrb9d0cmisl.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%2Fs3d6zqgirzrb9d0cmisl.png" alt="image" width="800" height="485"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;BuildBox is a game engine that has given birth to many famous arcade games available on the Play Store, such as Color Switch. This engine only supports 2D graphic game creation using voxel art. This engine is perfect for those of you who want to make fun arcade games like the games made by Ketchapp easily, because the UI on the engine looks friendly to non-programmers and uses the drag and drop feature.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;a href="http://www.stencyl.com/" rel="noopener noreferrer"&gt;4. Stencyl&lt;/a&gt;
&lt;/h2&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%2Ftnqgn44tsn9g0v3ruesi.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%2Ftnqgn44tsn9g0v3ruesi.png" alt="image" width="750" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Stencyl is a special 2D game engine that also has features that are almost the same as other non-coding engines, the only difference is that the UI is different and your experience using this engine, this engine itself is less attractive because it is less competitive with other game engines, but this engine is also great if you want to give it a try.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;a href="https://www.unrealengine.com/" rel="noopener noreferrer"&gt;5. Unreal Engine 4&lt;/a&gt;
&lt;/h2&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%2Fmrok1lz0rwx6ephvsso8.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%2Fmrok1lz0rwx6ephvsso8.png" alt="image" width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Unreal Engine 4 is an AAA game engine that has spawned many big names such as Borderlans 2, Gears Of War 4, Injustice 2. This engine itself is well known for its engine performance that can render very beautiful graphics. Basically, this engine requires c ++ language, which is certainly difficult to learn, but you can use the blueprint method which is almost the same as the drag and drop method which tells it to compile the code provided to be arranged according to the algorithm you want.&lt;/p&gt;

&lt;p&gt;So, those are 5 game engines that don't require coding to make them. So, are you now interested in making a game? So, there's no more reason to say "not good at coding" when you want to make a game. Besides getting profit in making games you can also make Indonesia proud too, you know! So let's make a game. 😃🙏✊&lt;/p&gt;

&lt;p&gt;If you guys has some others game engine, just tell us in the comment below.&lt;/p&gt;

</description>
      <category>gamedev</category>
      <category>tools</category>
      <category>gameengine</category>
    </item>
    <item>
      <title>Keep Save your money 💵, and Let's get a 👑 Premium Courses for free as a 👩‍🎓👨‍🎓 university student</title>
      <dc:creator>Dzun N</dc:creator>
      <pubDate>Sun, 09 May 2021 22:33:08 +0000</pubDate>
      <link>https://dev.to/dzun_n/keep-save-your-money-and-let-s-get-a-premium-courses-for-free-as-a-university-student-m5p</link>
      <guid>https://dev.to/dzun_n/keep-save-your-money-and-let-s-get-a-premium-courses-for-free-as-a-university-student-m5p</guid>
      <description>&lt;p&gt;As student, we would pay out for getting premium courses to get study out of school. But how about you have access to many courses/resources for free that others have to pay for. It's a great opportunity to gain some edge, learn tools that are highly in demand while not spending any money.&lt;/p&gt;

&lt;p&gt;The greatest package, you can access as a student is &lt;a href="https://education.github.com/pack" rel="noopener noreferrer"&gt;GitHub Student Developer Pack&lt;/a&gt;. &lt;/p&gt;

&lt;h2&gt;
  
  
  GitHub Student Developer Pack
&lt;/h2&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%2Ftwwariw2df4a4phj7aiv.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%2Ftwwariw2df4a4phj7aiv.png" alt="image" width="800" height="419"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How do I register it ?
&lt;/h2&gt;

&lt;p&gt;You don't have to bother about it. If you have an academic email address Github recognize, access is granted immediately. Besides great deals on learning platform, you also get a bunch of other great deals. So check that out!&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;a href="https://frontendmasters.com/welcome/github-student-developers/" rel="noopener noreferrer"&gt;Frontend Masters&lt;/a&gt;
&lt;/h3&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%2F3ipf3kzfuosohljt1oyn.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%2F3ipf3kzfuosohljt1oyn.png" alt="image" width="800" height="420"&gt;&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;The best deal in the GitHub student package is definitely  &lt;strong&gt;6 months&lt;/strong&gt;  of free access to  &lt;strong&gt;Frontend Masters&lt;/strong&gt;. It is worth between  &lt;strong&gt;200-250 USD&lt;/strong&gt;  and the content there is just awesome. If you wanna step up your web development skills, this is the platform you should use.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;a href="https://www.datacamp.com/" rel="noopener noreferrer"&gt;Data Camp&lt;/a&gt;
&lt;/h3&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%2Fx2eyclhb3whhsnbd9z5n.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%2Fx2eyclhb3whhsnbd9z5n.png" alt="image" width="800" height="419"&gt;&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;If you are more interested in the world of data, you can get  &lt;strong&gt;3 months&lt;/strong&gt;  access to Data Camp. There you can learn Python, SQL, or R and really get a good grasp of advanced concepts. This content is worth  &lt;strong&gt;75 USD&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;a href="https://www.educative.io/github-students" rel="noopener noreferrer"&gt;Educative.io&lt;/a&gt;
&lt;/h3&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%2Fllooekji04wyhkjc6cto.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%2Fllooekji04wyhkjc6cto.png" alt="image" width="800" height="417"&gt;&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;Another great platform with several famous courses that might help you land a dream job. Their System Design course is highly popular and you can get  &lt;strong&gt;3 months&lt;/strong&gt;  for free worth over  &lt;strong&gt;100 USD&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;a href="https://next.tech/github-students" rel="noopener noreferrer"&gt;next.tech&lt;/a&gt;
&lt;/h3&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%2F3adl76p35xgydek0su70.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%2F3adl76p35xgydek0su70.png" alt="image" width="800" height="417"&gt;&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;Next Tech provides cloud computing environments that are accessible from the browser ― no downloads required. Students around the world use Next Tech so they don't have to install software themselves when they work on a programming project. This lets them focus on the coding and not on the annoying software set up!&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;a href="https://onemonth.com/github/students" rel="noopener noreferrer"&gt;One Month&lt;/a&gt;
&lt;/h3&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%2Ft7nhuxt4dh8lcbtw25yf.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%2Ft7nhuxt4dh8lcbtw25yf.png" alt="image" width="800" height="419"&gt;&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;One Month's online coding courses teach you exactly what you need to learn to code quickly. Learn Python, HTML, JavaScript and more in just 30 days.&lt;/p&gt;

&lt;p&gt;Over 120,000 students have used One Month's computer programming courses to launch their side hustles, level up their careers, and build things they couldn’t even imagine before. Our online coding bootcamps include certification, human support, and the change to create real-world projects that you can use for applying to jobs or attracting new clients.&lt;/p&gt;

&lt;p&gt;We invite all  &lt;a href="https://education.github.com/pack" rel="noopener noreferrer"&gt;Github Student Developer Pack&lt;/a&gt;  members to enjoy One Month’s online coding courses free for 30-days.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;a href="https://www.interviewcake.com/github-students" rel="noopener noreferrer"&gt;Interview Cake&lt;/a&gt;
&lt;/h3&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%2Fty6lh2pp53oqpkymnx3l.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%2Fty6lh2pp53oqpkymnx3l.png" alt="image" width="800" height="418"&gt;&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;Students get access to  &lt;a href="https://www.interviewcake.com/table-of-contents" rel="noopener noreferrer"&gt;our full coding interview prep course&lt;/a&gt;  for 3 weeks FREE. Get ready to ace your coding interview with practice questions, tutorials, and data structures and algorithms review.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;a href="https://gorails.com/github-students" rel="noopener noreferrer"&gt;Go Rails&lt;/a&gt;
&lt;/h3&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%2Fcbqp146ugndm52rr92q0.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%2Fcbqp146ugndm52rr92q0.png" alt="image" width="800" height="418"&gt;&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;Tutorials for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. GoRails for GitHub Students 12 months of free access to GoRails for students&lt;br&gt;&lt;br&gt;
enrolled in the  &lt;a href="https://education.github.com/?utm_source=github+gorails" rel="noopener noreferrer"&gt;GitHub Student Developer Pack&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>github</category>
      <category>student</category>
    </item>
  </channel>
</rss>
