Question: Write ONLY the JQUERY code to develop a web application to add functionality to a personal dictionary webpage that allows a user to manage an
Write ONLY the JQUERY code to develop a web application to add functionality to a personal dictionary webpage that allows a user to manage an entry list of terms and definitions.
i When the page loads, there are no dictionary entries on the page.
ii There is a text input with id #term for a user to type a term and a text area input with id #definition for a user to enter the corresponding definition.
iii. If the user clicks the "Add Entry!" button, the current word and definition should be added to the list of current dictionary entries if both the term and definition input areas are nonempty.
iv Whenever a new entry is added to the entry list, both term and definition input areas should be cleared. Nothing should happen if either the term or definition fields are empty.
v Each entry should be added as a single item to the #entries list in the format TERM: DEFINITION, replacing TERM with the value typed in the term input box and DEFINITION with the value typed in the definition text area.
vi Whenever there are dictionary entries in the #entries list, #currententries should be visible, otherwise, it should be hidden
DefineIt
Current dictionary entries:
bikotugic: Relating to or eharacterized by the desire to travel.
migrate. or wander
shallop: a light salling boat used chiefly for coastal tishing
uroboros: w circular symbol depicting a snake or a dragon swaltowing its tuit. intended as an emblem of wholeness or infinity
DefineIt:
lerin:
Detinition:
Add Entry:
Current dictionary entries:
oikofugic: Relating to or characturized by the desire to travel, migrate, or wander
shallop: a light sailing boat used chiefly for coastal tishing
uroboros: a circular symbol depieting a snake or a dragon swallowing its cuil, intended as an emblem of wholeress or intinity
zetetic: proceeding by inquiry or investigation
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
