HTML & JS website flashing

My code:

<!DOCTYPE html>
<html lang="en">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <script src=""></script>
    <script src="main.js"></script>
    <link rel="stylesheet" href="style.css">
    <link rel="stylesheet" href="">
<body onload="draw();">
    <div class="body">
    <h3><b>All about emojis!</b></h3>
    <h4>Have Questions? Enter some things you want to know!</h4>
    <form onsubmit="GetQ()">
        <input type="text" id="Q" placeholder="Q:">
    <h4 id="A">A:</h4>

function GetQ(){
    var input = document.getElementById("Q");
    if(input.value == "Emoji"){
        document.getElementById("A").innerHTML = "Emjois are a text base culturistic image; Made in Japan";

Every time I type “Emoji” inside of the Q: input; I seems it just shows the .innerHTML text, For not a long time.
Why is this flashing?


Note that the p5.js is used, But not shown; And Working