Public Library

Plain JavaScript Enumeration App

An example of a simple front-end web app with enumerations built with plain JavaScript

This app, which is accompanied by a tutorial, is the 3rd example app of our incremental sequence of six examples of Plain JS Front-End Web Apps. This app supports the following operations:

  • For playing with the app, you may first want to and then view it with . For observing the internal status and error messages, turn on the JavaScript console.

    This JavaScript front-end data management app takes care of only one object type ("books") for which it supports the four standard data management operations (Create/Read/Update/Delete). It extends the validation app (described in Part 2 of our tutorial) by adding enumeration attributes, but it needs to be extended by adding further important parts of the app's overall functionality, as explained in our other Plain JS Front-End Web Apps tutorials.