<?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: Byali Macqueline</title>
    <description>The latest articles on DEV Community by Byali Macqueline (@byali_macqueline_lea).</description>
    <link>https://dev.to/byali_macqueline_lea</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%2F2322238%2F9f8983f3-1d81-43e9-a660-fafcf2edd333.png</url>
      <title>DEV Community: Byali Macqueline</title>
      <link>https://dev.to/byali_macqueline_lea</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/byali_macqueline_lea"/>
    <language>en</language>
    <item>
      <title>DOM in JavaScript</title>
      <dc:creator>Byali Macqueline</dc:creator>
      <pubDate>Wed, 22 Jan 2025 09:06:13 +0000</pubDate>
      <link>https://dev.to/byali_macqueline_lea/dom-in-javascript-406g</link>
      <guid>https://dev.to/byali_macqueline_lea/dom-in-javascript-406g</guid>
      <description>&lt;h1&gt;
  
  
  DOCUMENT OBJECT MODEL (DOM)
&lt;/h1&gt;

&lt;blockquote&gt;
&lt;p&gt;The DOM API is a programming interface for web documents. It represents the page so that programs can change the document structure,  style and content.&lt;/p&gt;

&lt;p&gt;The DOM  represents the document as a tree of objects; each object represents a part of the page.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  DOM Manipulations in JavaScript
&lt;/h2&gt;

&lt;p&gt;&lt;em&gt;These are some of the basics we can consider while implementing DOM in JavaScript&lt;/em&gt;;&lt;/p&gt;

&lt;p&gt;1.&lt;strong&gt;Query selector&lt;/strong&gt;; This is a greedy selector.It selects the first element which has been specified.&lt;/p&gt;

&lt;p&gt;&lt;u&gt;Forexample;&lt;/u&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;querySelector("h1")&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;This will target the first h1 element throughout the whole html document&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;2.&lt;strong&gt;QueryselectorAll&lt;/strong&gt;: This targets all h3 elements in the html document.&lt;/p&gt;

&lt;p&gt;&lt;u&gt;Forexample;&lt;/u&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;querySelectorAll("h3")&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;These will be output in a node list in the console.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;NB&lt;/strong&gt;: &lt;em&gt;Node list looks like an array but the two are significantly different&lt;/em&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;A nodelist is a browser API yet an array is a JavaScript API.&lt;br&gt;
In short, node list does not belong to JavaScript,  for that case , loops can not be implemented on it.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Also, &lt;em&gt;getElementbyTagName()&lt;/em&gt; and &lt;em&gt;QueryselectorAll&lt;/em&gt; are not JavaScript methods but rather browser APIs.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;INNER HTML&lt;/strong&gt; AND &lt;strong&gt;INNER TEXT&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;It is advisable to use inner html unlike inner text because,  in such a case, modifications of your script by other people would be limited.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;Ways of targetting elements&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;We have many ways of targeting or selecting elements we want to manipulate in our document.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;Some of these ways include&lt;/em&gt;:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;By Id&lt;br&gt;
By Name&lt;br&gt;
By Class&lt;br&gt;
By Tag&lt;br&gt;
By Tag name&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;NB&lt;/strong&gt;: We never use &lt;em&gt;Id&lt;/em&gt; and &lt;em&gt;Class&lt;/em&gt; to select anything from the browser.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;We therefore use the &lt;em&gt;Queryselector.&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;Key Concepts in JavaScript.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;a) &lt;strong&gt;HOISTING&lt;/strong&gt;:Elaborating this using an example below,&lt;/p&gt;

&lt;p&gt;&lt;u&gt;Forexample:&lt;/u&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;1.Console.log(a);&lt;br&gt;
2.var a;&lt;br&gt;
3.a = 5;&lt;br&gt;
4.Console log a;&lt;/code&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;During execution in the console,  a is going to be output as &lt;strong&gt;undefined&lt;/strong&gt; for line number 1.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;This means that even though we didn't explicitly declare &lt;code&gt;a&lt;/code&gt; initially, it was "magically" declared in the browser , and this is called hoisting.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Normally, for line number 4, the output would be 5 since &lt;code&gt;a&lt;/code&gt; was explicitly initialized.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;b) &lt;strong&gt;CLOSURE&lt;/strong&gt;:This is created  every time a function is created.&lt;/p&gt;

&lt;p&gt;c) &lt;strong&gt;GLOBAL EXECUTION CONTEXT&lt;/strong&gt;:The Global Execution Context is the environment where your JavaScript code runs when it is not inside any function.&lt;/p&gt;

