How can I code a text box for product info?

Hello can anyone help me with this? I want to box this tekst. Code is currently this:

var form = document.querySelector(‘product-info .no-js-hidden’);> > var discount = document.createElement(‘div’);> discount.className = ‘dis-count shopify-payment-button’;> discount.innerText = ‘Buy 2 get 10% additional discount on both!’;> discount.style.marginTop = “10px”;> form.appendChild(discount);

but I cant find how to box the tekst anywhere.

What do you mean by “box” this tekst? Display it in your page or add some border to it?

I want to like put lines around the tekst that form a box so the text stands out from any other tekst

Ah okayy, gotchu. You can add borders. border - CSS: Cascading Style Sheets | MDN (mozilla.org)

Yeah thats it thanks