how can i write my own code for accelaratometer for absolute beginner!!and also can i see the real time data of ruvvi tag in mobile and web ide at the same time?
The Ruuvi firmware development code is at https://github.com/ruuvi/ruuvi.firmware.c/ . You’d need to enable to accelerometer first in first out -buffer, read the data from buffer and encode it on messages and send the messages out with Nordic UART Service.
On receiver side you’d need to implement parsing and plotting the data, the whole system is going to be pretty complex and there’s going to be a lot of work.
What do you want the accelerometer to tell you?
see additional information at https://github.com/ruuvi/ruuvitag_fw/wiki/Accelerometer-:-Ruuvi-Tag--movement-and-orientation