{"id":20285519,"url":"https://github.com/iftekheraziz/javascript-events","last_synced_at":"2025-03-04T04:10:04.846Z","repository":{"id":170295061,"uuid":"599794339","full_name":"IftekherAziz/JavaScript-Events","owner":"IftekherAziz","description":"JavaScript Events - DOM Manupulation","archived":false,"fork":false,"pushed_at":"2023-02-10T15:22:20.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"Main","last_synced_at":"2025-01-14T08:12:19.373Z","etag":null,"topics":["dom-manipulation","html5","javascript","modern-javascript"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/IftekherAziz.png","metadata":{"files":{"readme":"README.MD","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-09T22:25:31.000Z","updated_at":"2023-05-28T10:21:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"53201073-4dd9-44fa-97c2-c745c00b6d6e","html_url":"https://github.com/IftekherAziz/JavaScript-Events","commit_stats":null,"previous_names":["iftekheraziz/javascript-events"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IftekherAziz%2FJavaScript-Events","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IftekherAziz%2FJavaScript-Events/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IftekherAziz%2FJavaScript-Events/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IftekherAziz%2FJavaScript-Events/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IftekherAziz","download_url":"https://codeload.github.com/IftekherAziz/JavaScript-Events/tar.gz/refs/heads/Main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241780512,"owners_count":20019061,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dom-manipulation","html5","javascript","modern-javascript"],"created_at":"2024-11-14T14:27:14.170Z","updated_at":"2025-03-04T04:10:04.826Z","avatar_url":"https://github.com/IftekherAziz.png","language":"HTML","readme":"1.What is an event on a website?\n- All of the avove\n\n2.Which one is not a keyboard event?\n- keyhug\n\n3.How will you add the purchaseProduct function for clicking on the button?\n- \u003cbutton onclick=\"purchaseProduct()\"\u003ePurchase Now\u003c/button\u003e\n\n\n4.How will you add a click handler?\ndocument.getElementById(‘order’)_____?____(‘click’, function(){ })\n- .addEventListener\n\n5. What is a callback function in javascript?\n- A callback function is a function that is passed as an argument to another function\n\n6. What is the event bubble?\n- The event bubble is the process of an event being triggered on an element and then bubbling up to its parent element\n\n7. How can you access the inner content of a text input field?\n-  Value ( document.getElementById(‘text-field’).value )\n\n8. Select the first element with the selector statement : ( main .title .t1 )\n- document.querySelector(‘main .title .t1’)\n\n9. How to select the parent element of an element?\n- parentNode()\n\n10. How will you get text inside an input tag? event.__?__ ;\n- target.value","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiftekheraziz%2Fjavascript-events","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiftekheraziz%2Fjavascript-events","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiftekheraziz%2Fjavascript-events/lists"}