Фикс переносов в about

This commit is contained in:
Mootfrost777 2022-08-09 19:07:03 +03:00
parent b663bc5827
commit 12aaeaffc5

View file

@ -31,8 +31,8 @@
</div>
<div class="contents-div description-container">
<p class="about-contents" id="about">
Семейкин Андрей, {age} лет. Живу в Москве<br/><br/>
В основном пишу на C#, Python, JS. Немного знаю C++<br/>
Семейкин Андрей, {age} лет. Живу в Москве<br><br>
В основном пишу на C#, Python, JS. Немного знаю C++<br>
</p>
<p class="about-contents" id="code-stats">
</p>
@ -59,7 +59,7 @@
about.innerHTML += 'Из них на:' + '<br/>'
for (let language in code_stats['languages']) {
about.innerHTML += language + ' - ' + code_stats['languages'][language] + '<br/>'
about.innerHTML += language + ' - ' + code_stats['languages'][language] + '<br>'
}
about.innerHTML += ''
}
@ -73,7 +73,7 @@
let age = await resp.json()
let about = document.getElementById('about')
about.innerHTML = about.textContent.replace('{age}', age)
about.innerHTML = about.innerHTML.replace('{age}', age)
}
load_age()
</script>