Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.

Instruction

Render the Token

Assignment:

  1. Add a method called drawHTMLToken() to the Token class using the requirements and guidelines below.
  2. Add a getter method, htmlToken() to the Token class using the requirements and guidelines below.

Requirements for the drawHTMLToken() method

  1. Inside the method, create a div element and save it to a variable.
  2. Append this element to the existi...