User:SmokedSausageFTW/Italic/Bold.js

var str = prompt("Enter text here to get a page with your text on it! Write /Italics to do it with Italics!"); if (str = "/Italics") {

var ital = prompt("Write text here to get it as Italics!"); ital = ital.fontsize("2").fontcolor("#006400").italics; document.write (ital); } else {

str = str.fontsize("2").fontcolor("#006400").bold; document.write (str);

}