无法打开其他页面

时间:2020-07-07 12:49:30

标签: html css

Screenshot

出于研究目的,我正在制作一个Kakao谈话克隆。

当我单击按钮时,我的网站上看不到任何东西。

来源:https://github.com/fatejin/kakao-clone-v2.git

1 个答案:

答案 0 :(得分:0)

登录按钮正在尝试提交到friends.html页面,并且该页面在您的存储库中不存在,因此您得到404(找不到页面)。如果您创建friends.html页面,则单击“登录”按钮将重定向到该页面。

<form action="friends.html" method="get" id="login-form">
  <input name="username" type="text" placeholder="Email or phone number" />
  <input name="password" type="password" placeholder="Password" />
  <input type="submit" value="Log In" />
  <a href="#">Find Kakao talk Account or Password</a>
</form>