<?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: Jackson Mwanaumo💪</title>
    <description>The latest articles on DEV Community by Jackson Mwanaumo💪 (@jayonechild).</description>
    <link>https://dev.to/jayonechild</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%2F300934%2Fda2cd9f3-129f-4ae7-9514-3732abdf8669.jpg</url>
      <title>DEV Community: Jackson Mwanaumo💪</title>
      <link>https://dev.to/jayonechild</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/jayonechild"/>
    <language>en</language>
    <item>
      <title>JavaScript 101: Ultimate JavaScript Guide.
</title>
      <dc:creator>Jackson Mwanaumo💪</dc:creator>
      <pubDate>Sat, 26 Feb 2022 15:46:00 +0000</pubDate>
      <link>https://dev.to/jayonechild/javascript-101-ultimate-javascript-guide-16c5</link>
      <guid>https://dev.to/jayonechild/javascript-101-ultimate-javascript-guide-16c5</guid>
      <description>&lt;p&gt;In this guide, I am going to run you through everything you need for you to get started with Javascript or atleast the most important things that will get you started with Javascript. This is from the most commonly used editors you can use to the most important concepts you need to keep in mind to get started.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;CONTENT&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Introduction &lt;/li&gt;
&lt;li&gt;Integrated Development Evironment(IDE)&lt;/li&gt;
&lt;li&gt;Hello World in Javascript&lt;/li&gt;
&lt;li&gt;Variables&lt;/li&gt;
&lt;li&gt;Operators(Arithmetic)&lt;/li&gt;
&lt;li&gt;Data Types&lt;/li&gt;
&lt;li&gt;Further Reading&lt;/li&gt;
&lt;li&gt;Summary&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Introduction&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Javascript is a cross-platform, object-oriented programming language that is used to make web sites/pages/apps interactive. According to &lt;a href="https://insights.stackoverflow.com/survey/2021?_ga=2.252103497.1966952700.1645882950-1295647161.1645882950#technology-most-popular-technologies"&gt;stack overflow's developer survey of 2021&lt;/a&gt;, it remains the most popular programming language. Javascript can be used for the creation of a vast of applications (both web and mobile). In the most basic sense, it is used to make responsive websites/applications. For instance, clicking a button and it responds by taking a specific action as specified.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Integrated Development Evironment(IDE)&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;An integrated development environment (IDE) is software for building applications that combines common developer tools into a single GUI. There are a lot of IDEs or editors that you can use to get started with javascript. The following are my top 5 IDEs reccomendation for Javascript: &lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="https://code.visualstudio.com/download"&gt;Visual Stuido Code&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://atom.io/"&gt;Atom&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://brackets.io/"&gt;Brackets&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.sublimetext.com/download"&gt;Sublime Text&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://developer.chrome.com/docs/devtools/console/javascript/"&gt;Chrome DevTools&lt;/a&gt; Not really an IDE 😂&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Hello World in Javascript&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;To get started with writing your first line of code, download Visual Studio Code or any other IDE of your choice (I will use VSCode for the guide), when its done downloading, open it up. You will see the welcome page. On the welcome page, click on &lt;strong&gt;Open&lt;/strong&gt; then &lt;strong&gt;Create a folder&lt;/strong&gt;. Once that is done, the created folder will be your wotking directory in VSCode. You can then click on the Create File icon as shown below:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--7EG_GeWu--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/spo1kmb556ggtjnmdtwr.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--7EG_GeWu--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/spo1kmb556ggtjnmdtwr.png" alt="Screenshort of the Visual Studio Code create file icon" width="704" height="108"&gt;&lt;/a&gt;  &lt;/p&gt;

&lt;p&gt;After that, create a file with the name of your choice. The file extension should always be &lt;strong&gt;.js&lt;/strong&gt;. I will name mine &lt;strong&gt;HelloWorld.js&lt;/strong&gt;. Once created, you can then write the following line of code:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;console.log('Hello World')&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;After that, switch to the 'Debug Console' tab, hit the debug button in the left nav bar, and click the run icon (play button)! and Violla!!!!! your code runs!&lt;br&gt;
&lt;strong&gt;Note:&lt;/strong&gt; The Debug Console &lt;em&gt;Requires nodejs to be &lt;a href="https://nodejs.org/en/download/"&gt;installed&lt;/a&gt;!&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Varibles&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Variables are containers for storing data (storing data values). Variables are decalred i.e is given a data type and a name. However, when '=' sign is used to assign a value to a variable, then it's called assignment. The four ways to Declare a JavaScript Variable are:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Using var e.g &lt;code&gt;var a = 2+3&lt;/code&gt;(assignment)&lt;/li&gt;
&lt;li&gt;Using let  e.g  &lt;code&gt;let a = 2+3&lt;/code&gt;(assignment)&lt;/li&gt;
&lt;li&gt;Using const  e.g  &lt;code&gt;const a = 2+3&lt;/code&gt;(assignment)&lt;/li&gt;
&lt;li&gt;Using nothing  e.g  &lt;code&gt;a = 2+3&lt;/code&gt;(assignment)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;From the examples above, you can easily tell that a stores the answer to the expression, so a will contain the answer &lt;strong&gt;5&lt;/strong&gt; in all the examples. This tells us that we should always declare JavaScript variables with var,let, or const.&lt;/p&gt;

