Form a story practice HTML

I keep getting “null” in my story and I cant figure out why. Watched the video walkthrough and still nothing.
Can someone please shed some light on what Im missing?

       <span>Yes or No:</span>
        <input id="yes" name="answer" type="radio" value="yes" required />
        <label for="yes">Yes</label>
        <input id="no" name="answer" type="radio" value="no" required/>
        <label for="no">No</label>

I tried your code and it works fine for me so the fault is probably somewhere else.
Can you send your form?