&lt;p&gt;d) &lt;strong&gt;CALL STACK&lt;/strong&gt;:When a script calls a function,  the interpreter adds it to the stack and then starts carrying out the function&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/macquelineleya" rel="noopener noreferrer"&gt;My Github link&lt;/a&gt;&lt;br&gt;
&lt;a href="//www.linkedin.com/in/mackline-leya"&gt;Linked in&lt;/a&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>javascript</category>
      <category>ineuron</category>
      <category>programming</category>
    </item>
    <item>
      <title>Arrays in JavaScript</title>
      <dc:creator>Byali Macqueline</dc:creator>
      <pubDate>Sat, 18 Jan 2025 17:05:25 +0000</pubDate>
      <link>https://dev.to/byali_macqueline_lea/arrays-in-javascript-2do5</link>
      <guid>https://dev.to/byali_macqueline_lea/arrays-in-javascript-2do5</guid>
      <description>&lt;h1&gt;
  
  
  Array methods
&lt;/h1&gt;

&lt;p&gt;&lt;em&gt;Here, we have some array methods such as ;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;1.&lt;strong&gt;push()&lt;/strong&gt;: Used to insert values into an existing array, though the value will be added at the end 9f the array.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;let numbers = [1,2,3];&lt;br&gt;
Console. log(numbers.push(4));&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;The output here would be: [1, 2, 3, 4]&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;2.&lt;strong&gt;slice()&lt;/strong&gt;: Used to get a given range of values from an array at their specific indexes.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;let numbers = [1,2,3,4,5];&lt;br&gt;
Console. log(numbers.slice(1, 4));&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;The range here is from 1 to 4, thus the last value at index 4 is not going to be among the values in the output.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;The output here would be;&lt;/em&gt;&lt;br&gt;
[1, 2, 3]&lt;/p&gt;

&lt;p&gt;3.&lt;strong&gt;splice()&lt;/strong&gt;: Inserts values at specific indexes accordingly as aligned by the user.&lt;/p&gt;

&lt;p&gt;Forexample;&lt;br&gt;
&lt;code&gt;let fruits =['apple' ,'mango','orange','peer'];&lt;br&gt;
fruits . splice(2,0,'pawpaw', 'strawberries');&lt;br&gt;
console.log (fruits);&lt;br&gt;
&lt;/code&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Here, the 2-From where i will start.This means at index 2, we insert the first value(pawpaw) into the array,  then ,0-how many we shall replace or delete. Therefore,0 means after insertion at 2, we insert strawberries at index 0, hence remove 0 items next to pawpaw.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;em&gt;The output here would be;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;['apple' ,'mango','pawpaw', 'strawberries','orange','peer']&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Incase we used 1 instead of 0, we would remove orange hence output would be;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;'apple','mango','pawpaw','strawberries','peer'];&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;4.&lt;strong&gt;concatenation()&lt;/strong&gt;; This can be used to join or add 2 or more arrays to form a single array.&lt;/p&gt;

&lt;p&gt;Forexample;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;let arr1=[1,2,3,4];&lt;br&gt;
let arr2=[5,6 ,7];&lt;br&gt;
console.log (arr1.concat(arr2))&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Output&lt;/strong&gt;:[1,2,3,4,5,6,7]&lt;/p&gt;

&lt;p&gt;&lt;code&gt;Let arr3=[8,9]&lt;br&gt;
Console.log (arr1.concat(arr2,arr3))&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Output&lt;/strong&gt; here would be:[1,2,3,4,5, 6, 7, 8, 9]&lt;/p&gt;

&lt;p&gt;5.&lt;strong&gt;fill()&lt;/strong&gt;: This helps us to add a value into the array in a given range.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;let arr4 = [1,2,3,4];&lt;br&gt;
arr4.fill('Anurag', 2, 4);&lt;br&gt;
console.log(arr4);&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Here &lt;em&gt;Output&lt;/em&gt; would be: [1,'Anurag' 4]&lt;/p&gt;

&lt;p&gt;6.&lt;strong&gt;shift()&lt;/strong&gt;: This shifts the first item of an array and removes it.&lt;/p&gt;

&lt;p&gt;Forexample;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;let arr4 = [1,2,3,4];&lt;br&gt;
arr4.shift();&lt;br&gt;
console.log (arr4);&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Output&lt;/em&gt; here would be: [2,3,4]&lt;/p&gt;

&lt;p&gt;7.&lt;strong&gt;indexOf()&lt;/strong&gt;: This helps us to find the index at which a specific value is.&lt;/p&gt;

