JavaScript Window screen.width
JavaScript Window screen.width
The width property is used to return the total width of the user screen. It returns width in pixels. It is a read-only property.
Syntax:-
Its syntax is:- screen.width
Return:-
Its return is:- the width of the user screen in pixels