I'm using html and css , When I click a button, it shows a blank page. Why? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I'm using html and css , When I click a button, it shows a blank page. Why?

23rd Jun 2022, 10:00 AM
Roshini Sri
7 Answers
+ 2
People are more likely to help if you put your ***complete*** code in a script on sololearn playground. Go to Code section, click +, select the programming language, insert your code, save. Come back to the thread, click+, Insert Code, sort for My Code Bits, select your code.
23rd Jun 2022, 10:33 AM
Lisa
Lisa - avatar
+ 2
I decode my code🤗, actually I add # in "onclick attribute" so that's why it shows blank page. Tq for instant replays🤗
23rd Jun 2022, 11:19 AM
Roshini Sri
+ 1
What kind of button? A submit button? Or a button with a link? It is the default behavior.
23rd Jun 2022, 10:02 AM
Lisa
Lisa - avatar
0
Next, back buttons without link.
23rd Jun 2022, 10:04 AM
Roshini Sri
0
Can you post your code, there are many reason why this is heppening..
23rd Jun 2022, 10:10 AM
PanicS
PanicS - avatar
0
Ok tq
23rd Jun 2022, 10:37 AM
Roshini Sri
0
Nice!
23rd Jun 2022, 5:52 PM
Jay Bernard
Jay Bernard - avatar