&lt;p&gt;Forexample;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;let arr4 = [1,2,3,4];&lt;br&gt;
console.log (arr4.indexOf(3));&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Output&lt;/em&gt; here would be 2 as the value 3 is stored at index 2.&lt;/p&gt;

&lt;p&gt;8.&lt;strong&gt;lastIndexOf()&lt;/strong&gt;: This outputs the index of the last value in an array.&lt;/p&gt;

&lt;p&gt;Forexample;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;let arr4 = [1,2,3,4];&lt;br&gt;
console.log (arr4.lastIndexOf());&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;9.&lt;strong&gt;include()&lt;/strong&gt;: This method is used to determine whether it is true or false a particular value is stored at that specific index.&lt;/p&gt;

&lt;p&gt;Forexample;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;let arr4 = [1,2,3,4];&lt;br&gt;
arr4.include(4,2);&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Output&lt;/em&gt; here would be false since value 4 is not stored at index 2.&lt;/p&gt;

&lt;p&gt;10.&lt;strong&gt;pop()&lt;/strong&gt;: Used to remove a value from the end of the array.&lt;/p&gt;

&lt;p&gt;Forexample;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;let arr4 = [1,2,3,4];&lt;br&gt;
arr4.pop();&lt;br&gt;
console.log(arr4);&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Output&lt;/em&gt; here would be; [1,2,3]&lt;/p&gt;

&lt;p&gt;11.&lt;strong&gt;join()&lt;/strong&gt;: You can use any string or anything to join or add the values in an array together.&lt;/p&gt;

&lt;p&gt;Forexample;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;let arr4 = [1,2,3];&lt;br&gt;
console.log (arr4.join('and'));&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Output&lt;/em&gt; here would be; 1 and 2 and 3.&lt;/p&gt;

&lt;p&gt;13.&lt;strong&gt;unshift()&lt;/strong&gt;: This adds elements to the beginning of an array and returns the new length of the array.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/macquelineleya" rel="noopener noreferrer"&gt;My Github link&lt;/a&gt;&lt;br&gt;
&lt;a href="//www.linkedin.com/in/&amp;lt;br&amp;gt;%0Amackline-leya"&gt;My Linked in&lt;/a&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>javascript</category>
      <category>beginners</category>
      <category>ineuron</category>
    </item>
    <item>
      <title>JavaScript Basics I learnt today on this developer journey.</title>
      <dc:creator>Byali Macqueline</dc:creator>
      <pubDate>Sun, 29 Dec 2024 17:47:56 +0000</pubDate>
      <link>https://dev.to/byali_macqueline_lea/javascript-basics-i-learnt-today-on-this-developer-journey-2l77</link>
      <guid>https://dev.to/byali_macqueline_lea/javascript-basics-i-learnt-today-on-this-developer-journey-2l77</guid>
      <description>&lt;h1&gt;
  
  
  JAVASCRIPT BASICS
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;Datatypes&lt;/li&gt;
&lt;li&gt;Values&lt;/li&gt;
&lt;li&gt;Variables&lt;/li&gt;
&lt;li&gt;Conditions&lt;/li&gt;
&lt;li&gt;Operators&lt;/li&gt;
&lt;li&gt;Loops&lt;/li&gt;
&lt;li&gt;Functions&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  HISTORY OF JAVASCRIPT
&lt;/h2&gt;

