DEV Community

Cover image for The Tools are learnt during my first month of learning programming
JUSTIN
JUSTIN

Posted on • Updated on

The Tools are learnt during my first month of learning programming

A laptop with some code on it
As a beginner in Programming, my first month in the coding world is exciting and challenging, During my first month learning programming, I have come across plenty tools that has helped me in my coding journey.

Command Line Tools and Basic git command.

  • Command Line Tools Here is an example of basic command line tools
  1. mkdir: Make new directory, This used to create a folder in Git bash. It is a widely known command in the coding space

Illustration, to create a new directory in the download folder, we write


mkdir "Microsoft"

Enter fullscreen mode Exit fullscreen mode
  1. touch: Create file, This used to create a file inside a folder, This is a very important command as it helps programmers to create a file easily without going to a code editor to do it.

Illustration, to create a new file in Git bash, we write


touch index.html

Enter fullscreen mode Exit fullscreen mode
  1. ls: List Files, ls is used to list all file in a current directory, It helps a programmer to check whether the folder he created has in the directory of his choosing.

Illustration, to check all files in a directory, we write


ls

Enter fullscreen mode Exit fullscreen mode
  • Basic Git Commands
  1. git status:- This is used to preview the level at which a directory is, this is very important as it helps developers be able to know the next move when coding.

Illustration


git status

Enter fullscreen mode Exit fullscreen mode
  1. git add .: This git command is used to add every changes made to a directory to a staging environment. The dot at the end is used to add every changes made to folders in that directory.

Illustration, to add all changes made in a directory, we write


git add .

Enter fullscreen mode Exit fullscreen mode
  1. git commit -m "commit message" :- This is used to commit all changes made to a directory to the local repository. This saves all changes made and record it, furthermore the message is used to know why these changes where commited.

Illustration, to commit all changes to the local repository, we write


git commit -m "commit message"

Enter fullscreen mode Exit fullscreen mode
  • HTML ELEMENT HTML means Hypertext Markup Language, It is the backbone of every website, It used to construct the position of elements in a website.

Examples of HTML ELEMENT are:

  1. h1/h1 - This is an element/tag used in html to put text on a website, which makes it one of the most important element/tag as you can't have website without text.

<h1>My First Code</h1>

Enter fullscreen mode Exit fullscreen mode
  1. p/p - This is an element/tag used in HTML to make longer lengths of words. This is also a very important element/tag.

<p>Lorem ipsum dolor, sit amet consectetur adipisicing elit.</p>

Enter fullscreen mode Exit fullscreen mode
  1. div/div - This is an element/tag used in HTML to separate two different text from each other. This eliminate packing of words together.

<div></div>

Enter fullscreen mode Exit fullscreen mode

CONCLUSION
In just one month, i have been very appreciative of the tools in the coding space. These tools which are foundation, it has helped me well in my learning and and understand things that are in programming.

Top comments (0)