i want to connect my UI(basic html,css) to my tessel project, that is to control the project from the UI without having to enter the terminal.
to control the project from the UI without having to enter the terminal
To clarify, you want to develop a webpage that can send commands to the Tessel hardware? Or just execute t2-cli commands? Do you have any specific commands in mind?
yes exactly, a webpage that can send commands to the tessel hardware
Tessel can also act as a webserver, check out this tutorial -> http://tessel.github.io/t2-start/webserver.html
That tutorial walks through building a basic server using Node.js http module and serves a webpage that controls the Tessel's onboard LEDs.