<?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: Rio Cantre</title>
    <description>The latest articles on DEV Community by Rio Cantre (@riocantre).</description>
    <link>https://dev.to/riocantre</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%2F718454%2F29317a01-9958-4f51-b8fd-3661675669ab.jpeg</url>
      <title>DEV Community: Rio Cantre</title>
      <link>https://dev.to/riocantre</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/riocantre"/>
    <language>en</language>
    <item>
      <title>Day 100/100 Reverse Function</title>
      <dc:creator>Rio Cantre</dc:creator>
      <pubDate>Fri, 24 Dec 2021 10:39:35 +0000</pubDate>
      <link>https://dev.to/riocantre/day-100100-reverse-function-1988</link>
      <guid>https://dev.to/riocantre/day-100100-reverse-function-1988</guid>
      <description>&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--msgR0-76--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4ybgzmwp13itssqiufpj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--msgR0-76--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4ybgzmwp13itssqiufpj.png" alt="banner" width="726" height="249"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Declaring  Functions
&lt;/h2&gt;

&lt;p&gt;Functions allow you to package up lines of code that you can use (and often reuse) in your programs.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;function reversString(reverseMe) {
         var reversed = "";
         for (var i = reverseMe.length - 1; i &amp;gt;= 0; i--) {
              reversed += reverseMe[i];
         }
         return reversed;
} 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The reverseString() function had one parameter: the string to be reversed. In both cases, the parameter is listed as a variable after the function name, inside the parentheses. And, if there were multiple parameters, you would just separate them with commas.&lt;/p&gt;

