title: Styling a div based on the flex wrap property using javaScript
body: <p>A created a function that renders buttons depending on how many data gotten from database.</p>
  <p>I want to use js  to set the style the button container differently,</p>
  <p>especially setting property of of the button container to flex direction to column when it starts wrapping,</p>
  <p>Since the website can have  many buttons.</p>
  <p>Is there a way to use javascript to check for the flexwrap property of the button container.</p>
  <p>I tried this code but it is returning an empty string
  Console.log (btnContainer.style.flexWrap)</p>