&lt;p&gt;&lt;em&gt;Initially, developers wanted something which could bring functionality to the browser;  a scripting Language.&lt;/em&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Code written could only be supportable in the browser from which it was written. Therefore, to come up with a solution for this, they came up with &lt;strong&gt;ECMA Script&lt;/strong&gt;. ECMA script was a set of rules to be followed while coding in a browser. This wasn't compatible though, and &lt;strong&gt;ES6&lt;/strong&gt; was introduced. ES6 was a modified set of rules or instructions to govern coding in the browsers. Mocha(1995) to LiveScript (1996) to JavaScript (till date).Browsers during those back days only supported CSS and HTML only. &lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;em&gt;There were only 2 browsers in the ancient days, that is to say; internet Explorer and Netscape browser.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The JavaScript Basics
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;1.Dataypes(values)&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Forexample:1.number(whole number and decimal number) such as 1,  6.4; 2.string forexample "leya".&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;These have a single value.&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;arrays&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Here we have index and the value.  To access any value. We use the help of index.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Objects&lt;/strong&gt;&lt;br&gt;
We have key and value. &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Forexample:
&lt;code&gt;Fname:Mackline,
lname:leya&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Objects have more than one value. Here you get power to create your own key for any value you be having  yet in arrays you will always use index which is always constant and can't be changed.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Forexample;&lt;code&gt;let bankaccount ={fname:'leya',&lt;br&gt;
lname:'Mackline',&lt;br&gt;
mobileno:989372,&lt;br&gt;
};&lt;br&gt;
Console.log(numbers);&lt;br&gt;
Console.log (numbers.lname);&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Therefore, to access a particular object, we can use a dot symbol in between the objects.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;2.Variables&lt;/strong&gt;&lt;br&gt;
&lt;em&gt;Incase we want to store some of our values, we can use variables. Variables are folders or placeholder for a value.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Three different ways to declare a variable.
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;1.var x = 50; &lt;em&gt;We should minimumly use var due to memory convenience.&lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;2.let y = 50; *We can use it for changing values such as account balance ...&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;3.const z = 'leya';&lt;em&gt;we use const when we don't want to change the value of that variable.&lt;/em&gt; &lt;br&gt;
Forexample:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;A var z to store a bank account number since it is a constant one.Incase we want to print something on the screen, we then use the statement below in the terminal; &lt;strong&gt;console.log(object);&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;That is to say; console.log(fname) ;We can also use template literal.That is to say;&lt;br&gt;
&lt;code&gt;console.log(my current first name is ${fname});&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;3.Operators&lt;/strong&gt;&lt;br&gt;
&lt;em&gt;These come in when we are going to do some calculations. That is to say, calculations.&lt;/em&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  Examples of operators
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;1.assignment operators [=]&lt;/li&gt;
&lt;li&gt;2.arithmetic operators [+, ×, ÷, %]&lt;/li&gt;
&lt;li&gt;3.comparison operators [&amp;gt;, &amp;lt;, &amp;gt;=, &amp;lt;=, == which compares only values and ==== which compares both value and datatype Forexample; x=5;                        y='5';console.log(x==y) is true yet console.log(x===y) is false].&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  PICKUPS;
&lt;/h3&gt;

&lt;p&gt;&lt;code&gt;const accno;accno = "45689943";&lt;/code&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;This would bring an error because accno being a constant should be initialized on declaration. &lt;br&gt;
Also; &lt;code&gt;const accno = 4694647855 ;   &lt;br&gt;
      accno = 1345950;&lt;/code&gt;&lt;br&gt;
This would also output an error in the output because accno being a constant is initialized once and for all.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;4.Decisions&lt;/strong&gt;&lt;br&gt;
&lt;em&gt;These are also called conditions. We can use :&lt;/em&gt;&lt;br&gt;
&lt;strong&gt;a) If else statements&lt;/strong&gt;: here the statement in else is executed if all other statements in if and else, if blocks are not true.&lt;br&gt;&lt;br&gt;
&lt;strong&gt;b) Switch case&lt;/strong&gt; &lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Here the default works like the else as in in if else conditional statements. We also use break in the switch cases when we have to go out of the switch case loop.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h3&gt;
  
  
  NB:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Both if else and switch case statements do the same work, but if else is commonly used.
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;c) Ternary operators/, operations&lt;/strong&gt; &lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;These can be done by the use of only 2 operators, that is to say, ? and the ;. Anything written after the (?) is true and whatever is written after colon is false , and everything before the ? is a condition.That is to say; condition ? true ; false.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;5.Loops&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;These can help in iteration of something such as a variable like array, to its end.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h4&gt;
  
  
  Some are examples of loops we have
&lt;/h4&gt;

&lt;p&gt;&lt;em&gt;i) do while loop&lt;/em&gt;:Here, atleast one statement is executed in the do block as an output. This is because the condition in such a loop is written at the end of the loop.&lt;br&gt;
&lt;code&gt;let a=5;&lt;br&gt;
do{&lt;br&gt;
console.log('The value of a is;', a);&lt;br&gt;
a++;&lt;br&gt;
}while(a&amp;lt;=4);&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;ii) while loop&lt;/em&gt;;Here, there can be also no statement executed as long as the condition is not true.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;For example:&lt;br&gt;
&lt;code&gt;Let a = 6;&lt;br&gt;
while(a&amp;lt;=4){&lt;br&gt;
Console. log('value of a is: ', a );&lt;br&gt;
a ++;&lt;br&gt;
}&lt;/code&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;em&gt;iii) for loop&lt;/em&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;For example;&lt;code&gt;for(let a=0; a&amp;lt;=5; a++){&lt;br&gt;
Console. log('The value for a is:', a);&lt;br&gt;
}&lt;/code&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://github.com/macquelineleya/JavaScript-Basics.git" rel="noopener noreferrer"&gt;Github&lt;/a&gt;&lt;br&gt;
&lt;a href="https://www.linkedin.com/in/mackline-leya" rel="noopener noreferrer"&gt;Linkedin&lt;/a&gt;&lt;br&gt;
&lt;a href="https://hashnode.com/@byalimacquelinelea" rel="noopener noreferrer"&gt;Hashnode&lt;/a&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>javascript</category>
      <category>beginners</category>
      <category>ineuron</category>
    </item>
    <item>
      <title>Git And Markdown Basics</title>
      <dc:creator>Byali Macqueline</dc:creator>
      <pubDate>Tue, 24 Dec 2024 09:47:10 +0000</pubDate>
      <link>https://dev.to/byali_macqueline_lea/git-and-markdown-basics-423g</link>
      <guid>https://dev.to/byali_macqueline_lea/git-and-markdown-basics-423g</guid>
      <description>&lt;p&gt;GIT AND MARKDOWN &lt;br&gt;
