Initializing...
Liveweave
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
build
Tools
expand_more
restart_alt
Load base template
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
<!DOCTYPE html> <form class="order-form" method="POST" action="insert_data.php"> <legend>Insert address</legend> <div class="input-area-wrap"> <div class="input-area"> <label>Street/Avenue</label> <input type="text" name="street" required> </div> <div class="showGuesses"> <div class="showGuess">Street 1</div> <div class="showGuess">Street 2</div> <div class="showGuess">Street 3</div> <div class="showGuess">Street 4</div> </div> </div> </form>
* { -webkit-box-sizing: border-box!important; box-sizing: border-box!important; } .order-form { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; width: 80%; max-width: 800px; margin: 0 auto; border: 1px solid #222; border-radius: 15px; padding: 20px; margin-top: 25px; position: unset!important; overflow: hidden; } legend { text-align: center; margin-bottom: 25px!important; } .input-area-wrap { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; } .input-area { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: baseline; -ms-flex-align: baseline; align-items: baseline; position: relative; } .input-area label { width: 150px; } input[type="text"] { width: 250px!important; outline: none; } input[type="text"]:focus { border: 2px solid darkred!important; outline: none; } input[type="submit"] { width: 100px; margin: 25px auto 0; border-radius: 25px; background: rgb(255, 74, 74); color: #fff; border: none; padding: 10px; font-size: 16px; } .showGuesses { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; z-index: 3; /* top: 25px; */ margin-left: 150px; font-size: 14px; width: 100%; max-height: 100px; overflow: -moz-scrollbars-vertical; overflow-y: scroll; } .showGuess { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; border: 1px solid #222; padding: 5px; width: 250px; min-height: 45px; text-align: center; background: #fff; border-bottom: none; }
// Write JavaScript here