How to draw a box in html

How to draw a box in html
0

#1

I am trying quote generator project can you guys help me with how i can create a box


#2

Are you saying a box for displaying quotes?
if so,
here it is

HTML

<div class="box">
  <p class="quote"></p>
  <p class="author"></p> 
</div>

CSS

.box {
  max-width: 300px; /* or any other value */
  height: 300px; /* or any other value */
  border: solid 2px #000;  /* border so you can see the box */

don’t forget to inject the values with javaScript