implemented terminal on index.html