© 2021 Rico A.R. Picone, All Rights Reserved
A bük
The persistence of fill-in-the-blanks, “quiz” results, and markup depend on two technologies.
Browsers allow a webpage to store a small amount of content locally in what is called localStorage
. This is not a cookie, which is mostly read server-side—localStorage
is stored and read locally.Here’s a SO answer that explains.
Büks persist your fill-in-the-blanks and quiz results by saving them to your localStorage
.
Hypothesis is a cool open project for collaborative (and personal) annotation of webpages. It is integrated into büks and can be used on non-bük pages as well. To get started, all you need is a free account. (You can also add it as a browser extension for use across the web, but this isn’t required for a bük).
The short answer is: Hypothesis-based annotations (highlighting and comments) follow you when you log in from anywhere, but for now fill-in-the-blanks and quiz answers won’t.Technically you can manually export/import your localStorage
yourself, but it’s a little tricky.
However, fill-in-the-blanks and quiz answers do persist locally on your machine for a long time (years).
Coming soon is the bükey feature for portability, so stay tuned!
This is a bük! See the little icon hovering on the upper-right of this chapter? Click it to toggle the video’s visibility.
Now you see the video lecture for this chapter! Play it and follow along to see the features demonstrated.
Ok, here we ! Click in the blank and type in what the video says.
And now here’s something fun—refresh the page and your entry !
Quizzes are multiple-choice and either one-answer or multiple-answer. Consider the following one-answer version.
Which of the following is always red?
Now whenever you’re on this page, just the “revealed” text is visible. You can click the revealed text to view the original questions and change your answer if you like.
This is where Hypothesis comes in. In the far upper-right corner of the page, click the arrow to reveal the Hypothesis sidebar. Click Sign Up
to get an account if you haven’t yet done so. Once you have an account, click Login
.
It may be worth checking out the Hypothesis Quick Start Guide for Students and Annotation Tips for Students.
Once you’re logged in, you can start highlighting by selecting text and clicking Highlight
in the popup menu.
Hypothesis highlights and the comments described in the next section can be posted either publicly, privately, or in a private group.
Comments are called “Annotations” in Hypothesis. We already saw that the popup menu for selected text had the option to Annotate
as well.
Clicking Annotate
reveals a text box for entering rich text, hyperlinks, tags, images, math, etc!
Consider checking out how to write nice math in Formatting Annotations with LaTeX.
Coming soon is a feature that will allow you to bring your bük fill-in-the-blank and quiz results from localStorage
across browsers and computers.
We have plans to open-source it, but it’s not yet ready—hopefully soon!