Multiple Page website in sololearn | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
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 Réponses
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