Make a back button after document.write? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Make a back button after document.write?

So I'm extremely new to coding. I wrote an html document that has 3 buttons, all of them trigger a document.write. I'm wondering if I can make a back button that returns to the original 3 buttons.

9th Apr 2018, 10:12 PM
Daniel Cooper
Daniel Cooper - avatar
7 Answers
+ 4
Add this property to body. background-size: cover; Hope it will fix your problem.
10th Apr 2018, 1:15 AM
Ranjan Bagri
Ranjan Bagri - avatar
0
I'll try it and let you know how it turns out
9th Apr 2018, 10:38 PM
Daniel Cooper
Daniel Cooper - avatar
0
Also, how can I make an image stretch to fill the entire screen for the background
9th Apr 2018, 10:40 PM
Daniel Cooper
Daniel Cooper - avatar
0
Still just repeats.
9th Apr 2018, 10:48 PM
Daniel Cooper
Daniel Cooper - avatar
0
No, but I can copy/paste it and share it
9th Apr 2018, 10:55 PM
Daniel Cooper
Daniel Cooper - avatar
9th Apr 2018, 11:06 PM
Daniel Cooper
Daniel Cooper - avatar
0
It's background-image
9th Apr 2018, 11:07 PM
Daniel Cooper
Daniel Cooper - avatar