r/HTML • • Feb 26 '19

Unsolved How to make login page?

how to make login page in which if we add credentials like eg- email-admin, password - admin. so it opens up a new html document. without hosting just for school purpose.

Thank you..

0 Upvotes

4 comments sorted by

22

u/rguy84 Feb 26 '19

This smells like homework, so what have you tried?

8

u/ForScale Feb 26 '19

Look up dom querying, event handling, if statements, and window.open method.

2

u/AutoModerator Feb 26 '19

Welcome to /r/HTML. When asking a question, please ensure that you list what you've tried, and provide links to example code (e.g. JSFiddle/JSBin). If you're asking for help with an error, please include the full error message and any context around it. You're unlikely to get any meaningful responses if you do not provide enough information for other users to help.

Your submission should contain the answers to the following questions, at a minimum:

  • What is it you're trying to do?

  • How far have you got?

  • What are you stuck on?

  • What have you already tried?

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

-2

u/SphenX123 Feb 26 '19

Something I quickly made up, so make changes according to what you need: https://codepen.io/jordan-neo-da-graca/pen/aMzajd