Design comparison
Solution retrospective
I did it and it worth it. next time I will design it with React
What challenges did you encounter, and how did you overcome them?validating the form was quite confusing but became easier with more tries.
What specific areas of your project would you like help with?I tried adding color to my placeholder with JavaScript but it did not apply. I need help with a better way to do it next time
Community feedback
- @TomrocheDevPosted 4 months ago
Hey Echocode1,
Really nice take on this project. Very solid code. You asked help about styling a placeholder. If I interpreted your question correctly, this is something you don't necessarily have to do with JavaScript. This is really easy with CSS-only.
You can easily style a placeholder with the ::placeholder psuedo element. For example:
::placeholder { color: green; font-weight: 700; }
Check out this resource for further expaination: https://developer.mozilla.org/en-US/docs/Web/CSS/::placeholder
Hope this helps π
Marked as helpful1@echocode1Posted 4 months ago@TomrocheDev it was 100% helpful as i have gone through your resource above. I appreciate your comment and hope you pass by in your leisure time to assess my forth coming codes as am still new to this career partππ
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