how to use the width of the screen code example Example: get screen width javascript window.screen.width //or just screen.width