Ask coding questions

← Back to all posts
How do I make a button pop up after you click on another button before that? Pls help !!
Bookie0 (6407)

Hi, I’m a beginner on html that needs some help from pros like you!

So after the user clicks on the button ‘click me after typing those numbers’, i would like another button to pop up below. How could I do that?
Please help and i would be extremely grateful! 🙏

Thank you so much in advance!!!!

Bookie0 (6407)

@malvoliothegood hello there! Thank you so much for showing me the code!
You are a lifesaver! Thanks so much again!

Have a super day!


@Bookie0 Cool. You have a good day as well.

CodeLongAndPros (1633)

You would run JavaScript with the onClick= attribute, and, in that js, you would change the button state.

Bookie0 (6407)

@CodeLongAndPros hi, thanks for replying! I don’t really know how to do that (as I said I’m a beginner), could you please show and write out the code for me ?

Thanks so much!