Mobile first landing page with curved sections HTML SCSS JS
Design comparison
Solution retrospective
Finished huddle landing page, it said HTML CSS only but i added little bit of JS for email validation.
Community feedback
- @pikapikamartPosted over 3 years ago
hey, why not use input type of email instead of text in the subscription? it will be much easier for it since some codes are already embedded on it
0@Vj3koPosted over 3 years ago@pikamart don't know really, i read some article that said when u use type="email" it is not supporting umlaut or non-latin characters. so to prevent that i use type="text" with RegExp but i may be wrong.
0@pikapikamartPosted over 3 years ago@Vjekoni Oh i see, since input type email doesn't accept non-ascii right and somehow there is a custom after the
@
in emails. Well thank you for that0@Vj3koPosted over 3 years ago@pikamart i might me wrong, don't hold me by it. it may be old article, i asked in #help channel and people answered that type="email" is always better and u can use regexp validation in addition to it, so its probably the best solution that way
0@pikapikamartPosted over 3 years ago@Vjekoni well that are many solutions to many questions in programming right? maybe input type text is good but just make proper js validation same goes for type email^
0
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord