Create an HTML form that accepts the following inputs from a user: Author Name Book Title Book status Book Description
All details are shown inside the file (please follow the required steps carefully)
Requirements: 00
Question One
Create an HTML form that accepts the following inputs from a user:
Author Name
Book Title
Book status
Book Description
Write a PHP file that displays the following:
Author Name
Book Title
Book Description
Important Notes:
You should only validate that all received data are not empty before processing them.
The Book Title should be colored green if the user selects New for Book Status. Otherwise, it should be colored red.
Include the screenshot of the webpage output as a part of your answer.
Question Two
Giving the following HTML form code:
<!DOCTYPE html>
<html>
<head><title>Comment</title></head>
<body>
<h1>Your Comment:</h1>
<form action=”commentProcess.php” method=”post”>
<label for=”username”>Username:</label>
<input type=”text” name=”username” id=”username”>
<br><br>
<label for=”comment”>Comment:</label>
<textarea name=”comment” id=”comment” cols=”30″ rows=”10″></textarea><br><br>
<input type=”submit” value=”Send”>
</form>
</body>
</html>
Write a PHP file (commentProcess.php) that displays all input from a user and the total number of characters written in the comment.
Important Notes:
You should validate that all received data before processing them as follows:
Data should not be empty.
The number of characters in the Comment should be less than or equal to 100 words.
You should display an appropriate error message for each violation.
Include the screenshot of the webpage output as a part of your answer.
Collepals.com Plagiarism Free Papers
Are you looking for custom essay writing service or even dissertation writing services? Just request for our write my paper service, and we'll match you with the best essay writer in your subject! With an exceptional team of professional academic experts in a wide range of subjects, we can guarantee you an unrivaled quality of custom-written papers.
Get ZERO PLAGIARISM, HUMAN WRITTEN ESSAYS
Why Hire Collepals.com writers to do your paper?
Quality- We are experienced and have access to ample research materials.
We write plagiarism Free Content
Confidential- We never share or sell your personal information to third parties.
Support-Chat with us today! We are always waiting to answer all your questions.
