Mishal Abdullah

How To Get Data From URL In NEXTJS 13

Javascript,Nextjs13

In this we are going to learn how to get data from the url of a NEXTjs application.In this blogs we will be taking a look at the latest version of nextjs which is version 13,it would be different for version 12 and so on. I am assuming you got npm installed or something similar to that for managing your packages.

How To Find HTML Elements Using JavaScript

JavaScript Tutorial

There are three ways of finding HTML elements document.getElementById() document.getElementsByTagName() document.getElementsByClassName() Element By ID:- The document.getElementById() method is the most common way to find HTML elements. You can assign a Tag any id you want and pass the the id as a parameter to the document.getElementByid() example <!DOCTYPE HTML> <html> <head> </head> <body> <h1 id="intro"> Hello World</h1> </body> <script> var value = document.getElementById("intro"); value.style.color = "red"; </script> </html> Output !