+ 3

How to access the second page and put code there

I'm not far into web design but I need help with accessing the second page to my game to put code there and make it work

14th Apr 2024, 3:30 PM
Connor Latto
Connor Latto - avatar
3 Answers
+ 4
For such as questions will be an example needed. In general, this works window.location.href='http://second.htm'
14th Apr 2024, 4:07 PM
JaScript
JaScript - avatar
14th Apr 2024, 4:33 PM
JaScript
JaScript - avatar
0
One way to do it is to create divs. Then in CSS you can hide the divs that you don't want to see until you need them. https://sololearn.com/compiler-playground/Wu2VY5UCsVEc/?ref=app
15th Apr 2024, 12:13 AM
Chris Coder
Chris Coder - avatar