I am making an extension in chrome that takes as an input a word and returns the meaning of this word.
I am trying to make a div to my website in order to show the result in it but I cannot see it. Is it positioned incorrectly?
body {
margin: 0;
padding: 0;
background: linear-gradient(to right, #0af, #00FF6C)
}
P {
font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
font-size: large;
font-style: italic;
}
p>input {
height: 15px;
font-size: large;
}
p>div {
display: block;
background-color: green;
height: 50px;
width: 50px;
}
<body>
<p> Write a word :
<input type="text"><br>
<div>hello</div><br>
<button id="sub">Submit</button>
</p>
</body>
