+ 3

Comment (How to make the following code in HTML, CSS and JAVASCRIPT) (Give it in the form of code)

*********************** * * * * * Comment Posted * * * * * *********************** *********************** * * * * * Comment to be * * post * * * * * *********************** (Post)

3rd Aug 2017, 12:27 PM
Code Master
Code Master - avatar
6 Answers
+ 8
example $(function() { //on below is a event that if #add on clicked and will work $("#add").on("click", function() { var val = $("input").val(); if(val !== '') { var elem = $("<li></li>").text(val); $(elem).append("<button class='rem'>X</button>"); $("#mylist").append(elem); $("input").val(""); } }); });
4th Aug 2017, 12:43 PM
Art456
Art456 - avatar
+ 6
huh?? what do you mean??
3rd Aug 2017, 12:44 PM
Art456
Art456 - avatar
+ 5
use jquery 😌
4th Aug 2017, 12:41 PM
Art456
Art456 - avatar
0
We write the comment in the 2nd box
3rd Aug 2017, 11:57 PM
Code Master
Code Master - avatar
0
When we click the post button
3rd Aug 2017, 11:58 PM
Code Master
Code Master - avatar
0
It will be displayed on the 1st box
3rd Aug 2017, 11:58 PM
Code Master
Code Master - avatar