Simple JS example

Created Tuesday 07 April 2020

<!DOCTYPE html>
        <head>
                <title> JAVA SCRIPT </title>
        </head>


<body>

        <h1> WHATT UP DONT SEE THIS </h1>

        But this is cool

        <p> and here's a thing </p>



        <h1 id="id1">My Heading 1</h1>

        <button type="button"
                onclick="document.getElementById('id1').style.color = 'red'">
                Click Me!</button>


        
        <p id="demo"> THIS SHOULD BE 15, yo </p>

        <script>
        var x = 0.1;
        var y = 0.1;
        document.getElementById("demo").innerHTML = x + y ;
        </script>


        <script src="./main.js"></script>       
</body>


Backlinks: FSU Courses:LIS5364