Skip to content

Latest commit

 

History

History
15 lines (9 loc) · 541 Bytes

README.md

File metadata and controls

15 lines (9 loc) · 541 Bytes

Poetry project for students on DHU235

Repo contains both student and instructor files for Assignment 1 of DHU235.

For Instructors

  • Run npm install to install dependencies
  • replace poem.txt with whatever poem you want to tokenize
  • run tokenizer.js to generate a js file with a single global variable poem which contains an array of hierarchical elements to be tranformed into html nodes

For Students

  • modify poem.js to add classes and metadata to individual nodes
  • modify poem.css to change display of the poem