selvi jp

selvi jp

  • NA
  • 323
  • 78.9k

how to display console.log on render page

Jun 28 2021 1:53 PM

   if (response.ok) {

           console.log("login successful");

           } else {

  console.log('Username Password is incorrect');//i want to show this console on h1 tag in class componenet

            

           window.alert("Username and Password is incorrect");

         }

       } 


Answers (1)