@ecemgoSubmitted over 1 year ago
Mert Evirgen
@waldvoidAll comments
- @waldvoidPosted over 1 year ago
Hi Ecem,
- You may try giving an invalid e-mail error with event listener - blur when user enters an invalid e-mail and loses focus from the input field instead of showing error while writing the e-mail.
- I like the transition on e-mail field but wished for a transition back when I lose focus from input area.
- E-mail input does not have label, you can use aria-label attribute on your html to provide more accessibility for screen readers.
- <img src="images/icon-arrow.svg" alt="arrow"> -->> button alt text can be more informative. Like "Subscribe to e-mail feed".
Great work!
Marked as helpful3 - @MetalRick84Submitted over 1 year ago
Why is the image-container higher than the image itself?
I could solve this with height: 301px but I want to know why. You can see it when hovering the card-image (gap at the bottom of the image). Or with devtools :)
@waldvoidPosted over 1 year agoHi MetalRick,
If you are using a box for an image try using code below to align your image properly in your image container. Otherwise if you leave it like inline element have to exactly fit your image to your box.
card-image-container { display: flex; justify-content: center; align-items: center; }
Or you may use other methods with the same idea.
0