"Silly story generator" assessment

Hi somtougeman,
where you made comment in your code
// i think i am not writing the array well here
try this instead:

var newStory = [
newStory.replace(’:insertx:’,xItem).replace(’:inserty:’,yItem)
.replace(’:insertz:’,zItem).replace(’:insertx:’,xItem)
];

and change for this too

if (customName.value != ‘’) {
var name = customName.value;
storyText= storyText.replace(‘Bob’,name);
}

if (document.getElementById(“uk”).checked) {
var weight = Math.round(300*0.071429) + ’ stones’;
var temperature = Math.round((94-32)/1.8) + ’ centigrade’;

storyText = storyText.replace('94 farenheit', temperature ).replace('300 pounds',weight); 

}