- Home
- Table of Contents
- Statement of Authenticity
- Personal Mission Statement
- Elevator Speech
- Education
- Resume
- Work Samples
- Professional Development and Training
- Letters of Reference
- Reference List
- Awards and Accomplishments
- Volunteer History
- Professional Affiliations
- Career Pathing
- DeVry University Computer
JavaScript Code Example
Download Example
Software used: Notepad++
Operating system used: Microsoft Windows 2007
Language used: JavaScript, Cascading Style Sheets (CSS)
The following subsection is a code sample of an asignment given to me to create a Web page with a JavaScript program to display five random quotes from Mark Twain. In order to create this function, I used the MQuote component to display one of the quotes on the Web page. In addition, I converted a Math method, included in JavaScript, for generating random numbers (Rnum=Math.cell(Math.random()*n) and use this command with n set to 5, to select which one of the five quotes to be shown on the Web page. You can download the attached file to view this program/Website.
Operating system used: Microsoft Windows 2007
Language used: JavaScript, Cascading Style Sheets (CSS)
The following subsection is a code sample of an asignment given to me to create a Web page with a JavaScript program to display five random quotes from Mark Twain. In order to create this function, I used the MQuote component to display one of the quotes on the Web page. In addition, I converted a Math method, included in JavaScript, for generating random numbers (Rnum=Math.cell(Math.random()*n) and use this command with n set to 5, to select which one of the five quotes to be shown on the Web page. You can download the attached file to view this program/Website.