DAY3: Viewport Relative unit

Q. what is View Port

The Viewport is the framed are in the browser window where the webpage is visible. This excludes the browser address bar, toolbars, and status bar.

vh -- One percent of the viewport height.

vw -- Onepercent of the viewport width.

vmin --One percent of the smaller dimension,height or width.

vmax -- One percent of the larger dimension, height or width.

vmin30

vmin30 means 30% of whowever lower usually height in monitor and width in phone

JAVASCRIPT

Ques. How to change page title using javascript

Ans.

document.title = "My New title";

open developer option and use this code.