<?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: Chandra🟢</title>
    <description>The latest articles on DEV Community by Chandra🟢 (@cbisum).</description>
    <link>https://dev.to/cbisum</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%2F402450%2F7d0a0709-c6ab-4c43-af79-5e6cb07be200.jpg</url>
      <title>DEV Community: Chandra🟢</title>
      <link>https://dev.to/cbisum</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/cbisum"/>
    <language>en</language>
    <item>
      <title>What is JavaScript and writing “Hello world” Program in JavaScript.</title>
      <dc:creator>Chandra🟢</dc:creator>
      <pubDate>Sat, 11 Jul 2020 09:19:56 +0000</pubDate>
      <link>https://dev.to/cbisum/what-is-javascript-and-writing-hello-world-program-in-javascript-35ei</link>
      <guid>https://dev.to/cbisum/what-is-javascript-and-writing-hello-world-program-in-javascript-35ei</guid>
      <description>&lt;p&gt;First, I would like to welcome to you all in this article. If you are completely new to the JavaScript, you are in the right place. &lt;/p&gt;

&lt;h1&gt;
  
  
  What is JavaScript?
&lt;/h1&gt;

&lt;p&gt;JavaScript is a programming language. JavaScript was created by Brendan Eich in 1995. Initially the purpose of this language was just to “make web pages alive”. But nowadays you can use this language to make server-side, Mobile, and desktop applications using various frameworks and libraries. To run the JavaScript code, we need a JavaScript engine. The browser has an embedded engine.&lt;/p&gt;

&lt;h3&gt;
  
  
  For example,
&lt;/h3&gt;

&lt;p&gt;Chrome and Opera have a V8 engine,&lt;br&gt;
Firefox has spiderMonkey.&lt;/p&gt;

&lt;p&gt;These engines read the JavaScript code and then convert it to the machine language and run the machine codes. &lt;br&gt;
We will go through what this language can do in the browser in the coming tutorials.&lt;/p&gt;

&lt;p&gt;Writing the “Hello World” Program in JavaScript. &lt;br&gt;
You need to have at least,&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;A Web browser &lt;/li&gt;
&lt;li&gt;And an IDE(Notepad, visual Studio code.. ) 
to run the JavaScript code. 
The good thing is you don’t need to have the internet to run JavaScript code. 
There are many ways you can run the JavaScript codes. &lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;
  
  
  1.Using “Script” Tag
&lt;/h2&gt;

&lt;p&gt;You can insert javascript programs to any part of HTML document with the help of &lt;br&gt;
&lt;code&gt;&amp;lt;Script&amp;gt;&lt;/code&gt; tag. &lt;/p&gt;

&lt;p&gt;For example,&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;!DOCTYPE HTML&amp;gt;
&amp;lt;html&amp;gt;

&amp;lt;body&amp;gt;

  &amp;lt;p&amp;gt;Before the script...&amp;lt;/p&amp;gt;

  &amp;lt;script&amp;gt;
    alert( 'Hello, world!' );
  &amp;lt;/script&amp;gt;

  &amp;lt;p&amp;gt;...After the script.&amp;lt;/p&amp;gt;

&amp;lt;/body&amp;gt;

&amp;lt;/html&amp;gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;This code simply pup ups the message " Hello, world" in the browser.&lt;/p&gt;

&lt;p&gt;Like this&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--CpfVpKvS--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/82f3d8c2gfwbfzyqltwf.JPG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--CpfVpKvS--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/82f3d8c2gfwbfzyqltwf.JPG" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Using external Scripts.
&lt;/h2&gt;

&lt;p&gt;If we have a lot of code we can put code in the separate file. we need to put the &lt;code&gt;.js&lt;/code&gt; extension at the end of the javascript file.&lt;/p&gt;

&lt;p&gt;Script files are attached to HTML with the src attribute: &lt;/p&gt;

&lt;p&gt;&lt;code&gt;&amp;lt;script src="script.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Here &lt;code&gt;script.js&lt;/code&gt; means the javascript file name and 'src' is the attribute. which means get a script from source &lt;code&gt;script.js&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;You can have multiple script tag to attach multiple &lt;code&gt;.js&lt;/code&gt; file. &lt;/p&gt;

&lt;p&gt;Thank you so much for reading this article. &lt;/p&gt;

&lt;p&gt;Best wishes to your Learning. If you have any confusion with this article you can comment on the comment box or send me a private message to &lt;a href="mailto:cbshresthau22@gmail.com"&gt;cbshresthau22@gmail.com&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;References&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;*&lt;a href="https://javascript.info/hello-world"&gt;https://javascript.info/hello-world&lt;/a&gt;&lt;br&gt;
*&lt;a href="https://developer.mozilla.org/en-US/docs/Learn/JavaScript/First_steps/What_is_JavaScript"&gt;https://developer.mozilla.org/en-US/docs/Learn/JavaScript/First_steps/What_is_JavaScript&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Javascript for Beginners</title>
      <dc:creator>Chandra🟢</dc:creator>
      <pubDate>Sun, 28 Jun 2020 13:16:00 +0000</pubDate>
      <link>https://dev.to/cbisum/javascript-for-beginners-3ihk</link>
      <guid>https://dev.to/cbisum/javascript-for-beginners-3ihk</guid>
      <description>&lt;p&gt;From today I am going to start writing blogs on the fundamental concepts of JavaScript. &lt;/p&gt;

&lt;p&gt;Each day, I aim to publish a post that consists of a detailed explanation of the javascript concepts. &lt;/p&gt;

&lt;p&gt;My blog is going to be for someone who is completely new to the Javascript. &lt;/p&gt;

&lt;p&gt;If you have already some basic knowledge of javascript, This might not be helpful for you. &lt;/p&gt;

&lt;p&gt;Tomorrow I am going to cover the following topics.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;What is Javascript?&lt;/li&gt;
&lt;li&gt;How to Run Javascript code in Script tag, browser console, 
external file. &lt;/li&gt;
&lt;/ol&gt;

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