<?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: Chabulsqu</title>
    <description>The latest articles on DEV Community by Chabulsqu (@chabulsqu).</description>
    <link>https://dev.to/chabulsqu</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%2F840698%2Fec1f756d-78ce-4b93-bb98-e1ce736352b0.jpg</url>
      <title>DEV Community: Chabulsqu</title>
      <link>https://dev.to/chabulsqu</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/chabulsqu"/>
    <language>en</language>
    <item>
      <title>7 Projects for Your Front-End Portfolio</title>
      <dc:creator>Chabulsqu</dc:creator>
      <pubDate>Sun, 29 Jan 2023 12:00:00 +0000</pubDate>
      <link>https://dev.to/chabulsqu/7-projects-for-your-front-end-portfolio-114e</link>
      <guid>https://dev.to/chabulsqu/7-projects-for-your-front-end-portfolio-114e</guid>
      <description>&lt;p&gt;Web development and in general, programming is a field that requires a lot of practice, maybe you are looking to build your first portfolio or land a job.&lt;/p&gt;

&lt;p&gt;In either cases you will need projects to showcase and if you started learning on your own (like I once did) then it’s going to be hard to find opportunities to practice, in this article you’ll find some of them.&lt;/p&gt;

&lt;p&gt;I classified them on two different levels (beginners and advanced). All the designs are made by me except when noted.&lt;/p&gt;

&lt;h2&gt;
  
  
  Beginners
&lt;/h2&gt;

&lt;p&gt;You can make this simple web sites just by using HTML and CSS.&lt;/p&gt;

&lt;h3&gt;
  
  
  Landing Page
&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%2F2odmgg6q5hzkv2nl295m.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%2F2odmgg6q5hzkv2nl295m.png" alt="A shoe brand landing page" width="800" height="665"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Build a landing page for something. It could be a business, an influencer or an e-commerce shop. Th page should have a call-to-action and basic information about the website’s brand displayed on it.&lt;/p&gt;

&lt;h3&gt;
  
  
  Restaurant Page
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&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%2F8w5ozvfzwkc4ffov8ip0.jpg" alt="Restaurant Page featuring a bowl of food" width="400" height="300"&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;a href="https://dribbble.com/madhumia" rel="noopener noreferrer"&gt;Madhu Mia&lt;/a&gt; for &lt;a href="https://dribbble.com/UpNow_Studio" rel="noopener noreferrer"&gt;Upnow Studio&lt;/a&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Code a Restaurant page, some of the content you could include are menus, promotions and even a kitchen tour. You could make this a single page web or split into several pages for each option — It’s up to you!&lt;/p&gt;

&lt;h3&gt;
  
  
  Help Page
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&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%2Frief6zrrht7lny2wrvnw.jpg" alt="A page featuring a help centre" width="800" height="600"&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="https://dribbble.com/jordanhughes" rel="noopener noreferrer"&gt;Jordan Hughes®&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Make a help page for a business or software with a search bar and several topics included in, you could even code a chatbot for customer service if you feel confident with it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Advanced
&lt;/h2&gt;

&lt;p&gt;This projects can be completed with advance knowledge on HTML, CSS and a Javascript framework (or pure javascript if you prefer).&lt;/p&gt;

&lt;h3&gt;
  
  
  Kanban board
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&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%2Ffs57at5sjq96ti29l077.jpg" alt="A website featuring a Kanban Board " width="800" height="600"&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="https://dribbble.com/ilnicki" rel="noopener noreferrer"&gt;Patryk Ilnicki&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Design a board similar to Trello’s one where users can drag and drop, remove, add, edit and update cards. You can also allow users to create tags for each card, You choose!&lt;/p&gt;

&lt;h3&gt;
  
  
  JavaScript Library Clone
&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%2Fp0xtjmikrq7vkh0lvhda.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%2Fp0xtjmikrq7vkh0lvhda.png" alt="Code for a recreation of the JavaScript Lodash library" width="800" height="497"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Especially useful if you aim to sharpen your skills with JavaScript, trying to code some of the methods of libraries like Lodash can be a good hook for recruiters.&lt;/p&gt;

