Poll Website for Yellow Filter event. Winners will be announced based on majority vote.
-
Fork this repository
-
Clone your forked repository
[email protected]:HackclubVIT/poll.git
-
Create a new account in Supabase and create a new project. Get the URL and PUBLIC_ANON_KEY in the API section.
-
Create a new file named
config.js
insidejs/
folder and paste the following code
const config = {
SUPABASE_URL : <supabase_url>,
API_KEY : <public_anon_key>,
}
- That's all! You are good to go!
- Use relative units in CSS, not absolute.
- Use .webp format for images
- Make the webpage responsive.
- Inspect the page to check for multiple devices and then apply for PR.
- Use kebab-case for css class/id names and camelCase for js variables.
- Add separate CSS files in CSS/ folder to avoid mixing of CSS of different sections.
- Don't
condole.log
the API_KEY in any script file.