Question

USE JQUERY to make the form work and add a card to the list below the...

USE JQUERY to make the form work and add a card to the list below the form

<div class="card w-100">

    <h3 class="card-header">Add a comment</h3>

    <div class="card-body">

        <form>

            <div class="form-group">

                <input id ="name" type="textbox" class="form-control" placeholder="Name"/>

            </div>

            <div class="form-group">

                <textarea id="comment" rows="4" cols="60" class="form-control" placeholder="Comment"></textarea>

            </div>

            <div class="form-group">

                <button id ='button' class="btn btn-primary" >Post</button>

            </div>

        </form>

    </div>

</div>

<div id ="board">

<div class="card w-100 mt-3">

    <div class="card-header">

        <div class="row">

            <div class="col-md-11">

                <h4>name test</h4>

            </div>

            <div class="col-md-1">

                <button class="delete_btn" class="btn">X</button>

            </div>

        </div>

    </div>

    <div class="card-body">

        <p>This is a comment</p>

    </div>

</div>

</div>

<script src="http://code.jquery.com/jquery.min.js"></script>

<script src="comment.js"></script>

</script>

</body>

</html>

0 0
Add a comment Improve this question Transcribed image text
Answer #1

use JQUERY to make the form and add a card to the list below the form

Add a comment

name

comment

post

name text

x

This is a comment

Add a comment
Know the answer?
Add Answer to:
USE JQUERY to make the form work and add a card to the list below the...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT