I'm building a website, and in one portion, I'm building up the pages using JavaScripts createElement attributes. I have everything nice and pretty for a web browser, and it's to my liking for sure, but I need it to scale down for mobile devices and I'm having trouble finding this information online.
I know with CSS this is possible using the @media(max-width: ****) , but is there a javascript equivalent to doing this?
I am not 100% familiar with jQuery as of yet, but I can understand the code well enough, so if there's jQuery code to use for this, I'd be willing to try it,
thanks for any helps!