HTML CSS JS Audio Video

JS

JavaScript or js is an interpreter-type programming language, so you don't need a compiler to run it. JavaScript has features such as object-oriented, client-side, high-level programming, and loosely typed.
Example text javascript by id in html/js. Below is an example code :

<!DOCTYPE html>
<html>
    <head>
        <!-- Your title web -->
        <title>Guide JS | CusMeDroid<title>
    </head>
    <body>
        <p id='meexample'></p>
        <script>
            document.getElementById('meexample').innerHTML = 'You can see me?';
        </script>
    </body>
</html>
                

How to make function onclick for change text?
Below is an example code :

<!DOCTYPE html>
<html>
    <head>
        <!-- Your title web -->
        <title>Guide JS | CusMeDroid<title>
    </head>
    <body>
        <p id='meexample'>You can see me?</p>
        <button onclick='meTextChagne()'>Change it!</button>
        <script>
            function meTextChange() {
                document.getElementById('meexample').innerHTML = 'Has it changed?';
            }
        </script>
    </body>
</html>