how to create a comment box in html and javascript

Solutions on MaxInterview for how to create a comment box in html and javascript by the best coders in the world

showing results for - "how to create a comment box in html and javascript"
Gianluca
27 Jan 2017
1<style>
2#wrapper{
3  display:flex;
4  flex-direction:column;
5  width:fit-content;
6  background-color: rgb(0,0,0,80%);
7  padding:10px;
8  color:whitesmoke;
9  border-radius:5px;
10}
11
12#inner_div{
13  margin-bottom:4px;
14}
15
16#comment-box{
17  background-color: rgb(0,0,0,40%);
18  border-radius:10px;
19  resize:none;
20  color:whitesmoke;
21  padding:7px;
22  outline:none;
23}
24</style>
25
26<div id='wrapper'>
27   <div id='inner_div'>Comment:</div>
28   <textarea placeholder='Type here...' name="" id="comment-box" cols="30" rows="10"></textarea>
29</div>