Title: Step 6: Use Komodo Edit and create a JavaScript page
Course: Intermediate Web Programming (25436) > Section: Competency Modules

Open Komodo Edit.  To create a JavaScript page using the Komodo Editor, follow these steps:
1. Creating validation.js page
  1. On the Komodo Edit menu bar, click File, New, New File.
  2. Go back to the menu bar, click Edit, Current File Settings, click Encoding and select UTF-8.
  3. Copy the following code (highlight and copy, don't try to type it).

document.write("<table><tr><td style='font-size:small'>"
+ "<a href=\"http://validator.w3.org/check/referer\"> "
+ "Conformance<br />Checker</a><br />"
+ "<a href=\"http://validator.w3.org/checklink/\" "
+ "onclick=\"window.open(this.href,'_blank');return false;\">Link Checker<a></td>");

document.write("<td><a href=\"http://jigsaw.w3.org/css-validator/check/referer\"> "
+ "<img src=\"http://www.austincc.edu/jscholl/images/vcss.png\" alt=\"Valid CSS!\" height=\"31\" width=\"88\" "
+ "style=\"border: 0px;\" /></a></td></tr></table>")

  4. Paste into the blank page you opened in Komodo Edit.
  5. On the Komodo Edit Menu click File, Save As, Select the ITSE2402 folder in the text area, Enter validation.js in the Save As box, and Select All Files in the Format box.
  6. The validation.js page will be included in your other pages. You will never view this page by itself.