Skip to content

Dev#1

Open
py2fly wants to merge 7 commits into
mainfrom
dev
Open

Dev#1
py2fly wants to merge 7 commits into
mainfrom
dev

Conversation

@py2fly

@py2fly py2fly commented Jan 11, 2023

Copy link
Copy Markdown
Owner

No description provided.

@netlify

netlify Bot commented Jan 11, 2023

Copy link
Copy Markdown

Deploy Preview for teal-smakager-e6a415 ready!

Name Link
🔨 Latest commit 3a2ee5d
🔍 Latest deploy log https://app.netlify.com/sites/teal-smakager-e6a415/deploys/63bf23d53820d90009ce796d
😎 Deploy Preview https://deploy-preview-1--teal-smakager-e6a415.netlify.app/
📱 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 settings.

Comment thread app.js
shell1Button.addEventListener('click', () => {
const correctSpot = getRandomHidingSpot();
handleGuess('shell1', correctSpot);
console.log(correctSpot);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

feel free to delete these console.log statements once you've verified functionality

Comment thread app.js
}
/* Events */
function handleGuess(userGuess, correctSpot) {
shell1Container.classList.remove('assets/shell-b.png');

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lines 46-48 here could be refactored and put in a new function called resetStyles().

then call the function here in the handleGuess() function on line 46

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants