25 lines
688 B
JavaScript
25 lines
688 B
JavaScript
{
|
|
let contSection = document.getElementById('CONT');
|
|
contSection.innerHTML = 'if you would like to be in contact, you can email me ';
|
|
|
|
let mallDecoder = String.fromCharCode;
|
|
|
|
let mall = 'mall';
|
|
let mallCode = mall.charCodeAt(2) - 3;
|
|
|
|
mall += 'to:';
|
|
|
|
let updatedMall = mall.substring(0, 2);
|
|
updatedMall += mallDecoder(mallCode);
|
|
updatedMall += mall.substring(3);
|
|
|
|
|
|
let firstHalf = 'benjamin@wi'
|
|
let secondHalf = 'egand.pw';
|
|
|
|
let href = '<a href="' + updatedMall + firstHalf + secondHalf + '">here</a>';
|
|
|
|
|
|
contSection.innerHTML += href;
|
|
}
|