<?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: Tuhirirwe-Maria</title>
    <description>The latest articles on DEV Community by Tuhirirwe-Maria (@tuhirirwemaria).</description>
    <link>https://dev.to/tuhirirwemaria</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%2F764110%2F901d7c4b-bc07-4588-a759-e318b15dc267.png</url>
      <title>DEV Community: Tuhirirwe-Maria</title>
      <link>https://dev.to/tuhirirwemaria</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/tuhirirwemaria"/>
    <language>en</language>
    <item>
      <title>What a beginning developer should know before starting React💻</title>
      <dc:creator>Tuhirirwe-Maria</dc:creator>
      <pubDate>Sat, 29 Jan 2022 19:40:10 +0000</pubDate>
      <link>https://dev.to/tuhirirwemaria/what-a-beginning-developer-should-know-before-starting-react-1342</link>
      <guid>https://dev.to/tuhirirwemaria/what-a-beginning-developer-should-know-before-starting-react-1342</guid>
      <description>&lt;p&gt;&lt;strong&gt;&lt;em&gt;1. HTML and CSS&lt;/em&gt;&lt;/strong&gt;&lt;br&gt;
HTML and CSS are the core technologies in web development. HTML is the skeleton that creates the elements and layouts for a web page, and CSS adds styling to these various elements and layouts. Mastering HTML and CSS is a vital step.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;2. JavaScript&lt;/em&gt;&lt;/strong&gt;&lt;br&gt;
Once you are comfortable with HTML and CSS, you can begin learning JavaScript. JavaScript is a scripting language that allows you to add interactions and logic to your web pages.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;3. Version Control(GIT AND GITHUB)&lt;/em&gt;&lt;/strong&gt;&lt;br&gt;
Git is an open source version control tool that lets you manage and keep track of your code and GitHub on the other hand, is a code hosting platform for version control and enables collaboration among developers.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;4. JSX&lt;/em&gt;&lt;/strong&gt;&lt;br&gt;
Using React, you can build reusable UI components and pass data between them. Components are written using a special JavaScript syntax extension called JSX (JavaScript XML).&lt;/p&gt;

&lt;p&gt;JSX looks similar to HTML syntax and is very powerful, as it can handle JavaScript expressions. In JSX, instead of HTML attributes, props are used to pass data from the parent component to the child component.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;5. React components&lt;/em&gt;&lt;/strong&gt;&lt;br&gt;
There are two types of components – class components and function components. React class-components have different lifecycle methods which get called during the render process. React function-components can leverage hooks to handle different states. Both the component types have their pros and cons, and you need to know which one suits your use case.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Happy coding!😎💻&lt;/em&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>ES6 Javascript features TOP 10 a developer must know😎</title>
      <dc:creator>Tuhirirwe-Maria</dc:creator>
      <pubDate>Sun, 23 Jan 2022 09:50:16 +0000</pubDate>
      <link>https://dev.to/tuhirirwemaria/es6-javascript-features-top-10-a-developer-must-know-4n1m</link>
      <guid>https://dev.to/tuhirirwemaria/es6-javascript-features-top-10-a-developer-must-know-4n1m</guid>
      <description>&lt;p&gt;Let's begin with this. ES6 or the ECMAScript 2015 is the 6th and major edition of the ECMAScript language specification standard.In this article, I will introduce the &lt;strong&gt;top 10 ES6 features.&lt;/strong&gt;&lt;br&gt;
                                 .   .   .   .   .   .   .  .   .   .   .   .&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Lets start the interesting parts🤩&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&lt;strong&gt;1. let and const keywords :&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;The keyword "let" enables the users to define variables and on the other hand, "const" enables the users to define constants.&lt;/p&gt;

