Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixes: #76bug add validation for all input field's #77

Merged
merged 6 commits into from
Sep 12, 2023
Prev Previous commit
update in validation file added new category list for category
new list of category
  • Loading branch information
love-sonkar authored Sep 10, 2023
commit 4b4e338da6a1064ce1265b97710af2b6c5148eec
31 changes: 21 additions & 10 deletions public/validation.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,35 @@

// category list of all youtube category
const categoryList = [
MayankBansal12 marked this conversation as resolved.
Show resolved Hide resolved
"Film and Animation",
"Autos and Vehicles",
"Music",
"Pets & Animals",
"Sports",
"Travel and Events",
"Gaming",
"People and Blogs",
"Comedy",
"Entertainment",
"News and Politics",
"Comedy/Animation",
"Education",
"Science and Technology",
"Entertainment",
"Film and Animation",
"Finance",
"Gaming",
"How-to and Style",
"Kids",
"Music",
"News and Politics",
"Nonprofits and Activism",
"People and Blogs",
"Pets & Animals",
"Pranks",
"Scam-baiting",
"Science and Technology",
"Self-Help",
"Sports",
"Tech",
"Travel and Events",
"Travelling Vlogs",
"Variety",
"vlogs",
"Others",
];
MayankBansal12 marked this conversation as resolved.
Show resolved Hide resolved


// selecting the select option in our add youtuber.ejs file
const selectOptin = document.querySelector("#category");

Expand Down