&lt;h3&gt;
  
  
  Calculator
&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%2F1bbjaieevro5krldlduq.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%2F1bbjaieevro5krldlduq.png" alt="Basic web calculator with operations like multiplying and dividing" width="800" height="1730"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Make a Web Calculator, it could go from a simple one to a very complex scientific one, remember to make it responsive so users from every device can use it.&lt;/p&gt;

&lt;h3&gt;
  
  
  Streaming platform
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&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%2F6dceyc6mpxy66qakbyeg.jpg" alt="A Streaming Platform featuring different movies and series" width="800" height="600"&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;a href="https://dribbble.com/maneel" rel="noopener noreferrer"&gt;Emmanuel Edokpa&lt;/a&gt; for &lt;a href="https://dribbble.com/Piqodesign" rel="noopener noreferrer"&gt;Piqo Design&lt;/a&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Using an API like TMDB (The Movie DataBase) to fetch data from famous movies, you could emulate a famous streaming platform like Netflix or Amazon Prime. This could also mean a good time to show your CSS skills making focus states and animations.&lt;/p&gt;

&lt;p&gt;Some other ideas&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;You could also try to replicate a famous social media app or website like Reddit, Twitter or Instagram, it can give recruiters a nice sight of what you are able to do.&lt;/li&gt;
&lt;li&gt;Never forget to have a well organized and complete Github profile with several projects and regular activity, it is a perfect way to show them your experience and collaboration skills.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;And that’s it for today’s article, I hope you have enjoyed this article as much as I enjoyed writing it. Have a great day! 😃&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>discuss</category>
    </item>
    <item>
      <title>My First Front-End Portfolio</title>
      <dc:creator>Chabulsqu</dc:creator>
      <pubDate>Thu, 08 Dec 2022 21:06:47 +0000</pubDate>
      <link>https://dev.to/chabulsqu/my-first-front-end-portfolio-34o4</link>
      <guid>https://dev.to/chabulsqu/my-first-front-end-portfolio-34o4</guid>
      <description>&lt;p&gt;Hello everyone, I began taking courses on Front-end development a couple of months ago and I finally decided to make my first personal portfolio website, it took me an entire month working around 1/2 hours a day. You can see its live site or the project repository.&lt;br&gt;
My portfolio, on desktop view&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 1: Wireframe my website
&lt;/h3&gt;

&lt;p&gt;I made the first wireframes of my main and projects page in paper and in a pretty basic way, but they guided me and help me remember the design while coding.&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 2: Write the basic HTML
&lt;/h3&gt;

&lt;p&gt;I did this for both pages, and added classes I thought I would need later on during the project.&lt;/p&gt;

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

&lt;h3&gt;
  
  
  Step 3: Add basic styling for your Portfolio
&lt;/h3&gt;

&lt;p&gt;I recommend doing this on a separate stylesheet instead of the one you are using for each page (styles.css) so you don't have to split the code when you go further in the project like I had. I also recommend to use a reset file like reset.css for managing styles easier.&lt;br&gt;
Speaking about the general design and color pallete, I wanted the page to have a modern and soft look, so, using the Adobe Color contrast checker and inspired by Twitter design I picked the main background, accent and text colours for both Dark and light Mode, I also tried to use soft shadows to give it a deeper look.&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 4: Make each site responsive
&lt;/h3&gt;

&lt;p&gt;If you can, try to use as much relative measurements as you can so you need to write less code. I worked on 5 device size ranges: phones (320 to 480px); tablets (481 to 768px); laptops (769px to 1024px); desktop (1025px to 1440px) and large screens (1440px+). If you see your stylesheet getting really big at this point (500+ lines) try to split it into more, believe me, it will be easier to edit later in the future.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--SiN35g5b--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn-images-1.medium.com/max/1600/1%2AJxUqbzoH93-4MZ6yLVVQfA.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--SiN35g5b--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn-images-1.medium.com/max/1600/1%2AJxUqbzoH93-4MZ6yLVVQfA.png" alt="CSS code" width="880" height="962"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 5: Adding Javascript for interactivity
&lt;/h3&gt;

