html - 无法打开其他页面
问题描述
我正在制作一个 Kakao 谈话克隆用于学习目的。
当我单击该按钮时,我在我的网站上看不到任何内容。
解决方案
登录按钮正在尝试提交到 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>
推荐阅读
- ios - 如何以编程方式隐藏键盘剪贴板?
- java - 我没有在 REST api 中获得嵌套资源的不同 ID
- javascript - 执行删除操作后如何自动刷新页面
- image - 将未压缩的 TIF 文件转换为具有压缩 LZW 和 ZIP 的 TIF 文件
- python - 如何从 github 安装 deepplantphenomics python 包?
- java - E/RecyclerView:没有附加适配器;跳过布局 Android Studio RecyclerView
- python - boto3 AWS Batch在`.describe_jobs()`响应中缺少`logStreamName`
- java - GUI 问题 Java Netbeans 将 TextFields 与数字相关联
- python - 如何计算对比度改善指数 (CII)
- android - Playstore:停用此 APK 将导致您的应用可用于在更少类型的设备上进行新安装