GIT &lt;br&gt;
This is the most popular version control system in the world. It records and tracks changes made in code overtime in a special Database called Repository.&lt;/p&gt;

&lt;p&gt;A version control system can either be centralized or distributed. Whereas a centralized version control system has advantages, it is not that efficient because of its single point of failure. Examples of centralized version control system include;-subversion, team version.&lt;/p&gt;

&lt;p&gt;Therefore, the distributed control version system is better. Examples here include; -git -Mercurial  Git is the most popular because it is free, open source, supernatural and scalable. &lt;/p&gt;

&lt;p&gt;Using Git&lt;br&gt;
There are different ways we can use git. Some of these ways include; &lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;         -The command line 

         -Code editors and IDEs 

          -Graphical User Interfaces
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;In this, we have an extension we can install and use, called Git lens -GUI interfaces for example GitKraken, Sourcetree. At the end of the day, we use the right tool. And thus we commonly use the command line. Some of the commands used include;&lt;/p&gt;

&lt;p&gt;-git --version; used to checkout the version of git you are using. &lt;/p&gt;

&lt;p&gt;-git init; used for initialization of git. &lt;/p&gt;

&lt;p&gt;-git status; checks the status of the files in the folder your in. It shows whether these files are being tracked or not. &lt;/p&gt;

&lt;p&gt;-git add . ; For all the untracked files, this command adds such files such that they can be tracked(monitored) during commit to the repository. &lt;/p&gt;

&lt;p&gt;-git commit - m "message"; save all the changes that have been made.. m means the message you would like to send as a "heading" to your folder in the repo. &lt;/p&gt;

&lt;p&gt;-git branch-m Main; makes sure that everything goes to the main branch. &lt;/p&gt;

&lt;p&gt;-git remote origin url; at the url point, you copy and paste in the url for the repository from ,say, Github. &lt;/p&gt;

&lt;p&gt;-git push -u origin main; when you want to push everything to the branch.&lt;/p&gt;

&lt;p&gt;We prefer to commonly use the command line hence write commands in git Bash. To use this we have to first customize Git  after installing it with your username and email. We can specify these settings at different levels as stated below; &lt;/p&gt;

&lt;p&gt;-System; settings here would apply to all the users.&lt;/p&gt;

&lt;p&gt;-Global; The settings here apply to all repositories of the current user. &lt;/p&gt;

&lt;p&gt;-Local; The settings here apply to the current repository only.&lt;/p&gt;

&lt;p&gt;Each commit contains a complete snapshot of the project and this helps us to easily go back and check or access the previous version of the same project. &lt;/p&gt;

&lt;p&gt;To remove all files, we can use ; git rm. &lt;/p&gt;

&lt;p&gt;TOOLS WHICH USE GIT&lt;br&gt;
Github &lt;/p&gt;

&lt;p&gt;Bitbucket &lt;/p&gt;

&lt;p&gt;Gitlab &lt;/p&gt;

&lt;p&gt;GITHUB &lt;br&gt;
This is a tool which works on git.&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt; Basic Understanding of the power of git Git as a version controlling system.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;If you were building a website, with different versions starting from version,v1 . As time goes on, you keep modifying your website hence advancing to higher versions, that is, v2 and v3. After coming up with version, v4 of this project, the website certainly fails to load the webpages and seems faulty probably due to the new changes made . This is where the power of git comes in to play. Using git checkout v3**, you can remove all the modifications made on v4 and be able to access a working website of v3 again. Thereby, this making git, a version controlling system. &lt;/p&gt;

