Skip to main content

Command Palette

Search for a command to run...

Javascript Introduction

Updated
1 min readView as Markdown
Javascript Introduction
A

I am a passionate front-end engineer with 3 years of experience in developing and implementing innovative software solutions.

Hi everyone, My name is Arinze Calistus. The purpose of this blog is to teach you all you need to know about JavaScript.

What is JavaScript ?

Javascript is a programming or scripting language that allows the implementation of features on web pages.

To better understand javascript, we must know the concept of HTML and CSS which we will not talk about here but I've got a playlist on youtube you might want to check out.

However, it's important to note that HTML are the building blocks if web pages. And CSS, is used for designing HTML elements. Javascript on the other hand is what implements the features on web pages.

Here is an example that will simplify what we are talking about.

<!DOCTYPE html>
<html>
<head>
   <title> Arizon code's</title>
   <style type="text/css">
      button {
         font-family: sans-serif;
         border: none;
         padding: 15px 30px;
         font-size: 20px;
         outline: none;
         margin: 10px;
      }
      #btn {
         background-color: rgb(23, 52, 89);
         color: #f8f9f9;
         box-shadow: .5px .5px 1px 2px #000000;
      }
   </style>
</head>
<body>
   <button id="btn"> Show a Dialog </button>

   <script type="text/javascript">
      document.getElementById("btn").onclick = function() {
         alert("I am a dialog box!")
      }
   </script>
</body>
</html>

You can go ahead and paste it in your code editor.

I hope you enjoyed this article follow for more. Peace!

A

Nice beginners intro to the language.

1

JavaScript

Part 1 of 11

This blog is all about JavaScript topics from Basics to Advance, along with interview question.

Up next

JavaScript 2

Chapter 2 with Examples

More from this blog

A

Arizon.Dev

12 posts

Hi everyone, My name is Arinze Calistus and I'm a self-taught Full-Stack developer that learned and is still learning through online resources. I would love to connect with people and have a chat.