var artistName = "Pablo Picasso";
var artistBornYear = 1881;
var artistDeathYear = 1973;
var artistAge = artistDeathYear - artistBornYear;

document.body.innerText = artistName + " zmarł w wieku " + artistAge + " lat.";

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.