Hide HTML element for desktop view

I was just trying to use different html elements between desktop view and cellular view, i was just trying to find a way to add unique html code for desktop views and mobile views.
As of now, it seems i am only able to hide html element in cellular view, but not add unique features between views.

The problem is that my widget will not render properly from screen to screen so i was going to use a slimmer version of the same widget for cellular screens, requiring separate HTML code from screen to screen.

I would assume that it is similar to what I discovered in the collapsible item example. They have “Mobile” and Tablet" so I assume they have Desktop?? Worth a try!

import wixWindow from ‘wix-window’;
if (wixWindow.formFactor === “Desktop”) {
//your code
else (wixWindow.formFactor === “Mobile”)

EDIT - I know my brackets are all a mess but you get the gist