Crear una pagina web completa
function createWebPage(title, content){ let header = "<!DOCTYPE html>\n<head>\n<title>" + title + "</title>\n</head>\n<body>\n<h1>" + title + "</h1>\n" let footer = "\n</body>\n</html>" return header + content + footer } createWebPage("My personal web page", "This is my personal page.")