&lt;p&gt;In this case I decided to use JS to make a light / dark mode switch (with help of CSS classes and custom properties), an hamburguer menu (only mobile devices) and 2 dropodowns featuring the technologies I used for the project and my contact information. I also learned to use local storage so I could save the user preferred mode and use it the next time he/she visits the page.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--CGjEfMoJ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn-images-1.medium.com/max/1600/1%2A90fBAIej8AMUl-TIVRBqww.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--CGjEfMoJ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn-images-1.medium.com/max/1600/1%2A90fBAIej8AMUl-TIVRBqww.png" alt="Javascript code" width="880" height="809"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 6: Start the second page
&lt;/h3&gt;

&lt;p&gt;I decided that my second page would feature all of my projects, with links to their code and their live versions, you could also make a third or fourth page if you like, but for me I decided that it was enough for a portfolio.&lt;br&gt;
My projects page, seen on Dark ModeStep 7: Final features and accessibility&lt;br&gt;
After days of headaches thanks to Media Queries and, after converting a video into a gif so I can directly use it on my site hero with the background-image property; I finally completed the page. At this point I recommend you to use some accessibility testing tool like Axe devtools to ensure that your website is accessible. If you haven't done so yet, start a Github repository for your project and enable Github pages on it, make a decent Readme and publish it in any site you want.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;And that's it for today's article, I hope you have enjoyed it, Have a good day! 😄&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>programming</category>
      <category>javascript</category>
      <category>css</category>
    </item>
    <item>
      <title>A brief guide to A11y</title>
      <dc:creator>Chabulsqu</dc:creator>
      <pubDate>Sat, 02 Jul 2022 00:01:19 +0000</pubDate>
      <link>https://dev.to/chabulsqu/a-brief-guide-to-a11y-3g82</link>
      <guid>https://dev.to/chabulsqu/a-brief-guide-to-a11y-3g82</guid>
      <description>&lt;p&gt;Accessibility is defined as the process of designing products, devices and environments that people with disabilities of various kinds can use. In 1990 the United States Congress sanctioned the ADA (American Disabilities Act) and since then we can find both in public and private spaces tools for people deprived of their vision (braille) or in physical aspects (ramps for wheelchairs). The regulatory body for internet accessibility is the WCAG(&lt;a href="https://www.w3.org/TR/WCAG21/"&gt;https://www.w3.org/TR/WCAG21/&lt;/a&gt;), which is responsible for that websites have features such as subtitles on videos, images with alternate text, labels readable by screen readers, etc.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Visual Accessibility Elements:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Contrast: The process of differentiating two elements to give them importance and readability for users with reduced vision or color blindness, can be done through colors, fonts and spacing.&lt;/li&gt;
&lt;li&gt;Headings: The web is fast and therefore the content must be divided into several sections these headings have a relationship of h1 (unique on the page), h2 (section title) h3 (section subtitle) and so on.&lt;/li&gt;
&lt;li&gt;Design for the colorblind: Use opposite colors on the color wheel where possible or else use multiple shades of the same color (it also helps colorblind people who only see in grayscale), color is a powerful contrast agent, but should never be the only one. Use text, icons, images (for example if a form is wrong, use red borders + a box that explicitly says so)&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  What is Aria?
&lt;/h3&gt;

&lt;p&gt;ARIA is short for Accessible Rich Internet Applications, it is a set of attributes to handle assistive technologies for people with disabilities that HTML alone cannot handle. The technical specification was called WAI-ARIA and was published by the W3C initially in 2008 and became a recommendation in 2014.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Primary components of ARIA:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Roles: They are used to define the specific type of an interface element (role=”role_name”).&lt;/li&gt;
&lt;li&gt;Abstract Roles: These are brief descriptions used by search engines to give meaning to roles and should not be changed.&lt;/li&gt;
&lt;li&gt;Document Structure Roles: They provide descriptions for various parts of the page (toolbar, img, heading). While HTML 5 already handles this quite well, since screen reader support for it is still limited, it is recommended to use both types.&lt;/li&gt;
&lt;li&gt;Landmark Roles: They are used to indicate the beginning and the end of a certain section of the document by screen readers (banner, form, search)&lt;/li&gt;
&lt;li&gt;Widget Roles: They give a semantic meaning when HTML does not, they are divided into groups of Widgets or UI Widgets (grid, menu, tablist) and standalone Widgets or child Widgets (checkbox, link).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;ARIA Rules:&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Use native HTML unless it is absolutely or nearly impossible to do so.&lt;/li&gt;
&lt;li&gt;Don't change semantic elements in HTML unless absolutely necessary.&lt;/li&gt;
&lt;li&gt;All ARIA controls must be keyboard accessible, they can be added to tab navigation using (tabindex=”0”).&lt;/li&gt;
&lt;li&gt;For all focusable elements, never use (aria-hidden=”true” or role=”presentation”) as this can cause user confusion when focusing on an empty element.&lt;/li&gt;
&lt;li&gt;Give all interactive elements an accessible label, either with (Search) or (&amp;lt;input type=” text” aria-label=”” / aria-labelledBy="") not to show it to users who don't use screen readers. &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Alt attribute rules:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;If the image is already described below, add an empty attribute.&lt;/li&gt;
&lt;li&gt;If the image is a link, also add the page it leads to.&lt;/li&gt;
&lt;li&gt;Alt should not be longer than 150 characters&lt;/li&gt;
&lt;li&gt;The alt should clearly and concisely describe the image.&lt;/li&gt;
&lt;li&gt;Images used as decoration (such as a decorative border) should have an alt attribute, even if it is empty.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The Alt attribute differs from aria-label because the former will also be displayed if the element's source is not found or on slow connections, while the latter is for screen readers only, however, it is preferable to use alt on elements where they can be used.&lt;/p&gt;

</description>
      <category>a11y</category>
      <category>webdev</category>
      <category>tutorial</category>
      <category>html</category>
    </item>
    <item>
      <title>A brief Javascript guide</title>
      <dc:creator>Chabulsqu</dc:creator>
      <pubDate>Sat, 18 Jun 2022 01:05:11 +0000</pubDate>
      <link>https://dev.to/chabulsqu/a-brief-javascript-guide-9g0</link>
      <guid>https://dev.to/chabulsqu/a-brief-javascript-guide-9g0</guid>
      <description>&lt;p&gt;Javascript is one of the most used programming languages and in this guide I will review briefly the basics of the language for someone who just wants to take a look at the language or see if it's the kind of language they want to learn&lt;/p&gt;

&lt;h2&gt;
  
  
  What is JS?
&lt;/h2&gt;

&lt;p&gt;Javascript is a high-level, weakly typed, multi-paradigm language used for both Front-end (executed on the browser and used along HTML and CSS) and Back-end (on server side) Web Development and standardized by the EcmaScript (ES).&lt;/p&gt;

&lt;h3&gt;
  
  
  JS Basics
&lt;/h3&gt;

&lt;p&gt;To print something to the console, the console object must be used together with the log method and the value to be printed in parentheses.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The data types in Javascript are:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;string (text strings or simple characters, each one of them having a specific index) &lt;/li&gt;
&lt;li&gt;Numeric (integers, bigInt for large numbers and float for decimals) &lt;/li&gt;
&lt;li&gt;Boolean (true or false)&lt;/li&gt;
&lt;li&gt;undefined &lt;/li&gt;
&lt;li&gt;null
&lt;/li&gt;
&lt;li&gt;objects &lt;/li&gt;
&lt;li&gt;symbols &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;They can be declared with the word var (depreciated since ES6) or with let in the case of variables that can be changed throughout the program or const in the case of constant ones. At the end of each statement, though not necessary for the program, a semicolon (;) is used.&lt;br&gt;
&lt;strong&gt;Javascript Operators:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&amp;gt; more than &amp;lt; less than&lt;/li&gt;
&lt;li&gt;&amp;gt;= more or equal than &amp;lt;= less or equal than&lt;/li&gt;
&lt;li&gt;== not strict equal (5 == '5' true)&lt;/li&gt;
&lt;li&gt;=== strict equal (5 === 5 true) / (5 === '5' false)&lt;/li&gt;
&lt;li&gt;!= not strict different&lt;/li&gt;
&lt;li&gt;!=== strict different
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="nx"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;Hello World&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;example&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kc"&gt;null&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="kd"&gt;let&lt;/span&gt; &lt;span class="nx"&gt;example2&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="c1"&gt;// undefined&lt;/span&gt;
&lt;span class="nx"&gt;example2&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;number&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;5&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="nx"&gt;number&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;10&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="c1"&gt;// Error: Assignment to constant variable&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;h3&gt;
  
  
  Functions
&lt;/h3&gt;

&lt;p&gt;Functions in Javascript allow you to execute pieces of code at any time without having to write them again. Normal functions are declared with function functionName (parameters) { function content }. They can also be abbreviated and wrapped in variables as in the case of anonymous functions. To call a function, nameOfTheFunction(parameters) is used, and in case the latter do not exist, each one can be given a default value from the function through the equals symbol (num1 = 1, num2 = 2) . To encapsulate and return the value of a function, the return keyword is used.&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;// Common functions&lt;/span&gt;
&lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nx"&gt;sum&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;num1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;num2&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nx"&gt;num1&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="nx"&gt;num2&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="c1"&gt;// "Arrow head" Functions&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;sum1&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;num1&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nx"&gt;num1&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;multiply&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;num1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;num2&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nx"&gt;num1&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="nx"&gt;num2&lt;/span&gt; &lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="cm"&gt;/* Implicit return keyword, only available on this type of functions */&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Loops
&lt;/h3&gt;

&lt;p&gt;Pieces of code that can be repeated over and over again until a given condition is met. They are used both to traverse strings, arrays and other values. They can be for loops and they can also be used as a while loop, which runs as long as a condition (specified outside of the loop) is met and do while loops (do a yes-or-yes action first and then set the condition to be false, if not, continue). However while loops are used less because of the increased change for infinite loops.&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;const&lt;/span&gt; &lt;span class="nx"&gt;firstVariable&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;Hello&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;
&lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kd"&gt;let&lt;/span&gt; &lt;span class="nx"&gt;i&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="kd"&gt;let&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&lt;/span&gt; &lt;span class="mi"&gt;5&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="kd"&gt;let&lt;/span&gt;&lt;span class="o"&gt;++&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
&lt;span class="cm"&gt;/* Loop index is 0 and 1 is added at each iteration
(loop content execution) till i stops being less than 6 */&lt;/span&gt;
&lt;span class="nx"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;firstVariable&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nx"&gt;i&lt;/span&gt;&lt;span class="p"&gt;])&lt;/span&gt; &lt;span class="c1"&gt;// prints the letter where the loop is iterating&lt;/span&gt;
&lt;span class="c1"&gt;// Prints h e l l o in separated lines&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;secondVariable&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;World!&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;
&lt;span class="c1"&gt;// While loops example&lt;/span&gt;
&lt;span class="kd"&gt;let&lt;/span&gt; &lt;span class="nx"&gt;j&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;while&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;j&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&lt;/span&gt; &lt;span class="mi"&gt;6&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nx"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;secondVariable&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nx"&gt;j&lt;/span&gt;&lt;span class="p"&gt;]);&lt;/span&gt;
    &lt;span class="nx"&gt;j&lt;/span&gt;&lt;span class="o"&gt;++&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="kd"&gt;let&lt;/span&gt; &lt;span class="nx"&gt;k&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;do&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nx"&gt;k&lt;/span&gt;&lt;span class="o"&gt;++&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="nx"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;Increasing k&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;while&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;k&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&lt;/span&gt; &lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This has been my first post, hope you like it, I would be glad if you put any suggestions in the comments.&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>webdev</category>
      <category>programming</category>
      <category>codenewbie</category>
    </item>
  </channel>
</rss>
