I create link1.href to open first-joke.html in index2.html. it not work. Thanks you. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

I create link1.href to open first-joke.html in index2.html. it not work. Thanks you.

I want to do Link: index2.html and first-joke.html. https://code.sololearn.com/WWxWU8iGagHc/?ref=app

12th Mar 2021, 6:32 AM
Malick Diagne
Malick Diagne - avatar
1 Answer
+ 3
You need to give a whole path of your first-joke.html from sololearn url .... Try this : Link1.href = "https://code.sololearn.com/WyTmxNSBczdD/?ref=app"; It will point to frist-joke.html page. 👍
16th Mar 2021, 4:02 AM
axita
axita - avatar