0

Comment box

WHAT IS THE CODE TO CREATE A COMMENT BOX FOR A WEBSITE?

27th Apr 2020, 9:39 AM
Eashan Wantu
Eashan Wantu - avatar
2 Respuestas
+ 1
That we won't give you ,show your attempt and put your efforts and then come up with any specific query regarding that
27th Apr 2020, 9:41 AM
Abhay
Abhay - avatar
+ 1
There's no specific code for that ^^ Neither as semantical html5 tag nor than front-end / back-end coding, as there could be differents ways wich relie among other things on wich server side language and framework you're using... Roughly, the principle is less or more to handle a <textarea> content with JS with AJAX request to store user post (comment) in a database on server side... once the update is confirmed, you can update the page content with the new created post (on user side, still with JS, obviously, or alternatively by refreshing the page with the server response to the submited post if you want to avoid XMLHttpRequest stuff coming with AJAX requests).
27th Apr 2020, 1:01 PM
visph
visph - avatar