It is lightweight object-oriented programming used for scripting HTML pages. It helps users to build modern applications by directly modifying the HTML and CSS to enhance the user interface with a DOM API.
To set up the application, we will need to navigate to a path where our project will reside and I will be using Visual Studio Code as my preferred IDE. Let a take a quick peek at the project structure.
2.1 Setting up HTML page
In the below HTML file we are defining a clickable link where we are using the
void(0); keyword. When a user clicks on this link it will do nothing.
That is all for this tutorial and I hope the article served you with whatever you were looking for. Happy Learning and do not forget to share!
You can download the full source code of this example here: