I'm trying to create a function that takes a users input and if it equals 10 then perform a function that will eventually print fizzbuzz to the screen from 0-10 but for now I'm just trying to get it to say "awesome" if the input == 10. Here is the code.

```
    <!DOCTYPE html>
    <html>

    <head>
        <title>Fizzbuzz Input Field</title>
        <script src="scripts.js"></script>
    </head>

    <body>
        <form>
            <input type="number" id="userInput"></input>
            <button onclick="fizzBuzz()">Go</button>
        </form>
    </body>

    </html>

    window.onload = function() {
        alert("Page is loaded");
    };

    var fizzBuzz = function() {
    var userInput = document.getElementById("userInput");
        fizzBuzz.onclick = function() {
        if(userInput.value == 10) { 
            document.write("awesome");
        };
        };
    }

```