Northcentral Technical College Introduction To Programming
10-152-310
Introduction to Programming with JavaScript NTC 10-152-310

Learning Plan 5 5.1 Lab 6

# 5.1 Lab 6

#### File: /Learning Plan 5/5.1lab6.html

### Student

- Name:
- Section:
- Email:

### Lab Steps

- Open this file in Firefox and Microsoft Visual Studio
- Add your name, section, and email
- Open the file `/Learning Plan 5/jsFiles/5.1lab6.js` in Microsoft Visual Studio
- Refer to this page for the details about the Student Enrollment Records Set.
- Create a JavaScript program in the lab JavaScript file that displays student enrollment data on the page.
- Use the function `openStudentEnrollmentRecords()` to open this record set.
- Display just the student number and the student name with these functions:
  - `getStudentNumber()`
  - `getStudentName()`
- Use the `readNextRecord()` function as the loop conditional.
- Study the looping code in lab 6 if you need an example to follow.
- Display the data as shown in the Example Output. Just show all records instead of the few in the example.

### Example Output

    101 Joe Coyne
    102 Fred Hensen
    103 Ethel Roselle
    104 Barney Curry
    ...

### Your Output: