Mark Gritter avatar

Word search in Angular 2

markgritter

Published: 15 Oct 2018 › Updated: 15 Oct 2018Word search in Angular 2

Word search in Angular 2

I rewrote my word search tool in Angular 2, and added a tiny bit of responsive design. (First version shown here: https://steemit.com/programming/@markgritter/bearwords-word-search-tool) You can try it out at https://bearwords-217805.appspot.com/

Source is at: https://github.com/mgritter/bearwords

The new version seems faster; I'm not sure why. It sorts the words in order of decreasing length, and by default only shows a small number of results, though you can get the whole list.

My goal for this project is basically getting comfortable with modern Javascript (Typescript) and Angular 2, so that I can use them both at work and for my own projects.

To do

  • unit and e2e tests
  • better column output: responsive design makes one long column and one short when it goes down to 2 wide
  • better word styling
  • search for fixed prefix/suffix (an added element in Alphabears 2)
  • allow change in sort order?
  • more modern display aesthetic

Leave Word search in Angular 2 to:

Written by

Vault Advisor at Hashicorp | founder, Tintri | CS PhD dropout | 3x startup nerd | math geek

Read more #programming posts


Best Posts From Mark Gritter

We have not curated any of markgritter's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.

More Posts From Mark Gritter