Simple JS example

Created Tuesday 07 April 2020

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


        <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>

        var x = 0.1;
        var y = 0.1;
        document.getElementById("demo").innerHTML = x + y ;

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

Backlinks: FSU Courses:LIS5364