Closed bennetthanna closed 5 years ago
You can play this version of the game here
Built with commit 938bcd6d60d835e9fc2eaca23bff49cd880af1d3
@bennetthanna thanks for picking this task. Your current approach is not bad but we have a simpler solution which doesn't even need JavaScript.
I have added a comment here https://github.com/itaditya/trick-or-treat-game/issues/18#issuecomment-538078140. Please read it and update accordingly.
@itaditya Here's what the end product looks like. Let me know what you think! I'm open to any and all recommendations 🙂
This looks great. Can you make one change though. Instead of hardcoding the netlify link, use the window.location.origin
to get the location of website and then use that inside the share widget.
@bennetthanna congrats on getting your PR merged! Happy Hacktoberfest
References #18