&lt;h2&gt;
  
  
  Return statements
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;function sayHello() {
    var message = "Hello!"
    console.log(message);
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;In the sayHello() function above, a value is printed to the console with console.log, but not explicitly returned with a return statement. &lt;/p&gt;

&lt;p&gt;You can write a return statement by using the return keyword followed by the expression or value that you want to return.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;function sayHello() {
    var message = "Hello!"
    return message; // returns value instead of printing it
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Function Recap
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Functions package up code so you can easily use (and reuse) a block of code.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Parameters are variables that are used to store the data that's passed into a function for the function to use.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Arguments are the actual data that's passed into a function when it is invoked:&lt;br&gt;
&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;function add(x, y) {
var sum = x + y;
return sum; // return statement
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Code Snippets
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;for(var i=0; i&amp;lt;numbers.length; i++){
   for(var j=0; j&amp;lt;numbers[i].length; j++){
      if(numbers[i][j]%2===0)
         numbers[i][j]="even";
      else
         numbers[i][j]="odd";
      }
}
console.log(numbers);


var facebookProfile = {
    name: "Bear",
    friends: 123,
    messages: ["Bear loves fish", "Bear loves nap", "Bear love honey"],
    postMessage: function(message) {
        facebookProfile.messages.push(message);
    },
    deleteMessage: function(index) {
        facebookProfile.messages.splice(index, 1);
    },
    addFriend: function() {
        facebookProfile.friends = facebookProfile.friends + 1;
    },
    removeFriend: function() {
        if(facebookProfile.friends &amp;gt;0) 
           facebookProfile.friends = facebookProfile.friends - 1;
    }
};

console.log(facebookProfile);

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Summary
&lt;/h2&gt;

&lt;p&gt;Happy Hacking!!!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.amazon.com/Pragmatic-Programmer-Journeyman-Master/dp/020161622X"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--uWqnhpU3--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/m3bw4ngwmz06ch79pwrb.png" alt="Resource" width="726" height="78"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>100daysofcode</category>
      <category>programming</category>
      <category>javascript</category>
      <category>motivation</category>
    </item>
    <item>
      <title>Day 99/100 Scope</title>
      <dc:creator>Rio Cantre</dc:creator>
      <pubDate>Thu, 23 Dec 2021 10:40:17 +0000</pubDate>
      <link>https://dev.to/riocantre/day-99100-scope-22oh</link>
      <guid>https://dev.to/riocantre/day-99100-scope-22oh</guid>
      <description>&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--hynpdjvx--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dkzouqt312r978hm5ddj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--hynpdjvx--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dkzouqt312r978hm5ddj.png" alt="banner" width="726" height="249"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The scope is defined as a specific portion of the code. There are three types of scope in Javascript:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Global scope -  When a particular variable is visible (can be used) anywhere in the code. Such a variable is generally called as Global variable.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Function scope -  When a particular variable is visible (can be used) within a particular function only. Such a variable is generally called as Local variable.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Block scope - When a particular variable is visible (can be used) within a pair of { . . . } only.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The JavaScript language is constantly improving. One of these updates introduces a new type of scope, called Block scope.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;var a = 1;
function x() {
var b = 2;
function y() {
    var c = 3;
    function z() {
    var d = 4;
    }
    z();
}
y();
}

x();
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The variable c is defined inside function y(), so it's accessible only inside function y(). This means it can be printed anywhere inside function y(), as well as inside any functions declared inside function y().The inner functions y() and z() have access to their own local variables, the variables defined inside the functions they were also defined in (x() and y() functions respectively), and any global variables.&lt;/p&gt;

&lt;h2&gt;
  
  
  Scope Recap
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;If an identifier is declared in global scope, it's available everywhere.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;If an identifier is declared in function scope, it's available in the function it was declared in (even in functions declared inside the function).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;When trying to access an identifier, the JavaScript Engine will first look in the current function. If it doesn't find anything, it will continue to the next outer function to see if it can find the identifier there. It will keep doing this until it reaches the global scope.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Global identifiers are a bad idea. They can lead to bad variable names, conflicting variable names, and messy code.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Code Snippets
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;var row = 0;  // initial value of the row
var seat = 0; // initial value of the seat within a row

for (row = 0; row &amp;lt;= 25; row++){
    for(seat = 0; seat &amp;lt;= 99; seat++){
        console.log(row+"-"+seat);
    }
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Summary
&lt;/h2&gt;

&lt;p&gt;Happy Hacking!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://link.springer.com/article/10.1007/BF01405730"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--d0j-Kh_R--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/k0pfilsd7xp5xvwbzf8i.png" alt="Resource" width="726" height="78"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>100daysofcode</category>
      <category>programming</category>
      <category>javascript</category>
      <category>motivation</category>
    </item>
    <item>
      <title>Day 98/100 Objects in Code</title>
      <dc:creator>Rio Cantre</dc:creator>
      <pubDate>Wed, 22 Dec 2021 10:09:05 +0000</pubDate>
      <link>https://dev.to/riocantre/day-98100-objects-in-code-3j88</link>
      <guid>https://dev.to/riocantre/day-98100-objects-in-code-3j88</guid>
      <description>&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--QAMJ28JE--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/b3loaf9ra3ovrhwzqe2p.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--QAMJ28JE--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/b3loaf9ra3ovrhwzqe2p.png" alt="banner" width="726" height="249"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It’s worth noting that while we can represent real-world objects as JavaScript objects, the analogy does not always hold. This is a good starting place for thinking about the structure and purpose of objects, but as you continue your career as a developer, you’ll find that JavaScript objects can behave wildly different than real objects.&lt;/p&gt;

&lt;h2&gt;
  
  
  Object Literals
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;var sister = {
    name: "Sarah", 
    age: 23,
    parents: [ "alice", "andy" ],
    siblings: ["julia"],
    favoriteColor: "purple",
    pets: true
};
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The syntax you see above is called object-literal notation. There are some important things you need to remember when you're structuring an object literal:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;The "key" (representing a property or method name) and its "value" are separated from each other by a colon &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The key: value pairs are separated from each other by commas&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The entire object is wrapped inside curly braces { }. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;And, kind of like how you can look up a word in the dictionary to find its definition, the key in a key:value pair allows you to look up a piece of information about an object.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Here's are a couple examples of how you can retrieve information about my sister's parents using the object you created.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;sister["parents"] // returns [ "alice", "andy" ]
sister.parents // also returns ["alice", "andy"] 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Using sister["parents"] is called bracket notation (because of the brackets!) and using sister.parents is called dot notation (because of the dot!).&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Objects are one of the most important data strcutures in JavaScript.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;They have properties (information about the object) and methods (functions or capabilities the object has). &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Objects are an incredibly powerful data type and you will see them all over the place when working with JavaScript, or any other object-oriented programming language.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Code Snippets
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;var savingsAccount = {
    balance: 1000,
    interestRatePercent: 1,
    deposit: function addMoney(amount) {
           if (amount &amp;gt; 0) {
               savingsAccount.balance += amount;
           }
    },
    withdraw: function removeMoney(amount) {
           var verifyBalance = savingsAccount.balance - amount;
           if (amount &amp;gt; 0 &amp;amp;&amp;amp; verifyBalance &amp;gt;= 0) {
               savingsAccount.balance -= amount;
           }
    },
    printAccountSummary: function() {
    return "Welcome!\nYour balance is currently $" + savingsAccount.balance + " and your interest rate is " + savingsAccount.interestRatePercent + "%.";
    }
};
console.log(savingsAccount.printAccountSummary());



var savingsAccount = {
    balance: 1000,
    interestRatePercent: 1,
    deposit: function addMoney(amount) {
           if (amount &amp;gt; 0) {
              savingsAccount.balance += amount;
           }
    },
    withdraw: function removeMoney(amount) {
           var verifyBalance = savingsAccount.balance - amount;
           if (amount &amp;gt; 0 &amp;amp;&amp;amp; verifyBalance &amp;gt;= 0) {
               savingsAccount.balance -= amount;
           }
    }
};
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Summary
&lt;/h2&gt;

&lt;p&gt;Woke up today humming a tone... mumbling words then I search about the lyrics and it goes like this...&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;If you search for tenderness.It isn't hard to find&lt;br&gt;
You can have the love you need to live. But if you look for truthfulness. You might just as well be blind. It always seems to be so hard to give. &lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://medium.com/mindsea-development-inc/why-your-rat-riskiest-assumption-test-is-the-real-mvp-177d66cde3e1"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--TrusjTAm--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/e7bn1g65qtyyvfrqlvp7.png" alt="Resource" width="726" height="78"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>100daysofcode</category>
      <category>programming</category>
      <category>javascript</category>
      <category>motivation</category>
    </item>
    <item>
      <title>Day 97/100 Donuts to Code</title>
      <dc:creator>Rio Cantre</dc:creator>
      <pubDate>Tue, 21 Dec 2021 10:28:24 +0000</pubDate>
      <link>https://dev.to/riocantre/day-97100-donuts-to-code-468n</link>
      <guid>https://dev.to/riocantre/day-97100-donuts-to-code-468n</guid>
      <description>&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--QIlHjFQz--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pw2ugtzl58rhdghr5a80.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--QIlHjFQz--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pw2ugtzl58rhdghr5a80.png" alt="banner" width="726" height="249"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Intro to Arrays
&lt;/h2&gt;

&lt;p&gt;An array is a data structure that you can use to store multiple values and arrays are also organized.&lt;/p&gt;

&lt;p&gt;An array is useful because it stores multiple values into a single, organized data structure.&lt;/p&gt;

&lt;p&gt;You can define a new array by listing values separated with commas between square brackets[].&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;var donuts = ["glazed", "jelly" , "powdered"];
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;But strings aren't the only type of data you can store in an array. You can also store numbers, booleans... and really anything!&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;var mixedData = ["abcd", 1, true, undefined, null, "all the things"]; 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You can even store an array in an array to create a nested array!&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;var arraysInArrays = [[1, 2, 3], ["Julia", "James"], [true, false, true, false]];
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Nested arrays can be particularly hard to read, so it's common to write them on one line, using a newline after each comma:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;var arraysInArrays = [
    [1, 2, 3], 
    ["Julia", "James"], 
    [true, false, true, false]
]; 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Indexing
&lt;/h2&gt;

&lt;p&gt;Remember that elements in an array are indexed starting at the position 0. To access an element in an array, use the name of the array immediately followed by square brackets containing the index of the value you want to access.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;var donuts = ["glazed", "powdered", "sprinkled"];

console.log(donuts[0]); // "glazed" is the first element in the `donuts` array
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Pop
&lt;/h2&gt;

&lt;p&gt;Alternatively, you can use the pop() method to remove elements from the end of an array.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;var donuts = ["glazed", "chocolate frosted", "Boston creme", "glazed cruller", "cinnamon sugar", "sprinkled", "powdered"];

donuts.pop(); // pops "powdered" off the end of the `donuts` array
donuts.pop(); // pops "sprinkled" off the end of the `donuts` array
donuts.pop(); // pops "cinnamon sugar" off the end of the `donuts` array
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;With the pop() method you don’t need to pass a value; instead, pop() will always remove the last element from the end of the array. &lt;/p&gt;

&lt;p&gt;Also, pop() returns the element that has been removed in case you need to use it.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;var donuts = ["glazed", "chocolate frosted", "Boston creme", "glazed cruller", "cinnamon sugar", "sprinkled", "powdered"];

donuts.pop(); // the `pop()` method returns "powdered" because "powdered" was the last element on the end of `donuts` array
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Code Snippets
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;var donuts = ["jelly donut", "chocolate donut", "glazed donut"];

donuts.forEach(function(donut) {
     donut += " hole";
     donut = donut.toUpperCase();
     console.log(donut);
}); 


for (var i = 0; i &amp;lt; donuts.length; i++) {
     donuts[i] += " hole";
     donuts[i] = donuts[i].toUpperCase();
     console.log(donuts[i]);
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Summary
&lt;/h2&gt;

&lt;p&gt;Received a meaningful comment and it is a great tool of motivation. I'm grateful for the people who are there supporting me. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://unstoppablerobotninja.com/entry/fluid-images/"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--pBY5Md_y--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0u6n0sdvysys5huns8an.png" alt="resources" width="726" height="78"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>100daysofcode</category>
      <category>programming</category>
      <category>javascript</category>
      <category>motivation</category>
    </item>
    <item>
      <title>Day 96/100 Data Types</title>
      <dc:creator>Rio Cantre</dc:creator>
      <pubDate>Mon, 20 Dec 2021 09:05:09 +0000</pubDate>
      <link>https://dev.to/riocantre/day-96100-data-types-52m7</link>
      <guid>https://dev.to/riocantre/day-96100-data-types-52m7</guid>
      <description>&lt;p&gt;&lt;a href="https://media.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%2Fh7w1rm52c041ih9k8q8o.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.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%2Fh7w1rm52c041ih9k8q8o.png" alt="banner"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Seven fundamental data types:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;em&gt;Number&lt;/em&gt;: Any number, including numbers with decimals: &lt;code&gt;4&lt;/code&gt;, &lt;code&gt;8&lt;/code&gt;, &lt;code&gt;1516&lt;/code&gt;, &lt;code&gt;23.42&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;em&gt;String&lt;/em&gt;: Any grouping of characters on your keyboard (letters, numbers, spaces, symbols, etc.) surrounded by single quotes: &lt;code&gt;' ... '&lt;/code&gt; or double quotes &lt;code&gt;" ... "&lt;/code&gt;. Though we prefer single quotes. Some people like to think of string as a fancy word for text.&lt;/li&gt;
&lt;li&gt;
&lt;em&gt;Boolean&lt;/em&gt;: This data type only has two possible values— either &lt;code&gt;true&lt;/code&gt; or &lt;code&gt;false&lt;/code&gt; (without quotes). It’s helpful to think of booleans as on and off switches or as the answers to a “yes” or “no” question.&lt;/li&gt;
&lt;li&gt;
&lt;em&gt;Null&lt;/em&gt;: This data type represents the intentional absence of a value, and is represented by the keyword &lt;code&gt;null&lt;/code&gt; (without quotes).&lt;/li&gt;
&lt;li&gt;
&lt;em&gt;Undefined&lt;/em&gt;: This data type is denoted by the keyword &lt;code&gt;undefined&lt;/code&gt; (without quotes). It also represents the absence of a value though it has a different use than &lt;code&gt;null&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;em&gt;Symbol&lt;/em&gt;: A newer feature
to the language, symbols are unique identifiers, useful in more complex
coding. No need to worry about these for now.&lt;/li&gt;
&lt;li&gt;
&lt;em&gt;Object&lt;/em&gt;: Collections of related data.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Code Snippets
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;var prices = [1.23, 48.11, 90.11, 8.50, 9.99, 1.00, 1.10, 67.00];

prices[0] = 2.33;
prices[2] = 99.00;
prices[6] = 3.00;

for (var index = 0; index&amp;lt;prices.length; index++){
    if(index===0){
       prices[index]=11;
    }
    else if(index===2){
       prices[index]=33;
    }
    else if(index===6){
       prices[index]=77;
    }
}
console.log(prices);

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Summary
&lt;/h2&gt;

&lt;p&gt;Yesterday was the 2nd "Surprise" Drill in Technical line. Luckily, the electricity came back later the day and same time got extensions to pay the bills. I'm so coward that I could not afford to pay the bills on time, now I must submit my small useful blog on the same posting time.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://blog.thepete.net/blog/2020/10/29/roadtrip-product-engineering-planning/" rel="noopener noreferrer"&gt;&lt;img src="https://media.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%2Fadu49y49en9cwc9fx8br.png" alt="resource"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>100daysofcode</category>
      <category>programming</category>
      <category>javascript</category>
      <category>motivation</category>
    </item>
    <item>
      <title>Day 95/100 The Internet</title>
      <dc:creator>Rio Cantre</dc:creator>
      <pubDate>Sun, 19 Dec 2021 10:48:15 +0000</pubDate>
      <link>https://dev.to/riocantre/day-95100-the-internet-38d2</link>
      <guid>https://dev.to/riocantre/day-95100-the-internet-38d2</guid>
      <description>&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--wPKbUo7y--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2j7a17h0cq72fr2i3508.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--wPKbUo7y--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2j7a17h0cq72fr2i3508.png" alt="banner" width="726" height="249"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The Internet, Explained
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;What is the difference between the internet and the world wide web?&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;What is the difference between the internet and the world wide web?&lt;/li&gt;
&lt;li&gt;The web has become so popular that many people now regard it as synonymous with the internet itself; but this is a misconception.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Where is the internet?&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The internet is compromised of data centers, long fiber optic cables, and cable companies that ensure distribution to paying customers via cables, towers and DSL service.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;What is a web browser?&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A computer program that allows users to download and view websites.&lt;/li&gt;
&lt;li&gt;A computer program that allows users to download and view websites.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Cover Background
&lt;/h2&gt;

&lt;p&gt;Someone commented that the background cover I used the entire challenge is funny. I hope that person visit museums and admire the painting for a minimum of 2 mins at least. I could accept that, but in every art piece there is a story. My story, I'm heartbroken, I quit my job and drop out at school. I have no friends and nobody wants to help me. Instead of whipping and making myself sad, I used the internet to do something. That's when I started coding, others view it as pretty boring and needs a lot of time solving problems. I thought it would be perfect for me, since I'm devastated and all. I got nothing to loss, it was a perfect excuse for me to cope with the pain. Then until, the man I meet 2 years ago, keep on hunting me. I'm not sure what's his purpose, but I'm entirely sad that he left me heartbroken and doesn't want me to forget him. Learning to code has become my way of letting go.&lt;/p&gt;

&lt;h2&gt;
  
  
  Summary
&lt;/h2&gt;

&lt;p&gt;This probably my last day posting, I could not afford to pay the internet and electricity bills. I only have 40% left in my battery, I won't know when I can pay the bills. Today, I cowardly shared my feelings and sentiments through the Internet. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.vox.com/2014/6/16/18076282/the-internet"&gt;&lt;br&gt;
&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--IVDbxOQr--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0sar5mxsnqoqz8csu7v6.png" alt="resource" width="726" height="78"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>100daysofcode</category>
      <category>programming</category>
      <category>design</category>
      <category>motivation</category>
    </item>
    <item>
      <title>Day 94/100 Secondary Navigation</title>
      <dc:creator>Rio Cantre</dc:creator>
      <pubDate>Sat, 18 Dec 2021 12:29:39 +0000</pubDate>
      <link>https://dev.to/riocantre/day-94100-secondary-navigation-4ofi</link>
      <guid>https://dev.to/riocantre/day-94100-secondary-navigation-4ofi</guid>
      <description>&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--KyUAz6E6--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/neqz9gr0gkt7gdp2x348.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--KyUAz6E6--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/neqz9gr0gkt7gdp2x348.png" alt="banner" width="726" height="249"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What is primary vs secondary navigation?
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;The primary navigation system typically contains the most important links and buttons that need to be displayed on every single page of the site.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Secondary navigation, or breadcrumb navigation, usually consists of a clickable list of pages or attributes that led to the current page. It can help users understand the extent of the site and also where they are currently.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Why do we call them breadcrumbs?
&lt;/h2&gt;

&lt;p&gt;Think about the story of Hansel and Gretel, where the kids drop breadcrumbs as they walked in the woods so that they would be able to find their way back.&lt;/p&gt;

&lt;h2&gt;
  
  
  Benefit of using breadcrumbs
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Breadcrumb navigation provides a lot of benefits for users that come to random pages in a website through direct links or search results.&lt;/li&gt;
&lt;li&gt;Breadcrumbs also provide a way for a user to quickly jump backward in their navigation of the site.&lt;/li&gt;
&lt;li&gt;The decision to use breadcrumbs is a judgment call depending on the type, depth, and complexity of your site.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Code Snippets
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;function cat() {
    function purr()
         return "purrrr!";
} 
console.log(purr()) ;
var meow = function(max) {
var catMessage = "";

for(var i = 0; i &amp;lt; max; i++) {
    catMessage += "meow";
   }
    return catMessage;
   }

cat();
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Summary
&lt;/h2&gt;

&lt;p&gt;It's cold outside, making myself warm and contemplating. The view on my window is all white and foggy, brain is fuzzy, now I must have my warm yummy tea in a muggy.&lt;br&gt;
&lt;a href="https://dropbox.tech/mobile/the-not-so-hidden-cost-of-sharing-code-between-ios-and-android"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--vHjkJS7n--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/bkwivxjy7l2puesv1oaa.png" alt="resource" width="726" height="78"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>100daysofcode</category>
      <category>programming</category>
      <category>design</category>
      <category>motivation</category>
    </item>
    <item>
      <title>Day 93/100 Web Design</title>
      <dc:creator>Rio Cantre</dc:creator>
      <pubDate>Fri, 17 Dec 2021 12:07:46 +0000</pubDate>
      <link>https://dev.to/riocantre/day-93100-web-design-bgd</link>
      <guid>https://dev.to/riocantre/day-93100-web-design-bgd</guid>
      <description>&lt;p&gt;Making time to think about the basics of web design would evaluate the significance of the structures and compositions, which are elements for the entire concept.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.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%2Fxt7ux2l8cmsmj6qj96ly.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.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%2Fxt7ux2l8cmsmj6qj96ly.png" alt="banner"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Clickability
&lt;/h2&gt;

&lt;p&gt;For users on the web, the mouse click is perhaps the most fundamental human-computer interaction. The web became the web partially through the power of hypertext, or text in one document that links to other documents or resources. To this day, users navigate the web largely through mouse clicks (and finger taps on mobile and tablet devices).&lt;/p&gt;

&lt;h2&gt;
  
  
  Affordances
&lt;/h2&gt;

&lt;p&gt;Objects afford the ability of users to interact with them in various ways. For instance, a bench affords a person the ability to sit on it, but if it is not affixed to the ground, it also affords the user the ability to turn it over, throw (if the user is physically able), or perform any number of other actions. Even though the designer was probably not designing the bench with throwing in mind as the primary user behavior, the object still affords this action. Potentials for interaction are collectively called the affordances of an object.&lt;/p&gt;

&lt;h2&gt;
  
  
  Signifiers
&lt;/h2&gt;

&lt;p&gt;Signifiers are aspects of an object that a designer uses to indicate potential and intended affordances of an object. For example, a teacup with no handle affords the ability to lift it and drink out of it. But designers and potters often add handles to signify that users can and should lift up the object and take a sip. The handle is an example of a common user experience pattern. &lt;/p&gt;

&lt;h2&gt;
  
  
  Code Snippets
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;function makeLine(length) {
    var line = "";
    for (var j = 1; j &amp;lt;= length; j++) {
        line += "* ";
    }
        return line + "\n";
    }

function buildTriangle(length){
    var triangle = "";
    var lineRow = 1;
    for (lineRow = 1 ; lineRow &amp;lt;= length ; lineRow++){
         triangle = triangle + makeLine(lineRow);
    }
         return triangle;
    }
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Summary
&lt;/h2&gt;

&lt;p&gt;One more week and I'll be over. The request for comments seems daunting, I approach on several people but only a few responded, it seems everybody are always busy. It's good to be busy.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.nytimes.com/2009/04/07/opinion/07crocker.html" rel="noopener noreferrer"&gt;&lt;img src="https://media.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%2Fneqv695fszce65rdux58.png" alt="resource"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>100daysofcode</category>
      <category>programming</category>
      <category>design</category>
      <category>motivation</category>
    </item>
    <item>
      <title>Day 92/100 Text Readability</title>
      <dc:creator>Rio Cantre</dc:creator>
      <pubDate>Thu, 16 Dec 2021 14:37:50 +0000</pubDate>
      <link>https://dev.to/riocantre/day-92100-text-readability-130</link>
      <guid>https://dev.to/riocantre/day-92100-text-readability-130</guid>
      <description>&lt;p&gt;Improving the readability of an article would make the user's interest to keep reading and encourage to spend longer time to value the contents and establish a sense of empowerment to deliver the emotions and facts about the motivations of creativity.&lt;/p&gt;

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

&lt;h2&gt;
  
  
  Adjust whitespace within the text:
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Line Spacing&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Line spacing, also known as Leading, refers to the distance between two lines of text. Adjusting this value has a huge impact on the legibility of your site.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Tracking&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Similar to kerning, a way to make your text more readable is to adjust the tracking of the letters. Tracking is the space between the letters and the words. If you have too little tracking, the words will appear cramped, so by increasing tracking slightly, you make your text significantly more legible.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Kerning&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Kerning is the space between two letters in the text. You
typically will not need to worry about kerning because a well-designed typeface already has optimal kerning built in. It is most important when you want to adjust the kerning in a title or header to achieve the design you want.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Code Snippets
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;var num = 99;

while (num &amp;gt;=1) {
// Last iteration. Note occurances of bottle, bottle, bottleS
if (num === 1) {
   console.log(num + " bottle of juice on the wall! "
            + num + " bottle of juice! Take one down, pass it around... " + (num-1) + " bottles of juice on the wall!");
}
// Second-last iteration. Note occurances of bottleS, bottleS, bottle
else if (num === 2){
         console.log(num + " bottles of juice on the wall! "
         + num + " bottles of juice! Take one down, pass it around... " + (num-1) + " bottle of juice on the wall!");
}
// All other iterations. Note occurances of bottleS, bottleS, bottleS
else {
     console.log(num + " bottles of juice on the wall! "
     + num + " bottles of juice! Take one down, pass it around... " + (num-1) + " bottles of juice on the wall!");
}

num = num - 1;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Summary
&lt;/h2&gt;

&lt;p&gt;I didn't realize having this challenge made me spontaneous in making plans. I started to realize that even if I'm submitting short useful blogs, somehow the most important thing is that I'm learning something.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.thoughtworks.com/insights/blog/no-estimates-not-only-answer-or-moving-towards-predictability"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ZQJKqmOs--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zqqygs8z5cal87i6lzc6.png" alt="resource" width="726" height="78"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>100daysofcode</category>
      <category>programming</category>
      <category>design</category>
      <category>motivation</category>
    </item>
    <item>
      <title>Day 91/100 Color for UI</title>
      <dc:creator>Rio Cantre</dc:creator>
      <pubDate>Wed, 15 Dec 2021 15:51:55 +0000</pubDate>
      <link>https://dev.to/riocantre/day-91100-color-for-ui-hae</link>
      <guid>https://dev.to/riocantre/day-91100-color-for-ui-hae</guid>
      <description>&lt;p&gt;Selecting the appropriate colors for your designs must first know the common aspects and keys to convey.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.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%2Fqg06tvzubr7y6ugknfyc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.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%2Fqg06tvzubr7y6ugknfyc.png" alt="banner"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Different types of color blindness&lt;/strong&gt;
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;red-green&lt;/strong&gt;, where users have a difficult time differentiating between the red and green colors.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;blue-yellow&lt;/strong&gt;, where the blues tend to appear greener&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;monochromatic&lt;/strong&gt;, when users can’t see color at all.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;The keys to designing for UI&lt;/strong&gt;
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Select a dominant brand color and supporting accent colors.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Use contrast to define sections and differentiate actions.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Use semantic colors for error and success messages.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Incorporate default colors for text and backgrounds where needed.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Neutral colors can provide good contrast.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Code Snippets
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;if (false) {
  console.log('The code in this block will not run.');
} else {
  console.log('But the code in this block will!');
}

// Prints: But the code in this block will!
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Summary
&lt;/h2&gt;

&lt;p&gt;I'm counting my days, and exploring my imagination. Extracting all the information I learned on this challenge. Now , I have to expand my motivation to become better in writing proper blogs.&lt;br&gt;
&lt;a href="https://medium.com/@kentbeck_7670/fast-slow-in-3x-explore-expand-extract-6d4c94a7539" rel="noopener noreferrer"&gt;&lt;img src="https://media.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%2Faryopg99b220podt2eq0.png" alt="resource"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>100daysofcode</category>
      <category>programming</category>
      <category>design</category>
      <category>motivation</category>
    </item>
    <item>
      <title>Day 90/100 Color Theory</title>
      <dc:creator>Rio Cantre</dc:creator>
      <pubDate>Tue, 14 Dec 2021 13:30:45 +0000</pubDate>
      <link>https://dev.to/riocantre/day-90100-color-theory-1aeo</link>
      <guid>https://dev.to/riocantre/day-90100-color-theory-1aeo</guid>
      <description>&lt;p&gt;Every design must have a properly structured color system to be used on a project. Obtaining insight on a practical approach and putting more effort into bringing the ideal color system would eventually help select the suitable scheme.&lt;/p&gt;

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

&lt;h2&gt;
  
  
  Best Practices
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Use neon colors sparingly.&lt;/strong&gt;&lt;br&gt;
While the use of neon colors can feel hip, they are often hard on a user’s eyes.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Avoid vibrating colors.&lt;/strong&gt; Vibrating colors result from&lt;br&gt;
pairing two colors with high saturation together that may be&lt;br&gt;
complementary to one another. It creates a glowing or moving effect, which also can be hard on one’s eyes.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Use backdrops to separate vibrating colors.&lt;/strong&gt;&lt;br&gt;
In the example, the white backdrop behind the green card reduces the space where the contrasting colors (red and green) are directly next to each other, but the overall effect is still too intense for most websites.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Avoid color combinations with insufficient contrast&lt;/strong&gt;, including:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Bright colors on top of bright colors&lt;/li&gt;
&lt;li&gt;Light colors on top of light colors&lt;/li&gt;
&lt;li&gt;Dark colors on top of dark colors&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Even if there’s enough contrast in these pairings for the different colors to be legible, they likely won’t create enough contrast to attract the user’s attention.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Summary
&lt;/h2&gt;

&lt;p&gt;I'm almost done with the challenge, making this daily made me think of doing something opposite. For instance, I read an article about "I completely ignored the front end development scene for 6 months. It was fine". I think I'll do fine if I finished this one.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://rachsmith.com/i-completely-ignored-the-front-end-development-scene-for-6-months/"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--MJeaSKFF--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/lnqikv0uaucjhxhs3x8d.png" alt="resource" width="726" height="78"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>100daysofcode</category>
      <category>css</category>
      <category>design</category>
      <category>motivation</category>
    </item>
    <item>
      <title>Day 89/100 Sticky</title>
      <dc:creator>Rio Cantre</dc:creator>
      <pubDate>Mon, 13 Dec 2021 14:18:13 +0000</pubDate>
      <link>https://dev.to/riocantre/day-89100-sticky-5gln</link>
      <guid>https://dev.to/riocantre/day-89100-sticky-5gln</guid>
      <description>&lt;p&gt;To make something relevant, one must have an idea to make it more functional and stick to that proposal to make it workable and effective. A strategy that makes sense when everything seems not working according to plan and puts out another method to get through the hurdles on the way. After achieving the designated position, one would benefit from the changes ahead because it possesses the role before claiming it to be the actual holder. Often, the highest rank is compost of a mountain of irrelevant ideas and make things work by gaining support on small strategies that are anonymous and unknown to the public. &lt;/p&gt;

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

&lt;h2&gt;
  
  
  Position
&lt;/h2&gt;

&lt;p&gt;The default position of an element can be changed by setting its position property. The position property can take one of five values:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;static&lt;/code&gt; - the default value (it does not need to be specified)&lt;/li&gt;
&lt;li&gt;&lt;code&gt;relative&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;absolute&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;fixed&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;sticky&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Sticky
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;The &lt;code&gt;sticky&lt;/code&gt; value is another position value that keeps an element in the document flow as the user scrolls, but &lt;em&gt;sticks&lt;/em&gt; to a specified position as the page is scrolled further. This is done by using the &lt;code&gt;sticky&lt;/code&gt; value along with the familiar offset properties, as well as one new one.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Code Snippets
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;let groceryItem = 'papaya';

switch (groceryItem) {
  case 'tomato':
    console.log('Tomatoes are $0.49');
    break;
  case 'lime':
    console.log('Limes are $1.49');
    break;
  case 'papaya':
    console.log('Papayas are $1.29');
    break;
  default:
    console.log('Invalid item');
    break;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  &lt;a href="https://a11ymyths.com/"&gt;a11y myths&lt;/a&gt;
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Blind people don't watch movies&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;They definitely do. With the help of audio descriptions they can watch and listen to any media content as all other people do. &lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://www.w3.org/WAI/media/av/description/"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--k-_Uc_MZ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pllsmr77s0usjjrnm6y7.png" alt="Resource" width="726" height="78"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>100daysofcode</category>
      <category>programming</category>
      <category>motivation</category>
    </item>
  </channel>
</rss>
