- Notifications
You must be signed in to change notification settings - Fork0
A zero-install, server-less implementation of remarks
License
NotificationsYou must be signed in to change notification settings
oleks/html-remarks
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is a zero-install, HTML-resident implementation ofremarks.remarks
was originally a DSL,but it proves a hassle to have people install software on their systems.
- Zero install for all: Both teachers and students should be able to open aremarks file in their browser.
- Save-and-resume: Manipulate the DOM rather than the JavaScript run-time. Thisenables saving the file once changes have been made to the document.
- Mobile-first for students: When a remarks file is finalized for student view,this student view should be friendly for view on handheld devices (tablet, ormobile).
- Don't use
var
for non-variables, uselet
. - Don't use
document.createElement
without a wrapper function that henceasserts a type for the created element. - Always use
===
. - Always specify the return type of a function (especially, if it is
void
).