@Alex-Archer-I
Posted
Hi! That's a neat solution! I see you host it on your own domain and render modal window dynamically, that's cool =)
I can give you a couple of frontend suggestions.
- Try to add
name
attribute to every input field on theform
. In real projects it'll be important for sending data to the server an for collecting it viaFormData
object. - Every page should contain
main
tag. It's important for the semantic of the page. - You can use
picture
tag to switch images on the different screen sizes.
<picture>
<source srcset="mobile.jpg" media="(max-width: 900px)">
<img src="desktop.jpg" alt="">
</picture>
It contains one img
tag and one or more source
tags with media
conditions and load image accordingly them (or img
if no one condition is matched).
Oh, and you have quite detailed regexp =)
Hope that helps, good luck =)
Marked as helpful