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

Pokemon Guess Who #331

Open
wants to merge 16 commits into
base: main
Choose a base branch
from
Open

Pokemon Guess Who #331

wants to merge 16 commits into from

Conversation

VAstrom
Copy link

@VAstrom VAstrom commented Sep 10, 2023

There are 2 script files:
script.js: the main file.
scriptExplanations.js: contains all the code plus additional comments and explanations that have been removed from the main script file. This file can be ignored.
Here's the deployed website:
Pokemon Guess Who

Copy link

@EvelynDelCarmen EvelynDelCarmen left a comment

Choose a reason for hiding this comment

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

Great work Veronica! I loved that you did a Pokemon take on this game :) Overall it was easy to understand the structure and the coding. It was really smart to duplicate your javascript file with the explanations - I am taking that with me! 😊

<span>Guess on ${person.name}?</span>
<button class="filled-button small" onclick="guess('${person.name}')">Guess</button>
<span>Guess on ${pokemon.name}?</span>
<button id="findOut" class="filled-button small"onclick="guess('${pokemon.name}')">Guess</button>
</div>
</div>
`

Choose a reason for hiding this comment

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

Love love love the Pokemon take on this game! :)

}

// Invokes the start function when website is loaded
start()

// Counter for number of guesses
let counter = 0;

Choose a reason for hiding this comment

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

I didnt understand this function, when I guessed on the Pokemons it only counts til the number 1?

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