I've been a professional C, Perl, PHP and Python developer.
I'm an ex-sysadmin from the late 20th century.
These days I do more Javascript and CSS and whatnot, and promote UX and accessibility.
I can appreciate the effort that went into this, but why would you implement a transition that takes several seconds - especially if people make a mistake and then have to go back?
Having both forms on the same page but one only visible through running some script smells a little to me. You will need to style for the scenario where people don't have javascript running - and if you can make it work with both forms on the page, why not just have both forms on the page?
My final concern is with sharing links - say you have a link somewhere in your FAQ that talks about the benefits of signing up. As it stands, that link can't actually link to the registration form, but will present the login form and require the user take an extra step, and be taken out of what would otherwise seem like smooth navigation. You could address that by passing through a query parameter or fragment to tell the script which form to display first, though that probably gives you other problems instead.
Hello, I am kunaal a fullstack developer.I have a youtube channel "Modern Web" where I teach to make awesome web UI/ UX. Don't forget to checkout my youtube channel
I understand this but I just made these thing to show the power of Css and JS of course this form is not practical but I want people to let them know how to think like this. Thanks
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I can appreciate the effort that went into this, but why would you implement a transition that takes several seconds - especially if people make a mistake and then have to go back?
Having both forms on the same page but one only visible through running some script smells a little to me. You will need to style for the scenario where people don't have javascript running - and if you can make it work with both forms on the page, why not just have both forms on the page?
My final concern is with sharing links - say you have a link somewhere in your FAQ that talks about the benefits of signing up. As it stands, that link can't actually link to the registration form, but will present the login form and require the user take an extra step, and be taken out of what would otherwise seem like smooth navigation. You could address that by passing through a query parameter or fragment to tell the script which form to display first, though that probably gives you other problems instead.
I understand this but I just made these thing to show the power of Css and JS of course this form is not practical but I want people to let them know how to think like this. Thanks