&lt;p&gt;The var keyword is used in all JavaScript code from 1995 to 2015. The &lt;strong&gt;let&lt;/strong&gt; and &lt;strong&gt;const&lt;/strong&gt; keywords were added to JavaScript in 2015. If you want your code to run in older browsers, you must use &lt;strong&gt;var&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Wondering what the difference is among these? Well, if you want a general rule: always declare variables with &lt;strong&gt;const&lt;/strong&gt; but if you think the value of the variable can change, use &lt;strong&gt;let&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Operators&lt;/strong&gt;&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;/td&gt;
&lt;td&gt;Addition&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;p&gt;&lt;strong&gt;Assignment&lt;/strong&gt;&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;Example&lt;/th&gt;
&lt;th&gt;Same As&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;=&lt;/td&gt;
&lt;td&gt;x = y&lt;/td&gt;
&lt;td&gt;x = y&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;+=&lt;/td&gt;
&lt;td&gt;x += y&lt;/td&gt;
&lt;td&gt;x = x + y&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;-=&lt;/td&gt;
&lt;td&gt;x -= y&lt;/td&gt;
&lt;td&gt;x = x - y&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;*=&lt;/td&gt;
&lt;td&gt;x *= y&lt;/td&gt;
&lt;td&gt;x = x * y&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;/=&lt;/td&gt;
&lt;td&gt;x /= y&lt;/td&gt;
&lt;td&gt;x = x / y&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;%=&lt;/td&gt;
&lt;td&gt;x %= y&lt;/td&gt;
&lt;td&gt;x = x % y&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&amp;lt;&amp;lt;=&lt;/td&gt;
&lt;td&gt;x &amp;lt;&amp;lt;= y&lt;/td&gt;
&lt;td&gt;x = x &amp;lt;&amp;lt; y&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&amp;gt;&amp;gt;=&lt;/td&gt;
&lt;td&gt;x &amp;gt;&amp;gt;= y&lt;/td&gt;
&lt;td&gt;x = x &amp;gt;&amp;gt; y&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&amp;gt;&amp;gt;&amp;gt;=&lt;/td&gt;
&lt;td&gt;x &amp;gt;&amp;gt;&amp;gt;= y&lt;/td&gt;
&lt;td&gt;x = x &amp;gt;&amp;gt;&amp;gt; y&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&amp;amp;=&lt;/td&gt;
&lt;td&gt;x &amp;amp;= y&lt;/td&gt;
&lt;td&gt;x = x &amp;amp; y&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;^=&lt;/td&gt;
&lt;td&gt;x ^= y&lt;/td&gt;
&lt;td&gt;x = x ^ y&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;**=&lt;/td&gt;
&lt;td&gt;x **= y&lt;/td&gt;
&lt;td&gt;x = x ** y&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The next concept you need to learn is about data types.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Data Types&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;JavaScript variables can hold different data types: numbers, strings, objects and more. To be able to operate on variables, it is important to know something about the type. Without data types, a computer cannot safely solve some expressions such as this:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;const x = 2 +'Jackson'&lt;/code&gt; run this expression in VSCode and you will get the answer //16Volvo&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt;: &lt;em&gt;When adding a number and a string, JavaScript will treat the number as a string&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Further Reading&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Upto this point, you have a basic understing of how to go about coding in Javascript. The next step you should take is to read more on platforms such as:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.w3schools.com/js/default.asp"&gt;w3schools&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://javascript.info/"&gt;javaScript info&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://webplatform.github.io/"&gt;web platform&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;YouTube Recomendations&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/qoSksQ4s_hg"&gt;
&lt;/iframe&gt;
&lt;br&gt;
&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/2Ji-clqUYnA"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Summary&lt;/strong&gt;&lt;br&gt;
Always remember that progamming is like an actual language such as English. Thus, for you to be good at it, you need to consistently practice.&lt;/p&gt;

&lt;p&gt;Wishing you all the best!&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Pdf Upload with Express Js</title>
      <dc:creator>Jackson Mwanaumo💪</dc:creator>
      <pubDate>Wed, 25 Dec 2019 22:36:47 +0000</pubDate>
      <link>https://dev.to/jayonechild/pdf-upload-with-express-js-4be3</link>
      <guid>https://dev.to/jayonechild/pdf-upload-with-express-js-4be3</guid>
      <description>&lt;p&gt;Need help with coming up with a pdf upload provision to the file system using Express Js(and ejs) Framework. I have actually managed to upload files to the file system but limiting it to only pdfs and converting it to text for extraction has been a challenge. Any Help? &lt;/p&gt;

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