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

Added uploading edible functionality #156

Merged
merged 1 commit into from
Nov 20, 2023

Conversation

SoumyadevSaha
Copy link
Contributor

Fixes Issue🛠️

Closes #155

Description👨‍💻

User can now upload the image of their favourite edible and play with it, incase they do not get their favourite edible in the list for selecting edibles.

Applied Changes :

  • Updated main.html : Added New Upload button (.png, .jpg and .jpeg types only), a extra div, and also a preview image section.
  • Updated main.js : Included necessary functions for the file uploader onchange and managed the image loader handling for uploaded image.
  • Updated main.css : Updated the main.css maintaining responsiveness, and the theme of the game.

Type of change📄

  • New feature (non-breaking change which adds functionality)

How this has been tested✅

Tested on my local machine after applying the changes. It looks and works as intended.

Checklist✅

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added demonstration in the form of GIF/video file
  • I am an Open Source Contributor

Screenshots/GIF📷

Screen-shot 1

Screenshot 2023-11-17 at 5 07 28 PM

Screen-shot 2

Screenshot 2023-11-17 at 5 07 52 PM

Screen-shot 3

Screenshot 2023-11-17 at 5 08 24 PM

Copy link

netlify bot commented Nov 17, 2023

Deploy Preview for click-the-edible-game ready!

Name Link
🔨 Latest commit 715d821
🔍 Latest deploy log https://app.netlify.com/sites/click-the-edible-game/deploys/6557af6f25b60e00084d900e
😎 Deploy Preview https://deploy-preview-156--click-the-edible-game.netlify.app/assets/main
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@Rakesh9100 Rakesh9100 changed the title feat: added uploading edible functionality Feat: Added uploading edible functionality Nov 20, 2023
@Rakesh9100 Rakesh9100 merged commit 6734f54 into Rakesh9100:main Nov 20, 2023
4 checks passed
@Rakesh9100 Rakesh9100 added Completed 🥳 PR successfully merged and issue resolved on completion slop3.0 SLoP 3.0 Open Source Program labels Nov 20, 2023
@Rakesh9100
Copy link
Owner

Nice work!! Congrats on getting your PR merged 🎉🥳 @SoumyadevSaha
Keep Contributing! Keep Coding!!

@Rakesh9100
Copy link
Owner

give @SoumyadevSaha 150 points

@Rakesh9100 Rakesh9100 changed the title Feat: Added uploading edible functionality Feature: Added uploading edible functionality Feb 18, 2024
@Rakesh9100 Rakesh9100 changed the title Feature: Added uploading edible functionality Added uploading edible functionality Feb 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Completed 🥳 PR successfully merged and issue resolved on completion slop3.0 SLoP 3.0 Open Source Program
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Uploading Edible functionality
2 participants