For this exercise you will create a simple web application that does the following:
- Allow the user to enter the URL of a public webpage.
- From the browser, fetch the page and display the raw (not rendered) source to the user.
- When the user clicks on the name of an HTML element in the displayed source, highlight every element in the displayed source with that name (e.g. clicking on an a tag causes that and all other a tags to be highlighted).
The exercise should generally not take more than 2 or 3 hours, although you're free to take as much time as you'd like to work on it. If you don't finish within a few hours, that's okay; submit what you've got anyway.
For the front end, please use HTML and JavaScript. You can use whatever back end technology you want as long as it can be executed in a Unix environment.
To submit the exercise,
- Deploy the application to some public location where we can interact with it (e.g. Heroku or AWS).
- Push the code to a private GitHub or Bitbucket repository. We'll provide usernames for you to give access. We cannot accept email attachments or file sharing links.
Please send code that you are proud to show us!