Home Blog Page 3

Introducing querySelector and querySelectorAll

Comparing with getElementById, getElementByName,... querySelector and querySelectorAll are newcomers but soon become popular regarding their conveniences and consistent of using. How to use querySelector and querySelectorAll? With querySelector we can use the same selector notation with CSS, as...

Working with array in JavaScript

arr1.splice(2,0, 3,4)Unlike Java, an array in JavaScript don't need to be fixed in size. You don't have to give it a length when declaring and it can be extended as long as you want....

Free Lecture: Understanding DOM manipulation – How to validate a form

This is a practical lecture, everything is built on practicing. So, please bring your laptop along. In this lecture I will help you to understand the DOM structure, DOM manipulation, selecting element, validating the value...

Overriding equals() method in Java

Comparing is something that you would do a lot in programming. It's easy in Java to compare primitive variable using double equals sign "==". However, it requires a little bit of work when...

What is polymorphism in Java object oriented programming?

"The dictionary definition of polymorphism refers to a principle in biology in which an organism or species can have many different forms or stages. This principle can also be applied to object-oriented programming and languages like...

getElementByID and getElementsByTagName in DOM manipulation

DOM manipulation is a skill set that every web developer must know about. With DOM manipulation, we can access the DOM and change the content or structure of the DOM and thus, make the web...

A quick look at Inheritance in Java Object Oriented Programming

Object-Oriented Programming (OOP) is something that you should hear about it as soon as you learn Java. This concept of programming has been making a lot of beginners turn their back and walk away...

Chaining constructor function in Java. Why and How

You might hear about this term sometime, somewhere and now you trying to implement it in your code. But you couldn't see what is the sense of using this method. This post may help you. Consider...

Understanding the for each (Enhanced for loop) in Java

The normal for loop make you feel sick? You want to write your code that looks like a “pro” or want to show your friend a for loop that took them a while to...

Getting to know Arraylist in Java

Since some of my classmates are struggling with Arraylist in their assignment. I would like to make some lines of word about this new savior for those who are tired of using the normal array...
Full stack developer

All Posts

flutter

Flutter Hooks – scratching the surface

With previous experience working with React, moving to Flutter, hooks are things that I feel missing the most. Hooks help a lot...

White noise player

The Membership wallet