In my first article, I mentioned that one of the most important JavaScript functions is to add dynamic features to web pages. In this article, I will breakdown how JavaScript manipulates HTML elements to add these dynamic features by introducing DOM(Document Object Model).

Photo by Florian Olivo on Unsplash

WHAT IS DOM?

DOM is a programming interface for HTML. It defines HTML documents as standard objects that can be accessed and modified by scripting languages like JavaScript. To better understand this concept, let’s first define an object.

An object is an abstract data type that has state(properties) and behavior(methods). In real life, a car is an object. A car…


Hi and thank you for stopping by. In this article, I am going to cover functions and arrays in JavaScript. These are really important topics to master so pay attention. Let’s get right into it!

Photo by Roman Synkevych on Unsplash

FUNCTIONS

Functions are one of the fundamental building blocks in JavaScript programs. A function is a block of code written to perform a task and can be used over and over again. Write it once and use it a million times. Cool, right? This eliminates the need to write the same piece of code over and over again, allowing developers to write neat and efficient code.


Hi! My name is Minolta Ndlovu, I am a sophomore at Bryn Mawr College studying Computer Science. I recently started learning Javascript, I am taking a course on Udemy, a very helpful learning platform for almost anything you want to learn under the sun. I will be documenting some of the concepts from the course here on medium every week. Hopefully, I can help someone else learn how to write JS code or fix a bug in their code or help refresh their memory on a concept. Either way, let’s learn together!

Photo by Irvan Smith on Unsplash

So, what is Javascript? Javascript is a high-level…

Minolta Ndlovu

I am very passionate about learning new technologies and I spend most of my days reading books and articels about the newest inventions and releases.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store