First time using JavaScript, is it good?
James
@NaetharuCodesAll comments
- @danpthSubmitted about 3 years ago@NaetharuCodesPosted about 3 years ago
Looking at the JS for validation, you have a monster of nested if/else clauses.
I would try and avoid this if possible.
For doing the validation, you don't really need to do it all in one big clause like that. You could just break it down and run one simple clause for each part.
That way it will be much easier to read, and much easier to maintain should you come back to this.
0 - @adityaauchihaSubmitted about 3 years ago
please any one can tell me why my image background color not changing ? your guidance will help me a lot. thank you also should i learn bootstrap now? i have learnt only html and css
@NaetharuCodesPosted about 3 years agoThere are three ways I found that I could change the image colour:
1: Create a 2nd div and overlay it atop the image. Then make it semi-transparent and color it to match.
2: Make the image itself semi-transparent and then color the background of the container.
3: use the "filter()" options in css for the image and then rotate the hue to around 240deg to get that pink/purple color.
0