{"id":19414365,"url":"https://github.com/shoeb1989/javascript_practice","last_synced_at":"2025-08-01T09:05:22.879Z","repository":{"id":246790218,"uuid":"822196553","full_name":"Shoeb1989/javascript_practice","owner":"Shoeb1989","description":"A comprehensive guide to learning JavaScript, covering key concepts, functions, objects, DOM manipulation, asynchronous programming, and advanced topics with practical demos.","archived":false,"fork":false,"pushed_at":"2025-01-25T11:05:11.000Z","size":211,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-25T12:17:52.994Z","etag":null,"topics":["array","asynchronous-javascript","basics-of-javascript","dom-manipulation","es6","functions","objects"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/Shoeb1989.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":"2024-06-30T14:51:15.000Z","updated_at":"2025-01-25T11:05:16.000Z","dependencies_parsed_at":"2024-08-02T16:55:17.414Z","dependency_job_id":"ccda8c85-8954-45a5-aade-e072012c2d8c","html_url":"https://github.com/Shoeb1989/javascript_practice","commit_stats":null,"previous_names":["shoeb1989/javascript_practice"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shoeb1989%2Fjavascript_practice","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shoeb1989%2Fjavascript_practice/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shoeb1989%2Fjavascript_practice/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shoeb1989%2Fjavascript_practice/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Shoeb1989","download_url":"https://codeload.github.com/Shoeb1989/javascript_practice/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240593184,"owners_count":19825939,"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":["array","asynchronous-javascript","basics-of-javascript","dom-manipulation","es6","functions","objects"],"created_at":"2024-11-10T12:37:51.188Z","updated_at":"2025-02-25T03:11:17.772Z","avatar_url":"https://github.com/Shoeb1989.png","language":"JavaScript","readme":"## javascript_practice\n\n# JavaScript Learning Process\n\nA structured approach to learning JavaScript, including essential topics, demos, and resources.\n\n## Learning Steps\n\n1. **Basics of JavaScript**\n   - Syntax, variables, data types, and basic control structures.\n  \n2. **Functions**\n   - Declaration, expression, and arrow functions.\n  \n3. **Objects and Arrays**\n   - Creating and manipulating objects and arrays.\n  \n4. **DOM Manipulation**\n   - Selecting elements, modifying content, and handling events.\n  \n5. **Asynchronous JavaScript**\n   - Understanding callbacks, Promises, and async/await.\n  \n6. **Advanced Topics**\n   - ES6+ features, modules, error handling, and debugging.\n\n## Demos\n\n### 1. Basics of JavaScript\n```javascript\nlet name = \"Alice\";\nlet age = 30;\nif (age \u003e= 18) {\n    console.log(`${name} is an adult.`);\n} else {\n    console.log(`${name} is a minor.`);\n}\n```\n### 2. Functions\n```javascript\nCopy code\nfunction greet(user) {\n    return `Hello, ${user}!`;\n}\nconst greetArrow = (user) =\u003e `Hello, ${user}!`;\nconsole.log(greet(\"Alice\"));\nconsole.log(greetArrow(\"Bob\"));\n```\n\n\n### 3. Objects and Arrays\n```javascript\nCopy code\nconst person = {\n    name: \"Alice\",\n    age: 30,\n    hobbies: [\"reading\", \"traveling\"]\n};\nconsole.log(person.name);\nconsole.log(person.hobbies[0]);\n\nconst numbers = [1, 2, 3, 4, 5];\nnumbers.push(6);\nconsole.log(numbers);\n```\n\n### 4. DOM Manipulation\n\n```html\nCopy code\n\u003c!DOCTYPE html\u003e\n\u003chtml lang=\"en\"\u003e\n\u003chead\u003e\n    \u003cmeta charset=\"UTF-8\"\u003e\n    \u003ctitle\u003eDOM Manipulation\u003c/title\u003e\n\u003c/head\u003e\n\u003cbody\u003e\n    \u003ch1 id=\"title\"\u003eHello World\u003c/h1\u003e\n    \u003cbutton id=\"changeTitle\"\u003eChange Title\u003c/button\u003e\n    \u003cscript\u003e\n        const button = document.getElementById(\"changeTitle\");\n        button.addEventListener(\"click\", () =\u003e {\n            document.getElementById(\"title\").textContent = \"Title Changed!\";\n        });\n    \u003c/script\u003e\n\u003c/body\u003e\n\u003c/html\u003e\n\n```\n\n### 5. Asynchronous JavaScript\n```javascript\nCopy code\nfunction fetchData() {\n    return new Promise((resolve) =\u003e {\n        setTimeout(() =\u003e {\n            resolve(\"Data fetched!\");\n        }, 2000);\n    });\n}\nasync function getData() {\n    const data = await fetchData();\n    console.log(data);\n}\ngetData();\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshoeb1989%2Fjavascript_practice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshoeb1989%2Fjavascript_practice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshoeb1989%2Fjavascript_practice/lists"}