&lt;p&gt;MARKDOWN Readme.md;&lt;br&gt;
This is like a conclusion of whatever is inside your repository. It is a summary of what is inside the repository. A repository is a folder which has or stores all your content. Just like a database. &lt;/p&gt;

&lt;p&gt;Symbols here include; &lt;/p&gt;

&lt;p&gt;-hashtag symbol for headings respectively, that is ; #h1, ##h2,###h3 ,######h6 ,&lt;em&gt;h&lt;/em&gt; for making h italic ,&lt;strong&gt;h&lt;/strong&gt; for making h bold ,&lt;del&gt;h&lt;/del&gt; for making h have a strike through or one can call it for deletion of h &lt;a href="https://dev.tourl"&gt;message&lt;/a&gt; used for links -Then for images in markdown, we use; &amp;gt; &lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/link%2520for%2520image%2520address" 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/link%2520for%2520image%2520address" alt="alter text" width="" height=""&gt;&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;CONCLUSION: We can use these symbols when writing a readme.md in github to show a summary of all the content we have pushed in a give repository. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/macquelineleya" rel="noopener noreferrer"&gt;Github&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.linkedin.com/pulse/git-markdown-mackline-leya-glx2c" rel="noopener noreferrer"&gt;Linkedin&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://dev.to/byali_macqueline_lea"&gt;dev.To&lt;/a&gt;&lt;/p&gt;

</description>
      <category>github</category>
      <category>ineuron</category>
      <category>developerjourney</category>
      <category>webdev</category>
    </item>
    <item>
      <title>VANILLA CSS BASICS YOU SHOULD KNOW</title>
      <dc:creator>Byali Macqueline</dc:creator>
      <pubDate>Thu, 19 Dec 2024 23:28:14 +0000</pubDate>
      <link>https://dev.to/byali_macqueline_lea/vanilla-css-basics-you-should-know-4219</link>
      <guid>https://dev.to/byali_macqueline_lea/vanilla-css-basics-you-should-know-4219</guid>
      <description>&lt;h2&gt;
  
  
  BASICS OF CSS (Cascading Style Sheets)
&lt;/h2&gt;

&lt;p&gt;&lt;em&gt;Here in CSS, we get a target and pick up that specific element which we want to work on, from the web page.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How CSS works.
&lt;/h2&gt;

&lt;p&gt;CSS has mainly 2 parts, that is to say;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Selectors&lt;/li&gt;
&lt;li&gt;Declaration:This is also divided into : &lt;em&gt;property and then, value.&lt;/em&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  THREE LEVELS OF CSS;
&lt;/h2&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Inline CSS&lt;/strong&gt; &lt;/p&gt;
&lt;/blockquote&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;   * Here, CSS is used within the target element.
   * For example:`&amp;lt;p color="white"&amp;gt; This is inline CSS &amp;lt;/p&amp;gt;`
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Internal CSS&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;  * Here, CSS is written within the html file above the body tag and within the head tag.
  * This is done with the help of `&amp;lt;style&amp;gt;` tags.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;External CSS&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;For this case, CSS file is linked to the index.html file.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;When compiling the CSS code, CSS also bases on priority. In such case, inline CSS always has the highest priority,  followed by internal CSS then external CSS.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  CSS SELECTORS
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;These selectors enable us to know how to select elements from the html file. For the CSS selectors, we just need to know the type of selector we want to use, and also what it does to the target element.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;The following are some of the common CSS selectors used.&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Universal Selector&lt;/strong&gt;: When such selector is used, everything in the html file (all the html tags) is targeted or selected.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;For example:&lt;br&gt;
&lt;code&gt;*{&lt;br&gt;
background-color: grey&lt;br&gt;
}&lt;/code&gt;&lt;br&gt;
 &lt;em&gt;This means that all the webpage will have a background color of grey&lt;/em&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Individual Selector&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;ul&gt;
