skip to Main Content

Opening a new HTML file upon logging in

I can not get to the file success.html upon successfully logging in. Here's my client side code <!DOCTYPE html> <html> <head> <title>Login Page</title> <style> //CSS Styles </style> </head> <body> <div class="login-container"> <h2>Login</h2> <form id="loginForm" action="/login" method="POST"> <div> <label for="username">Username:</label> <input…

VIEW QUESTION

HTML is not rendering properly in nodemailer

<div style = "height:auto;width:auto; background-color:#5C81F4;display:flex; justify-content:center;"> <div style="display:flex;flex-direction:column; width:90vw;height:auto;overflow:hidden;border-radius:20px; background-color:#ffffff;margin-top:40px;margin-bottom:40px;"> <h1 style="display:flex; justify-self:center; align-self:center;color:#2A2836;">Quote of the Day</h1> <p style = "font-size:30px;height:auto; color:#2A2836;margin-left:10px;overflow:hidden;"> "${quote}" </p> <p style ="display:flex; margin-right:10px; font-size:20px;color:#2A2836;justify-self:end;align-self:end">- <i>${author}</i></p> </div> </div> This is my html code which I want…

VIEW QUESTION
Back To Top
Search