July 26, 2024

Byte Class Technology

Byte Class Technology & Sports Update

JAVASCRIPT, A MOTHER OF ALL | by Olusola Samuel O. | Feb, 2023

JAVASCRIPT, A MOTHER OF ALL | by Olusola Samuel O. | Feb, 2023
JavaScript statement.

You might as well have been studying JavaScript or wanted to but, you got discouraged by your friends who are programmers or yourself, saying you can’t understand JavaScript or you think it’s complex to understand and this is not like HTML and CSS you learned some weeks ago. You probably, saw on social media that learning is a waste of time studying JavaScript. But, I’m here to tell you today that you’re on the right path to becoming a good programmer as well as Landing your first tech Job if you don’t give up. yummy, right? okay, let’s dive in.

In this article, you’re going to learn;

Photo by Juanjo Jaramillo on Unsplash

Briefly, according to Developer.mozilla.org; “JavaScript is a scripting or programming language that allows you to implement complex features on webpages. And dynamically updating content, control multimedia, animate images e.tc.”

It is the life of a webpage, let’s assume a webpage is a human being; HTML is the skeleton, CSS is the Flesh while JavaScript makes it move(function).

According to Wikipedia; JavaScript, often abbreviated as JS, is a programming language that is one of the core technologies of the World Wide Web, alongside HTML and CSS. As of 2022, 98{18875d16fb0f706a77d6d07e16021550e0abfa6771e72d372d5d32476b7d07ec} of websites use JavaScript on the client side for webpage behavior, often incorporating third-party libraries.

JavaScript is the backbone of a website, if your goal is to be a frontend developer, you need to understand Javascript.

The first code you will write when learning JavaScript is “Hello World”, look at the example below;

console.log("Hello World");

//prints Hello World

Javascript is the world’s most popular language, easy to learn, and also writes, changes, and manipulates HTML and CSS. It also uses for the calculation and validation of data.

e.g

console.log(3 + 5);

//prints; 8

JavaScript is different from JAVA, they’re both staples of programming languages you might make the mistake of taking JAVA as the short word for JavaScript. They are both different things entirely.

According to the Java platform official website, the main difference between Java and JavaScript is that Java is an Object Oriented Programming language while JavaScript is an Object Oriented Programming script. JavaScript code is written completely in text and need only be interpreted. Java, on the other hand, must be compiled.

JAVA is used for Applications on devices or browsers while JavaScript is used for HTML documents and browsers. And some JavaScript Libraries are used for Applications too for example React.js.

I think you have gotten a little knowledge of what Javascript is. Good!

Photo by Valeria Zoncoll on Unsplash

I called JavaScript the Mother of all because it is the first Programming Language I learned after HTML and CSS and I have never regretted my decision. And when I started learning other programming languages there are just like JavaScript the only difference is that they change some terms and concepts.

Having a JavaScript background makes other programming languages look simple and easy to understand. Programming languages like python, PHP, c++, etc. have terms that are common among these programming languages, and having a javascript background will make these terms simple and understandable to you. Terms like; Variables, integers, operators, while loop. if, else, arrays, etc.

so learn JavaScript today. Great? cool!

Photo by Christopher Gower on Unsplash

Many programming language terminologies are same. E.g;

Many programming language codes are similar to JavaScript codes. Examples;

JavaScript’s functions;

greeting = function()
console.log("hello fans");

greeting() //prints hello fans

PHP’s functions;

function greetings()
echo "hello fans";

greetings() //prints hello fans

JavaScript’s if statements

var a = 2;
var b = 3;
if (b > a)
console.log("b is greater than a")
;

Python’s if statements;

a = 33
b = 200
if b > a:
print("b is greater than a")

Don’t worry if you don’t understand the code above I will list some online websites that offer JavaScript and you can also study it for free.

Photo by Steinar Engeland on Unsplash

I know I have given you enough reasons to learn Javascript, and if you have stopped learning it I think now is the best time to get yourself up, dust your laptop, notepad and get your pen, and continue with the learning.

If you have stopped learning prior before now, probably because you don’t money to pay for the JavaScript course or you want to start learning but you don’t have the money or you’re learning it but you don’t seem to understand it. if you fall into any of the listed categories.

I can tell you I have the solution for you, I will list some of the websites you can learn it for free below;

With the knowledge of HTML, CSS, and Javascript (with React). You can land your first tech Job as a Junior Front-End developer, and according to glassdoor the average salary of a Front-End Dev is between $59,000 to $93,000 yearly.

I know you’re ready to start learning before you earn, do well to contact me and follow up. Thanks 🤝