&lt;li&gt;This targets individual elements for example, &lt;code&gt;&amp;lt;p&amp;gt;&lt;/code&gt; targets all paragraphs in the index.html accordingly. &lt;/li&gt;
&lt;li&gt;In case you want each paragraph to have its own color or look, we can then go for *Class or Id selectors.&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Class and Id Selectors&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;ul&gt;
&lt;li&gt;For the class selectors, we use a dot while applying it .Then for an id selector, we use a hash (#) when applying it.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For example;&lt;br&gt;
&lt;code&gt;.warning{&lt;br&gt;
align items: center;&lt;br&gt;
}&lt;/code&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;An id name should not be applied or used multiple times, although, even when you do so, there would be no error thrown in our file during compilation.  But this would be a bad coding practice.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Yet for a class name, you can use the same name multiple number of times .&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Child Selector&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;ul&gt;
&lt;li&gt;In this selector, we target the child of the parent element.&lt;/li&gt;
&lt;li&gt;For example: &lt;code&gt;nav ul{
display: flex
}&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;This means we are targeting the ul element which is a child of the parent, nav.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;We also have other selectors&lt;/strong&gt; &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Like the &lt;code&gt;nth&lt;/code&gt; child selector.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;The most commonly used selectors are the &lt;code&gt;class and id selectors&lt;/code&gt;&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  NOTE:
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;When using colors for CSS, it is always best practice to use standard color codes (like #4d4d4d) unlike word colors like red or green.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;This is because, different browsers view the colors in different ways, but if color codes are used, this acts like a standard overall color which is viewed as the same color even in different browsers. &lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  MARGIN AND PADDING.
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Margin is the amount of space from the outside and padding is the amount of space from inside where the text is.*&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt;: We only apply &lt;em&gt;FOCUS&lt;/em&gt; to input tags.&lt;/p&gt;

&lt;h3&gt;
  
  
  POSITIONS ON CSS
&lt;/h3&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Absolute;&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;This gives position of the target depending on the parent webpage, that is, border of the whole web page.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Relative;&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;This gives position to the target element depending on the body or boxes in which the current target is ,that is, depending on the original position of the target.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Sticky;&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;This gives position to the target, and after this, it will not move to another position. &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Fixed;&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;After applying this, the target won't be changed or modified. It would be in this position fixed as it had been allocated. &lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;

&lt;h3&gt;
  
  
  FLEX BOXES
&lt;/h3&gt;

&lt;blockquote&gt;
&lt;p&gt;When flex is applied, it means that the target elements can be placed in only one horizontal dimension.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;ul&gt;
&lt;li&gt;Therefore, flex is unidirectional.
&lt;em&gt;When using flex, we flex the parent. And based on the parent, the child will behave.&lt;/em&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;Incase we want dynamic display, this is where we can use grid.&lt;/em&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Grid is therefore bidirectional.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  CONCLUSION
&lt;/h3&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;We use CSS to modify our webpages as it helps us to easily style our text.&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

</description>
      <category>webdev</category>
      <category>css</category>
      <category>learning</category>
      <category>html</category>
    </item>
    <item>
      <title>HTML Basics: What I Learned in My First Lesson</title>
      <dc:creator>Byali Macqueline</dc:creator>
      <pubDate>Sat, 09 Nov 2024 09:32:11 +0000</pubDate>
      <link>https://dev.to/byali_macqueline_lea/html-basics-what-i-learned-in-my-first-lesson-4m7j</link>
      <guid>https://dev.to/byali_macqueline_lea/html-basics-what-i-learned-in-my-first-lesson-4m7j</guid>
      <description>&lt;h1&gt;
  
  
  My First HTML Lesson: The Basics of Building Web Pages
&lt;/h1&gt;

&lt;p&gt;Starting with HTML can be both exciting and overwhelming! Here’s a quick look at what I learned in my very first HTML lesson.&lt;/p&gt;

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

&lt;p&gt;HTML (Hypertext Markup Language) is the backbone of any web page. It structures the content we see on websites and allows us to create text, images, links, and more.&lt;/p&gt;

&lt;h2&gt;
  
  
  Key Takeaways from My First Lesson
&lt;/h2&gt;

&lt;p&gt;-&lt;strong&gt;Index.html file&lt;/strong&gt;:When creating an html file, we first create an a file called index.html. One can also call name it as &lt;em&gt;index.htm&lt;/em&gt; .&lt;/p&gt;

&lt;h3&gt;
  
  
  Why index.html and not default.html or anything.html
&lt;/h3&gt;

&lt;p&gt;This is because index.html can easily be read by the server, although default.html was also being used in the back days and it faded out, as many people adopted the index, html.&lt;/p&gt;

&lt;h4&gt;
  
  
  The Apache2 server
&lt;/h4&gt;

&lt;p&gt;There are many servers except this, for example GoDaddy, Nginx, Caddy, Lighttpd and others.&lt;br&gt;
But the most commonly used one is the Apache HTTP server.&lt;br&gt;
We also have the cPanel server which has default folders give to us by Apache &lt;em&gt;var/html/...&lt;/em&gt;&lt;br&gt;
Also, the Nginx server gives us the same services as cPanel.&lt;br&gt;
&lt;em&gt;One can simply define a server as software which serve&lt;/em&gt; since they allow users to access different websites.&lt;/p&gt;

&lt;p&gt;When writing index.html file, we should consider following the industry standard, that is &lt;strong&gt;writing with speed&lt;/strong&gt;&lt;br&gt;
and this can be done through using &lt;em&gt;Emmet&lt;/em&gt; or any plugin tool.&lt;/p&gt;

&lt;h2&gt;
  
  
  What's happening behind the server
&lt;/h2&gt;

&lt;p&gt;*When a client makes a request in a web browser, the server responds to the request by checking in its local storage for any matching information of what the client wants. The server retrieves them, and then displays them.&lt;/p&gt;

&lt;h2&gt;
  
  
  How the live server extension is able to change the saved document after refreshing the local host
&lt;/h2&gt;

&lt;p&gt;&lt;em&gt;The live server extension version&lt;/em&gt; is available depending on which vs code version you are using. Other text Editors can be: sublimetxt, fleet, code blocks and so many others.&lt;/p&gt;

&lt;h2&gt;
  
  
  HTML CODE
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;!DOCTYPE html tag&lt;/strong&gt;&lt;br&gt;
*Browsers were designed to follow up these files, therefore one has to explicitly show the type of files the browser is dealing with, for storage.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;html lang = en tag&lt;/strong&gt;&lt;br&gt;
*We also specify the language in which we are writing our code. This helps the web browser to know in which language it would have to serve or run, for this case, it would be English language.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;head tag&lt;/strong&gt;&lt;br&gt;
*Content inside this tag can not be seen on a website when opened&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;body tag&lt;/strong&gt;&lt;br&gt;
*All the content written within this tag is explicitly shown and can be viewed by other people who may access the website.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Any website is a good one if it can be easily accessed by anyone and also enhances readability, even to screen readers.&lt;/em&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Basic Tags&lt;/strong&gt;: I learned about the fundamental tags :&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Creating Headings and Paragraphs&lt;/strong&gt;: Using &lt;code&gt;&amp;lt;h1&amp;gt;&lt;/code&gt; to &lt;code&gt;&amp;lt;h6&amp;gt;&lt;/code&gt; for headings and &lt;code&gt;&amp;lt;p&amp;gt;&lt;/code&gt; for paragraphs. These also have attributes or properties that can be used with them, for example: title,&lt;br&gt;
that is,&lt;strong&gt;h1 title="Html code"&lt;/strong&gt;.For the heading, this title will only be seen when you hoover over the text within the h1 tag.&lt;br&gt;
We can also use lorem[number of words] in paragraphs, that is, &lt;br&gt;
&lt;em&gt;p lorem200 p&lt;/em&gt; and this will display 200 words of text in your paragraph.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Adding Links, Line Breaks and Images&lt;/strong&gt;: I practiced embedding images with &lt;code&gt;&amp;lt;img src="URL"&amp;gt;&lt;/code&gt; and creating links with&lt;code&gt;&amp;lt;a href="URL"&amp;gt;&lt;/code&gt;.&lt;br&gt;
&lt;strong&gt;br&lt;/strong&gt; gives us a line break.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;For the **img&lt;/em&gt;* tag, we have the &lt;em&gt;alt&lt;/em&gt; attribute, it is so useful in a way that if the &lt;strong&gt;src-source of the image&lt;/strong&gt; is wrong, we can et to know the exact point at the the image is not showing. This is especially most useful when we are are having a large document with many images.&lt;br&gt;
&lt;em&gt;We should also consider having size attribute for all images as a good practice.&lt;br&gt;
*We use *srcset&lt;/em&gt; when having more than one image for a given &lt;strong&gt;img&lt;/strong&gt; tag.&lt;br&gt;
&lt;em&gt;if I have another html file or any other file, and I want it to be accessed by anyone who will visit my website, then I can use the *anchor tag,&lt;/em&gt;&lt;em&gt;a&lt;/em&gt;* in my index.html file.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Some tags give line spaces when used(br), unlike others(h1,h2)&lt;/em&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Learning HTML is just the start of my web development journey, but it’s a crucial step!&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Follow along as I dive deeper into HTML and beyond!
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Connect with Me
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;GitHub&lt;/strong&gt;: &lt;a href="https://github.com/macquelineleya" rel="noopener noreferrer"&gt;github.com/macquelineleya&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;LinkedIn&lt;/strong&gt;: &lt;a href="https://www.linkedin.com/in/macquelineByali/" rel="noopener noreferrer"&gt;linkedin.com/in/macquelineByali&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>webdev</category>
      <category>beginners</category>
      <category>html</category>
      <category>codingbasics</category>
    </item>
  </channel>
</rss>
