Latest comments
- @juliabushSubmitted 5 days ago
- P@Y39WebDeveloperSubmitted 10 days agoP@JairRaidPosted 1 day ago
the layout look good but the pick player one’S mark does't work.
0 - P@JonatasGdeCSubmitted over 1 year ago
- @JstickzSubmitted 20 days agoWhat are you most proud of, and what would you do differently next time?
I am most proud of the fact that I finally finished up this project and the featured I thought would be very difficult to code turned out not to be very difficult.
What challenges did you encounter, and how did you overcome them?I encountered challenges when I was trying to make the add to cart button interactive, adding and subtracting the number of products was a bit difficult.
What specific areas of your project would you like help with?I really need a good course to help me learn JavaScript, a free one as I don't have enough to get a paid one for now.
- @vgarmySubmitted 17 days agoWhat are you most proud of, and what would you do differently next time?
The use of json and the grid boxes.
What challenges did you encounter, and how did you overcome them?Working with images in a json is always tricky.
What specific areas of your project would you like help with?Do you need to combine grid and flex?
P@JairRaidPosted 17 days agoGreat work! Just need to change the spacing and color of the navigation menu.
Marked as helpful0 - P@marcello88cSubmitted 22 days agoP@JairRaidPosted 20 days ago
You can use regex to check if the email is valid. My JS code for email validation:
//get the trimed value of the email const email = document.getElementById("email").value.trim(); //check if email have a value if (!email) { return false; } //assign the regex to variable emailPattern const emailPattern = /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/; //test the value of the email input with the emaiPattern if its valide if (!emailPattern.test(email)) { return false; }
0