Philippines: 8-805-4990 | Int’l: +63 (939) 409 7272

Screen Size:

 
window.addEventListener('load', function() { var width = window.innerWidth; var height = window.innerHeight; var viewportSize = 'Viewport Size: ' + width + 'px x ' + height + 'px';var viewportSizeDiv = document.getElementById('viewport-size'); viewportSizeDiv.textContent = viewportSize; });