Design comparison
Solution retrospective
Hello beautiful 🤗,
This is my solution for this challenge. I'd be happy if you could have a look at my solution and give me some feedback on work to improve it 🫶 🌻
Have a nice day 🌹
Thank you!
What challenges did you encounter, and how did you overcome them?I had a little issue with CSS syntax at the beginning which caused my page not to load correctly
I had to double-check my codings several times which was painful
What specific areas of your project would you like help with?I'd like to add some animation to make it have a smooth transition
Community feedback
- @0xabdulkhaliqPosted 6 months ago
Hello there 👋. Congratulations on successfully completing the challenge! 🎉
- I have a suggestion regarding your code that I believe will be of great interest to you.
PROPERLY LINKING LABELS 🔖:
input
elements wants alabel
associated with it in a proper way, adding alabel
without proper association with it'sinput
element does not work.
- Currently you only added
id
attribute forinput
element but you forget to addname
attribute.
- The
id
of a input element has nothing to do with the data contained within the element. IDs are for hooking the element with JavaScript and CSS.
- The
name
attribute is used when sending data in a form submission. Different controls respond differently. For example, you may have several radio buttons with differentid
attributes, but the samename
. When submitted, there is just the one value in the response - the radio button you selected.
- So please add
name
attribute ofemail
forinput
element to link thelabel
properly.
.
I hope you find this helpful 😄 Above all, the solution you submitted is great !
Happy coding!
1@NgocMinhThuNguyenPosted 6 months agoHi, @0xabdulkhalid Thank you for your feedback! 🌹
Yes, I forgot to add the
name
attribute of the email forinput
. I fixed it alreadyThanks again for your help 🤗
1
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