concept course in category blockchain
appears as: course, courses, courses, course

This is an excerpt from Manning's book Blockchain in Action.
Cannot be done by nonchairperson voters
... else if (course_type == "core") { App.contracts.Certification.methods.addCoreCourse(course, grade) .send(option) .on('receipt', (receipt) => { App.courseGrades(course, grade); }) .on('error', (err) => { console.log(err); }); }The snippet shows the call to
addCoreCourseof the smart contract with course number and grade as parameters. When this transaction is confirmed, the grade is saved in the web context for updating the UI. This snippet is the pattern for coding the other three categories of courses. Two data files support the app.js code: the data.json file maintains the user grades for display, and grades.json maps the numeric values of the letter grades. Locate and review these files. You can use JSON format for keeping any data local to the web; this format also maps well with many databases, such as Mongo DB.