Skip to content

Latest commit

 

History

History
executable file
·
23 lines (16 loc) · 1.3 KB

README.md

File metadata and controls

executable file
·
23 lines (16 loc) · 1.3 KB

BartBoard

In this exercise you will create a "BartBoard". It is the blackboard in the Simpson intro that we are trying to create.

It sould work as follows: When the mouse button is pressed down over the black board a text should appear letter by letter. When the sentence is written once, it should start over once again.

You should be able to have multiple bartboards on the webpage at the same time and they should work independently of each other.

bartboard.png

Make sure that the board stops writing when you release the mouse button. We should be able to release the mouse button anywhere on the page.

Extended features

As a extended feature, try to build the BartBoard as a Custom Element so that you can add it to your page using the tag "<bart-board>". Try to move styles into the custom element by using its shadow dom. By doing this you need to be able to tell the surroundings when the board is full using custom events.

Repo exercise-bartboard
Level A
Keywords DOM, event, timers, (custom elements, custom events)
Solutions Recording Part 1 (DOM)
Recording Part 2 (Custom Elements)