Initializing
Liveweave
Web
expand_more
home
Home
data_object
CSS Explorer
arrow_outward
Palette
Color Explorer
arrow_outward
Polyline
Graphics Editor
arrow_outward
outbox_alt
Generative AI
arrow_outward
frame_source
Python Playground
New
arrow_outward
build
Tools
expand_more
restart_alt
Load "Hello Weaver!"
post_add
Generate Lorem ipsum...
code
Format HTML
code_blocks
Format CSS
data_object
Format JavaScript
library_add
Library
expand_more
A
Algolia JS
Animate CSS
Apex Charts JS
B
Bulma CSS
Bootstrap
C
Chart JS
Chartist
Create JS
D
D3
Dojo
F
Foundation
Fullpage JS
G
Granim JS
Google Charts
H
Halfmoon
J
jQuery
M
Materialize
Moment JS
Masonry JS
Milligram CSS
P
Pure CSS
Primer CSS
Popper JS
Pattern CSS
Picnic CSS
R
React JS
Raphael JS
Raisin CSS
S
Semantic UI
Skeleton CSS
Spectre CSS
Tachyons CSS
T
Tailwind
Three JS
U
UI Kit
Vis JS
W
Water CSS
download
Download
expand_more
developer_mode
Download as HTML
folder_zip
Download as .ZIP
cloud_upload
Save
account_circle
Login
settings
Settings
expand_more
14
px
Live mode
Night mode
Line number
Mini map
Word wrap
sync_alt
Reset Settings
smart_display
Run
<body> <script> var lang = { 'ru' : { 'result' : [ 'Ðа Ð²Ð°Ñ ÐµÑ‰Ñ‘ никто не подпиÑан.' , 'Ðа Ð²Ð°Ñ Ð¿Ð¾Ð´Ð¿Ð¸Ñан 1 пользователь' , 'Ðа Ð²Ð°Ñ Ð¿Ð¾Ð´Ð¿Ð¸Ñаны 2 пользователÑ' , 'Ðа Ð²Ð°Ñ Ð¿Ð¾Ð´Ð¿Ð¸Ñаны 5 пользователей' ] } } function text( key , n ) { var texts = lang['ru'][ key ] var h = Math.floor( n / 10 % 10 ) var l = n % 10 var plural = ( n === 0 ) ? 0 : ( l === 1 )&&( h !== 1 ) ? 1 : ( l > 1 )&&( l < 5 )&&( h !== 1 ) ? 2 : 3 return texts[plural].replace( /\d+/ , `<b>${n}</b>` ) } document.body.innerHTML += text( 'result' , 0 ) + '<br/>' document.body.innerHTML += text( 'result' , 1 ) + '<br/>' document.body.innerHTML += text( 'result' , 2 ) + '<br/>' document.body.innerHTML += text( 'result' , 5 ) + '<br/>' document.body.innerHTML += text( 'result' , 10 ) + '<br/>' document.body.innerHTML += text( 'result' , 11 ) + '<br/>' document.body.innerHTML += text( 'result' , 12 ) + '<br/>' document.body.innerHTML += text( 'result' , 15 ) + '<br/>' document.body.innerHTML += text( 'result' , 20 ) + '<br/>' document.body.innerHTML += text( 'result' , 21 ) + '<br/>' document.body.innerHTML += text( 'result' , 22 ) + '<br/>' document.body.innerHTML += text( 'result' , 25 ) + '<br/>' </script> </body>