New course! Every coder should learn Generative AI!
Try a free lesson0
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
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
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
0
How can I link a project using only html code?
0
Ooh okay thank you