Skip to content

question from mendatory handson in csd program (Cognizant)

Notifications You must be signed in to change notification settings

diptnc/csd-feedback-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

csd-feedback-calculator

question from mendatory handson in csd program (Cognizant)

Get the feedback details from the user and add it to an array. Display the feedback details in the format as shown in the screenshot.

Concept covered: functions, arrays, control structures and loops, String

Problem Specification:

File name should be index.html. Create an external script file named script.js. Use h2 tag for the title of Feedback Details. Display all the feedbacks followed by a new line separator after printing the above title. Refer Sample screenshot for more specifications. Include the script file in html page. The "Add Feedback" button will add the feedback details to an array. The "View Feedback" button will display all the feedbacks (multiple feedbacks) in the format as shown in the screenshot in the result div. Include the below functions/methods in the java script file Function Name

Description

addFeedback()

It is used to add the feedback details to an array. After clicking the Add Feedback button, clear the text area and display the response message as "Successfully Added Feedback Details!".

displayFeedback()

It is used to display the feedback details. After displaying the feedback details clear the array.

[Note:Strictly adhere to the specifications given in the screenshot. Use the same id names for all the corresponding fields specified.]

About

question from mendatory handson in csd program (Cognizant)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published