@ZubairAbid101Submitted over 1 year ago
Q1 Any best practices?
Q1 Any best practices?
I've been struggling with this challenge myself, here is my feedback, hopefully, it will be helpful. -the URL path you provided for the background image is wrong. You can notice it is not showing. -the email validation is not working properly, It could be the pattern. try removing the global regex because sometimes it results in unexpected behavior. -as for the label elements, you can select them using "element.nextElementSibling". its less coding lines there ^^. -could you please tell me why you are nesting conditions inside the else {} statement instead of using else if {} . I appreaciate it ^^