Multiple Page website in sololearn | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Multiple Page website in sololearn

Hello, i want to create a multipage website in sololearn. How can i link a webpage i created earlier? Or is it not possible in sololearn

28th Feb 2024, 7:12 AM
Paz
Paz - avatar
4 Answers
0
Share project -> copy link Next, paste this link into the change language button and when you click on change language, you will be sent to your project in a different language
28th Feb 2024, 12:29 PM
Knight
Knight - avatar
0
You can use a link to another project, or use the javascript replacement: html code: <button onclick="lang()">CLICK HERE</button> <div id="ru">какой-то текст</div> <div id="eng">some text</div> css code: #eng{ display: none; } JS code: function lang(){ document.GetElementById(ru).style.display = none document.GetElementById(eng).style.display = none You can also use the Google Translator API to translate the page more easily
28th Feb 2024, 12:23 PM
Knight
Knight - avatar
0
How can I link a project using only html code?
28th Feb 2024, 12:26 PM
Paz
Paz - avatar
0
Ooh okay thank you
28th Feb 2024, 12:35 PM
Paz
Paz - avatar