#A blackJack game with Javascript

11 messages · Page 1 of 1 (latest)

slow cloakBOT
#

@inner marten

File Attachments Not Allowed

For safety reasons we do not allow files with certain file extensions.

_alpha.decay_ Said

This is my first javascript project and I'm finding it a bit confusing please help me out.

Code Formatting

You can share your code using triple backticks like this:
```
YOUR CODE
```

Large Portions of Code

For longer scripts use Hastebin or GitHub Gists and share the link here

Ignored these files due to them having disallowed file extensions
  • blackJack.zip
inner marten
#

This is my first javascript project and I'm finding it a bit confusing please help me out.

help me out with this part, the text isnt visible no matter whether game is live or not

wispy raven
#

Use your browser's dev tools to check if the elements style actually changes

inner marten
#

no it isn't

wispy raven
#

-> What is the initial style

inner marten
#

display: none

wispy raven
#

And it's not updated? Have you tried printing out the card elements inside of your if statement?

inner marten
#

printing out as in?

wispy raven
#

console.log