diff --git a/assigment.json b/assigment.json index 39a9251..a22d814 100644 --- a/assigment.json +++ b/assigment.json @@ -1,16 +1,134 @@ [ { "Clipboard": { - "onCopy": "lorenm loraem lorem", - "onCut": "lorem lorem lorem", - "onPaste": "lorem lorem lorem" + "onCopy": "The oncopy event occurs when the user copies an element text or a whole element in the browser", + "onCut": "The oncut event occurs when the user cuts the content of an element.The oncut event is mostly used on elements with type=\"text\"", + "onPaste": "The onpaste event occurs when the user pastes some content into an element. The onpaste event is mostly used on elements with type=\"text\"" } }, + { - "Composition":{ - "onCompositionEnd": "lorem lorem lorem", - "onCompositionStart": "lorem lorem lorem", - "onCompositionUpdate": "lorem lorem lorem" + "Composition": { + "onCompositionEnd": "The compositionend event is fired when a text composition system such as an input method editor completes or cancels the current composition session", + "onCompositionStart": "The compositionstart event is fired when a text composition system such as an input method editor starts a new composition session", + "onCompositionUpdate": "The compositionupdate event is fired when a new character is received in the context of a text composition session controlled by a text composition system such as an input method editor" + } + }, + + { + "Keyboard": { + "onKeyDown": "The onkeydown event occurs when the user presses a key on the keyboard", + "onKeyPress": "The onkeypress event occurs when the user presses a key on the keyboard", + "onKeyUp": "The onkeyup event occurs when the user releases a key on the keyboard" + } + }, + + { + "Focus": { + "onFocus": "The onfocus event occurs when an element gets focus. The onfocus event is often used on input fields", + "onBlur": "The onblur event occurs when an HTML element loses focus. The onblur event is often used on input fields." + } + }, + + { + "Form": { + "onChange": "The onchange event occurs when the value of an HTML element is changed", + "onInput": "The oninput event occurs when an element gets input. The oninput event occurs when the value of an or