I'm trying to create and make a div into a document where I can write & each time I click a keyboard key ":" a window appear close to it like a side menu . I can't seems to find anything on google regarding the popping window relative to the keyboard key text.. in pure vanilla JavaScript if possible I need help i been stuck with this for over a week....
.panel {
transform: scale(1);
display : none;
position: absolute;
border-radius: 3px;
width: 450px;
box-shadow: 0em 0em 0.5em rgba(0, 0, 0, 0.24);
min-height: 73vh;
background-color: rgb(255, 255, 255);
}
<div class="zzz"
style="border: red 1px solid;margin:0 auto ;width:400px; height:400px;"
spellcheck="true" placeholder="Type '/' for commands"
data-root="true" class="notranslate" contenteditable="true"></div>
<div class="panel"></div>
P/S . it's something quit like when you write ":" on motion and it show up Emoji pop up panel