Latest solutions
Signup-Form With Client Side Validation
#bootstrapSubmitted 7 months agoI am a beginner in web development so I would appreciate any kind of feedback that would help me improve in writing more efficient and readable code.
Latest comments
- @wajeeNPCSubmitted about 2 years ago@Anubhav-RayPosted about 2 years ago
Hi @wajeeNPC
Congrats on completing your first JavaScript project.
I have some suggestions you might consider to improve your code.
-
To make your webpage accessible you should use atleast one main tag to cover your entire html and use forward slash to specify path for image and try to use semantic html.
-
Use alt tag for images that have some special meaning so that it might be helpful for screen readers.
-
Your rating is being submitted even if user has not selected any rating.Try to disable the submit button until user has selected the option.Its giving selected 0 out of 5.
-
Multiple ratings are being selected (or their color state is being changed) if one tries to click on every rating so try to fix it.
-
In submit button you have used spaces in html itself to make spacing between the letters of word submit.Try to use CSS letter-spacing property.
-
You should also write a detailed Readme so that others can gain additional insight on your project.
Above all, The project is Well Done.I hope these tips will help you.
Marked as helpful0 -
- @hyxenonSubmitted over 2 years ago@Anubhav-RayPosted over 2 years ago
Hi @hyxenon. Congrats on Completing the Challenge.
You can use picture tag for setting two different images.
To make your webpage accessible you should use atleast one main tag to cover your entire html after body tag and should use semantic html
Marked as helpful0 - @iSoyecodesSubmitted over 2 years ago@Anubhav-RayPosted over 2 years ago
Hey @iSoyecodes for Responsive background pattern use Media Query.
You can set default background-image of body tag as the image given for mobile background-imagein design if you make mobile-first design and use media query for setting body tag background-image as the desktop image for desktop design.
Marked as helpful0 - @JuanRodriguezzSubmitted over 2 years ago@Anubhav-RayPosted over 2 years ago
Hi @JuanRodriguezz Good Job Completing this Challenge.
I have some suggestion you might consider to improve your code:
-
You can make $149 bigger by using font-size property instead of using h5.
-
You can add Cart Icon before the text Add to Cart by using Bootstrap Icons
-
You should also try to make both prices horizontally aligned as given in design.
Above all, The project is Well Done.I hope these tips will help you.
Marked as helpful0 -