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
-
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"
-
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
-
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
- Basic Git Commands
-
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
-
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 .
-
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"
- 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:
-
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>
-
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>
-
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>
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)