var measureCRP = function() {
	var span = document.getElementsByTagName('span')[0];
	span.innerText = 'interactive'; // change DOM text content
	span.style.display = 'inline';  // change CSSOM property
	// create a new element, style it, and append it to the DOM
	var loadTime = document.createElement('div');
	loadTime.innerText = 'You loaded this page on: ' + new Date();
	loadTime.style.color = 'blue';
	document.body.appendChild(loadTime);
}
function measureCRP() {
    var span = document.getElementsByTagName('span')[0];
    span.innerText = 'interactive'; // Change DOM text content.
    span.style.display = 'inline';  // Change CSSOM property.
    // Create a new element, style it, and append it to the DOM.
    var loadTime = document.createElement('div');
    loadTime.innerText = 'You loaded this page on: ' + new Date();
    loadTime.style.color = 'blue';
    document.body.appendChild(loadTime);
}
Fix code style issues in sample
Fix code style issues in sample
