+ 1
how to do it if I click on the page, it disappears and another page pops up
12 Antworten
+ 1
use anchor tag <a>
example:
<a href=“index.html” target=“_self”>Index Page</a>
_self will open the page on the same tab.
In your words, current page will disappear and new page (index.html) will be shown.
+ 4
Can u share the code link here? Riselda Rada I couldnt find it in your profile
+ 3
Riselda Rada I have msg you will discuss it there of what changes you want in your teachers day code
+ 2
Happy To Help 😊 Riselda Rada
+ 2
if you want to make it look like your page has multiple pages. Create 2 div elements. put every thing you want on the first page in the first div element. And everything for the second page in the second div elements. Hide the second element with display none. make a button with an on click function that will unhide the second div and hide the first div.
+ 1
Sharique Khan thank you
+ 1
It didn't work😥 Sharique Khan
+ 1
Sharique Khan Can you look in my page please , the code is called "Happy Teacher day " , after card (you can see) i want to appear something else , like writing sth or a message . What do you think
+ 1
You can only work from one html document in code playground at a time, therefore you can not have a link go to another page in the same project.
+ 1
Riselda Rada judging by that code you already did what I suggested.
0