selvi jp

selvi jp

  • NA
  • 323
  • 70.1k

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)