Custom Webpage to Interface with Arduino

Hi all,

Im not sure if this is the right place to post this - sorry.

What I am looking to do is create a webpage which will interface with an Arduino connected to the computer via USB.

Essentially, the web page will have a text box where I can type a string and click 'submit'. This will then update a specific variable on the Arduino to whatever is typed into the text box.

I have found this which may be helpful - but not 100% sure.

Has anyone else ever done this before?

Anyone got any tips / advice?