&lt;p&gt;With “let and const” we declare a variable similar to var in ES5, but the real difference is that variables declared by var have function scope and are hoisted to the top. Variables declared by “let and const” are scoped in the braces.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&lt;strong&gt;2. Arrow Functions :&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;ES6 provides feature known as Arrow Functions. It provides a more concise syntax for writing function expressions by removing out the "function" and "return" keywords.&lt;br&gt;
Arrow functions are defined using the  arrow (=&amp;gt;) notation.&lt;/p&gt;

&lt;p&gt;// Arrow function&lt;br&gt;
&lt;code&gt;let sumOfTwoNumbers = (x, y) =&amp;gt; x + y;&lt;br&gt;
console.log(sum(33, 2)); // Output 35&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;It is evident that, there is no "return" or "function" keyword in the arrow function declaration.&lt;/p&gt;

&lt;p&gt;We can also skip the parenthesis in the case when there is exactly one parameter, but will always need to use it when you have zero or more than one parameter.&lt;/p&gt;

&lt;p&gt;But, if there are multiple expressions in the function body, then we need to wrap it with curly braces ("{}"). We also need to use the "return" statement to return the required value&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&lt;strong&gt;3. Multi-line Strings :&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;ES6 also provides Multi-line Strings. Users can create multi-line strings by using back-ticks(`).&lt;/p&gt;

&lt;p&gt;&lt;code&gt;let greeting = &lt;/code&gt;&lt;code&gt;Good morning,     &lt;br&gt;
                Enjoy your day ,&lt;br&gt;
                Happy coding!&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&lt;strong&gt;4. Default Parameters :&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;In ES6, users can provide the default values right in the signature of the functions. But, in ES5, OR operator had to be used.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;//ES6&lt;/code&gt;&lt;br&gt;
&lt;code&gt;let calculateArea = function(height = 100, width = 150) {  &lt;br&gt;
    // logic&lt;br&gt;
}&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;//ES5&lt;/code&gt;&lt;br&gt;
&lt;code&gt;var calculateArea = function(height, width) {  &lt;br&gt;
   height =  height || 150;&lt;br&gt;
   width = width || 100;&lt;br&gt;
   // logic&lt;br&gt;
}&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&lt;strong&gt;5. Template Literals :&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;ES6 introduces very simple string templates along with placeholders for the variables. The syntax for using the string template is ${PARAMETER} and is used inside of the back-ticked string.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;let name = &lt;/code&gt;&lt;code&gt;My name is ${firstName} ${lastName}&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&lt;strong&gt;6. Destructuring Assignment :&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;The destructuring assignment syntax is a JavaScript expression that makes it possible to unpack values from arrays, or properties from objects, into distinct variable.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;var o = {p: 42, q: true};&lt;br&gt;
var {p, q} = o;&lt;br&gt;
console.log(p); // 42&lt;br&gt;
console.log(q); // true&lt;br&gt;
&lt;/code&gt;&lt;br&gt;
&lt;em&gt;&lt;strong&gt;7.Enhanced Object Literals :&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;ES6 provides enhanced object literals which make it easy to quickly create objects with properties inside the curly braces.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;function getMobile(manufacturer, model, year) {&lt;br&gt;
   return {&lt;br&gt;
      manufacturer,&lt;br&gt;
      model,&lt;br&gt;
      year&lt;br&gt;
   }&lt;br&gt;
}&lt;br&gt;
getMobile("Samsung", "Galaxy", "2020");&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&lt;strong&gt;8. Promises&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;In ES6, Promises are used for asynchronous execution. We can use promise with the arrow function as demonstrated below.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;var asyncCall =  new Promise((resolve, reject) =&amp;gt; {&lt;br&gt;
   // do something&lt;br&gt;
   resolve();&lt;br&gt;
}).then(()=&amp;gt; {   &lt;br&gt;
   console.log('DON!');&lt;br&gt;
})&lt;br&gt;
&lt;/code&gt;&lt;br&gt;
&lt;em&gt;&lt;strong&gt;9. Classes :&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Previously, classes never existed in JavaScript. Classes are introduced in ES6 which looks similar to classes in other object-oriented languages, such as C++, Java etc. &lt;/p&gt;

&lt;p&gt;But, they do not work exactly the same way. ES6 classes make it simpler to create objects, implement inheritance by using the "extends" keyword and also reuse the code efficiently.&lt;/p&gt;

&lt;p&gt;In ES6, we can declare a class using the new "class" keyword followed by the name of the class.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;class UserProfile { &lt;br&gt;
  constructor(firstName, lastName) {&lt;br&gt;
    this.firstName = firstName;&lt;br&gt;
      this.lastName = lastName; &lt;br&gt;
  }&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt; getName() {       &lt;br&gt;
 console.log(&lt;/code&gt;&lt;code&gt;The Full-Name is ${this.firstName} ${this.lastName}&lt;/code&gt;&lt;code&gt;);    &lt;br&gt;
   } &lt;/code&gt;&lt;br&gt;
}&lt;br&gt;
&lt;code&gt;let obj = new UserProfile('John', 'Smith');&lt;br&gt;
obj.getName(); // output: The Full-Name is John Smith&lt;/code&gt;`&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&lt;strong&gt;10. Modules :&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;In ES6, there are modules with import and export operands.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;export var userID = 10;    &lt;br&gt;
export function getName(name){ &lt;br&gt;
    //data   &lt;br&gt;
   } &lt;/code&gt;&lt;/p&gt;

&lt;p&gt;We can import userID variable and getName method using import statement&lt;/p&gt;

&lt;p&gt;&lt;code&gt;import {userID, getName} from ‘module’;    &lt;br&gt;
console.log(userID); // 10&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;In conclusion,&lt;br&gt;
We also learned about the top 10 features of ES6😎 which makes it very popular.&lt;/p&gt;

&lt;p&gt;ES6 provides classes, modules, arrow functions, template literals, destructuring assignments and many more features which makes working with JavaScript a lot easier.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Ultimate HTML and CSS guide.</title>
      <dc:creator>Tuhirirwe-Maria</dc:creator>
      <pubDate>Mon, 29 Nov 2021 06:56:50 +0000</pubDate>
      <link>https://dev.to/tuhirirwemaria/ultimate-html-and-css-guide-odj</link>
      <guid>https://dev.to/tuhirirwemaria/ultimate-html-and-css-guide-odj</guid>
      <description>&lt;p&gt;HTML (HyperText Markup Language) &lt;/p&gt;

&lt;p&gt;The HyperText Markup Language, or HTML is the standard markup language for documents designed to be displayed in a web browser. &lt;/p&gt;

&lt;p&gt;It can be assisted by technologies such as Cascading Style Sheets and scripting languages such as JavaScript. It describes the structure of Web pages. HTML gives authors the means to: &lt;br&gt;
Publish online documents with headings, text, tables, lists, photos, etc. Retrieve online information via hypertext links, at the click of a button. &lt;br&gt;
HTML elements are the building blocks of HTML pages.&lt;/p&gt;

&lt;p&gt;With HTML constructs, images and other objects such as interactive forms may be embedded into the rendered page.  &lt;/p&gt;

&lt;p&gt;HTML provides a means to create structured documents by denoting structural semantics for text such as headings, paragraphs, lists, links, quotes and other items.&lt;/p&gt;

&lt;p&gt;HTML elements are delineated by tags, written using angle brackets. Tags such as &lt;a href="" class="article-body-image-wrapper"&gt;&lt;img&gt;&lt;/a&gt;and  directly introduce content into the page.  Other tags such as &lt;/p&gt;
&lt;p&gt; surround and provide information about document text and may include other tags as sub-elements. &lt;br&gt;
Browsers do not display the HTML tags, but use them to interpret the content of the page.&lt;/p&gt;

&lt;p&gt;Explaining the HTML  skeleton(document)&lt;/p&gt;

&lt;p&gt;The &amp;lt;!DOCTYPE html&amp;gt; declaration defines that this document is an HTML5 document &lt;/p&gt;

&lt;p&gt;The &amp;lt; html &amp;gt; element is the root element of an HTML page&lt;/p&gt;

&lt;p&gt;The &amp;lt; head &amp;gt; element contains meta information about the HTML page&lt;/p&gt;

&lt;p&gt;The &amp;lt; title &amp;gt; element specifies a title for the HTML page (which is shown in the browser's title bar or in the page's tab)&lt;/p&gt;

&lt;p&gt;The &amp;lt; body &amp;gt; element defines the document's body, and is a container for all the visible contents, such as headings, paragraphs, images, hyperlinks, tables, lists, etc. &lt;/p&gt;

&lt;p&gt;The &amp;lt; h1 &amp;gt; element defines a large heading, the &amp;lt; p &amp;gt; element defines a paragraph. &lt;/p&gt;

&lt;p&gt;HTML Elements &lt;/p&gt;

&lt;p&gt;The HTML element is everything from the start tag to the end tag: &lt;br&gt;
&amp;lt; tag-name &amp;gt;Content goes here...&amp;lt;/ tag-name &amp;gt;&lt;br&gt;
 Examples of some HTML elements: &lt;br&gt;
&amp;lt; h1 &amp;gt;My First Heading&amp;lt;/ h1 &amp;gt; &lt;br&gt;
&amp;lt; p &amp;gt;My first paragraph.&amp;lt;/ p &amp;gt; &lt;/p&gt;

&lt;p&gt;HTML Attributes &lt;br&gt;
All HTML elements can have attributes. Attributes provide additional information about elements .&lt;br&gt;
Attributes are always specified in the start tag .They usually come in name/value pairs like: name="value" .&lt;/p&gt;

&lt;p&gt;HTML Headings &lt;/p&gt;

&lt;p&gt;HTML headings are defined with the &amp;lt; h1 &amp;gt; to &amp;lt; h6 &amp;gt; tags. &lt;br&gt;
&amp;lt; h1 &amp;gt; defines the most important heading.&lt;br&gt;
 &amp;lt; h6 &amp;gt; defines the least important heading.  It is important to use headings to show the document structure. &lt;br&gt;
&amp;lt; h1 &amp;gt; headings should be used for main headings, followed by &amp;lt; h2 &amp;gt; headings, then the less important &amp;lt; h3 &amp;gt;, and so on. &lt;/p&gt;

&lt;p&gt;HTML Formatting Elements &lt;br&gt;
&amp;lt; p &amp;gt;&amp;lt; b &amp;gt; I will be bold &amp;lt;/ b &amp;gt;&amp;lt; /p &amp;gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&amp;lt; b &amp;gt; - Bold text &lt;/li&gt;
&lt;li&gt;&amp;lt; strong &amp;gt; - Important text &lt;/li&gt;
&lt;li&gt;&amp;lt; i &amp;gt; - Italic text &lt;/li&gt;
&lt;li&gt;&amp;lt; em &amp;gt; - Emphasised text &lt;/li&gt;
&lt;li&gt;&amp;lt; mark &amp;gt; - Marked text &lt;/li&gt;
&lt;li&gt;&amp;lt; small &amp;gt; - Smaller text &lt;/li&gt;
&lt;li&gt;&amp;lt; del &amp;gt; - Deleted text &lt;/li&gt;
&lt;li&gt;&amp;lt; ins &amp;gt; - Inserted text &lt;/li&gt;
&lt;li&gt;&amp;lt; sub &amp;gt; - Subscript text &lt;/li&gt;
&lt;li&gt;&amp;lt; sup &amp;gt; - Superscript text &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;HTML Comments &lt;br&gt;
HTML comments are not displayed in the browser, but they can help document your HTML source code. &lt;br&gt;
 Example &lt;br&gt;
HTML Comment Tags &lt;br&gt;
You can add comments to your HTML source by using the following syntax: &lt;/p&gt;

&lt;p&gt;Note: Comments are not displayed by the browser, but they can help document your HTML source code..&lt;/p&gt;

&lt;p&gt;CSS (Cascading Style Sheets)&lt;/p&gt;

&lt;p&gt;CSS stands for Cascading Style Sheets. Basically, CSS is a language that manages the design and presentation of web pages the way things look. It works together with HTML,  which handles the content of web pages.&lt;/p&gt;

&lt;p&gt;With CSS you can create rules to tell your website how you want it to display information. And you can keep the commands for the style stuff - fonts, colors, and so on - separate from the commands for the content.&lt;/p&gt;

&lt;p&gt;They’re called “cascading” because you can have multiple style sheets, with one style sheet inheriting properties (or “cascading”) from others.&lt;/p&gt;

&lt;p&gt;For a lot of people a plain old blog template is good enough. It’s only when you want to start customising the look of a site that you need to delve into CSS.&lt;/p&gt;

&lt;p&gt;Three Style Sheets&lt;/p&gt;

&lt;p&gt;There are three kinds of CSS style sheets: external, internal, and inline.&lt;/p&gt;

&lt;p&gt;External styles control how things look across many pages on a website.&lt;/p&gt;

&lt;p&gt;Internal styles control the look of just one page.&lt;/p&gt;

&lt;p&gt;Inline styles control just one element of a single page, even just a single word.&lt;/p&gt;

&lt;p&gt;CSS SYNTAX&lt;br&gt;
h1 { color :red;}&lt;br&gt;
selector declaration&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A CSS  rule consists of a selector and a declaration block. &lt;/li&gt;
&lt;li&gt;The selector points to the HTML element you want to style.”&lt;/li&gt;
&lt;li&gt;The declaration block contains one or “more declarations separated by semicolons. &lt;/li&gt;
&lt;li&gt;Each declaration includes a CSS property name and a value separated by a colon.&lt;/li&gt;
&lt;li&gt;Multiple CSS declarations are separated with semicolons, and declaration blocks are surrounded by curly braces.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;CSS COMENTS&lt;br&gt;
CSS comments are not displayed in the browser, but they can help document your code. &lt;br&gt;
They are used to explain the code at a later date.&lt;br&gt;
It works the same way as the HTML comment but looks different /* my code */&lt;/p&gt;

&lt;p&gt;CSS BOX MODEL&lt;/p&gt;

&lt;p&gt;The box model is used when talking about design and layout.&lt;br&gt;
It is essentially the box that wraps around every HTML element, consisting of margins, borders, padding and the actual content.&lt;br&gt;
Let’s explain the different parts.&lt;br&gt;
Content - The content of the box, where the text and images appear.&lt;br&gt;
Padding - Clears an area around the content. The padding is transparent.&lt;br&gt;
Border - A border that goes around the padding and content.&lt;br&gt;
Margin - Clears an area outside the border. The margin is also transparent.&lt;br&gt;
The box model allows one to add a border around elements, and to define space between elements.&lt;/p&gt;

&lt;p&gt;I can't show everything here but you could checkout W3Schools, CSS Tricks,Cascading Stylesheets MDN and freeCodeCamp to learn more&lt;/p&gt;

</description>
    </item>
    <item>
      <title>How to set up a GitHub project for beginners?</title>
      <dc:creator>Tuhirirwe-Maria</dc:creator>
      <pubDate>Mon, 29 Nov 2021 05:54:15 +0000</pubDate>
      <link>https://dev.to/tuhirirwemaria/how-to-set-up-a-github-project-for-beginners-2165</link>
      <guid>https://dev.to/tuhirirwemaria/how-to-set-up-a-github-project-for-beginners-2165</guid>
      <description>&lt;p&gt;Before I go straight to that Github is a code hosting platform for collaboration and version control. It's a developer tool, however, Github itself isn't much more than a social network like Facebook. You build a profile, upload projects to share, and connect with other users by following their accounts. Not only that but you can also keep text documents and other file types.&lt;/p&gt;

&lt;p&gt;You can also use Github without knowing any code at all&lt;/p&gt;

&lt;p&gt;The software that runs at the heart of Github is Git. Git is version control software, which means it manages changes to a project without overwriting any part of the project.&lt;/p&gt;

&lt;p&gt;Version control is a class of systems responsible for managing changes to computer programs, documents, large websites, or other collections of information. An example is Git.&lt;br&gt;
Setting up Github and Git for the first time.&lt;/p&gt;

&lt;p&gt;First, you'll need to sign up for an account on Github.com. it is as simple as signing up for any other social network. To work on your project on your computer, you need to have Git installed. Install Git for Windows, Mac, or Linux as needed.&lt;/p&gt;

&lt;p&gt;Now it's time to go over to the command line. On Windows, that means starting the Git Bash app you just installed and on OSX, it's a regular old Terminal. It's time to introduce yourself to Git. Type the following code;&lt;/p&gt;

&lt;p&gt;git config –global user.name "Your Name here"&lt;/p&gt;

&lt;p&gt;Of course, you'll need to replace "your name here" with your name in quotations.&lt;br&gt;
 Next, tell it your email you used when signed up for Github.com. Type;&lt;/p&gt;

&lt;p&gt;git config –global user.name "your Email Here"&lt;/p&gt;

&lt;p&gt;That's all you need to do to get started using Git on your computer.&lt;/p&gt;

&lt;p&gt;Creating your online repository&lt;/p&gt;

&lt;p&gt;Now it's time to create a place for your project to live. Both Git and Github refer to this as a repository or "repo" in short, a digital directory or storage space where you can access your project, its files, and all the versions of its files that Git saves.&lt;/p&gt;

&lt;p&gt;Go back to Github.com and click the tiny book icon next to your username.&lt;br&gt;
 Or go to the new repository page if all icons look the same.&lt;br&gt;
 Give your repository a short, memorable name&lt;br&gt;
 Go ahead and makes it public just for kicks; why hide your attempt to learn Github?&lt;/p&gt;

&lt;p&gt;Don't worry about clicking the checkbox next to "initialise this repository with a README." A readme file is usually a text file that explains a bit about the project. But we can make our own Readme File locally for practice.&lt;/p&gt;

&lt;p&gt;Click the green "Create Repository" button and you're set. You now have an online space for your project to live in.&lt;/p&gt;

&lt;p&gt;Creating your local repository&lt;/p&gt;

&lt;p&gt;So we just made a space for your project to live online, but that's not where you'll be working on it. The bulk of your work id going to be done on your computer. So we need to actually micro that repository we just made as a local directory&lt;/p&gt;

&lt;p&gt;First type: mkdir MyProject&lt;/p&gt;

&lt;p&gt;mkdir is short for make directory. It's actually not a git command, but general navigation command from the time before visual computer interfaces. So this creates a folder that will have your project.&lt;/p&gt;

&lt;p&gt;Next type: cd MyProject&lt;/p&gt;

&lt;p&gt;Cd stands for change directory, and it's also a navigation command. We want to go inside the directory we just created.&lt;/p&gt;

&lt;p&gt;Next line type: git init&lt;/p&gt;

&lt;p&gt;Now we are using the Git command and we know that coz it begins with git .this command stands for "initialise", it tells the computer to recognise this directory as a local Git repository. If you open up the folder, it won't look any different, because this new Git directory is a hidden file inside the dedicated repository.&lt;/p&gt;

&lt;p&gt;However, your computer now realises this directory is Git-ready and you can start inputting Git commands.&lt;br&gt;
 Now you've got both an online and local repo for your project to live inside.&lt;/p&gt;

&lt;p&gt;Next line type: touch Readme.md&lt;/p&gt;

&lt;p&gt;This, again, is not a Git command. It's another standard navigational command prompt. touch really means "create." Whatever you write after that is the name of the thing created. If you go to your folder using Finder or the Start menu, you'll see an empty Readme.md file is now inside.&lt;/p&gt;

&lt;p&gt;You can clearly see your new Readme file. But can Git? Let's find out.&lt;br&gt;
 Type: git status&lt;br&gt;
 The command line, usually so passive up to this point, will reply with a few lines of text similar&lt;/p&gt;

&lt;p&gt;What's going on? First of all, you're on the master branch of your project, which makes sense since we haven't "branched off" of it. Secondly, Readme.md is listed as an "untracked" file, which means Git is ignoring it for now. To make Git notice that the file is there&lt;/p&gt;

&lt;p&gt; Type: git add Readme.md&lt;/p&gt;

&lt;p&gt;Notice how the command line gave you a hint there? All right, we've added our first file, so it's time to take a "snapshot" of the project so far, or "commit" it:&lt;br&gt;
 &lt;br&gt;
 Type: git commit –m "Add Readme.md"&lt;/p&gt;

&lt;p&gt;The –m flag simply indicates that the following text should be read as a message. Notice the commit is written in the past tense. Always write your commands in the past tense because version control is all about flexibility through time.&lt;/p&gt;

&lt;p&gt;Next type: git branch –M main&lt;/p&gt;

&lt;p&gt;By default, every git repository's first branch is named &lt;code&gt;master&lt;/code&gt; (and is typically used as the primary branch in the project). As part of the tech industry's general anti-racism work, some groups have begun to use alternate names for the default branch&lt;/p&gt;

&lt;p&gt;Now that we've done a little work locally, it's time to "push" our first commit up to GitHub.&lt;/p&gt;

&lt;p&gt;Connect Your Local Repository To Your Github Repository.&lt;/p&gt;

&lt;p&gt;First, we need to tell Git that a remote repository actually exists somewhere online. We do this by adding it to Git's knowledge. Just like Git didn't acknowledge our files until we used the git add command, it won't acknowledge our remote repo yet, either.&lt;/p&gt;

&lt;p&gt;Assume that we have a GitHub repo called "MyProject" located at &lt;a href="https://github.com/username/myproject.git"&gt;https://github.com/username/myproject.git&lt;/a&gt;. Of course, username should be replaced with whatever your GitHub username actually is, and myproject should be replaced with the actual title you named your first GitHub repository.&lt;/p&gt;

&lt;p&gt;git remote add origin &lt;a href="https://github.com/username/myproject.git"&gt;https://github.com/username/myproject.git&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now we want to upload, or "push" our changes up to the Github remote repo. That's &lt;br&gt;
 Just Type: git push –u origin main&lt;/p&gt;

&lt;p&gt;Log into GitHub again. You'll notice that GitHub is now tracking how many commits you've made today. Click on your repository, and it will have an identical Readme.md file as we earlier built into your local repository.&lt;br&gt;
When you want to add other files to the online repository.&lt;/p&gt;

&lt;p&gt; Type: touch dogs.txt&lt;br&gt;
 We are creating a text file.&lt;/p&gt;

&lt;p&gt;Next Type: git status.&lt;br&gt;
 Git has not yet noticed that we have put something else. So let's make it notice.&lt;/p&gt;

&lt;p&gt;Type: git add .&lt;br&gt;
 NOTE: The full stops at git add . Means add everything.&lt;/p&gt;

&lt;p&gt;Type: git commit –m "Add file."&lt;br&gt;
 Git has now noticed the file.&lt;br&gt;
Now we want to upload, or "push" our changes up to the Github remote repo.&lt;/p&gt;

&lt;p&gt;Type: git push&lt;/p&gt;

&lt;p&gt;Got to your Github account refresh and click on your repository, and it will have an identical Readme.md file as we earlier built into your local repository.&lt;/p&gt;

&lt;p&gt;Ta da! With all of these tools at hand, it's clear that Git and the GitHub service aren't just for programmers.&lt;/p&gt;

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