Instant search for William Shakespeare's sonnets.
As you enter text in the input box at the top of the page, sonnets containing the text will immediately be displayed.
Search is not case sensitive. Note that a minimum of two characters must be entered. Line numbers are shown to the right of each line.
Click any line to display the whole sonnet from which it is taken.
Click on a sonnet to display a Quarto 1 facsimile of it at the University of Victoria Internet Shakespeare Editions website.
The sonnets are stored in JSON format in json/sonnets.js.
The first time the app is first opened, the JSON is parsed and the sonnets are stored locally in a Web SQL database.
Whenever query text is entered or altered, the database is queried and any results are formatted and displayed.
Please send bug reports, comments or feature requests to email@example.com.