{"id":22959734,"url":"https://github.com/mmabiaa/basic-javascript-programs","last_synced_at":"2026-02-27T17:41:44.617Z","repository":{"id":266857535,"uuid":"899570677","full_name":"Mmabiaa/Basic-JavaScript-Programs","owner":"Mmabiaa","description":"These are some basic JavaScript programs you can clone!","archived":false,"fork":false,"pushed_at":"2025-05-04T13:35:01.000Z","size":25,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-04T14:28:47.661Z","etag":null,"topics":["basic-java-programs","basic-javascript","basic-learning","basic-programming","css","html5","javascript"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Mmabiaa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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-12-06T14:41:43.000Z","updated_at":"2025-05-04T13:35:04.000Z","dependencies_parsed_at":"2025-02-07T17:39:59.291Z","dependency_job_id":null,"html_url":"https://github.com/Mmabiaa/Basic-JavaScript-Programs","commit_stats":null,"previous_names":["mmabiaa/basic-javascript-programs"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Mmabiaa/Basic-JavaScript-Programs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mmabiaa%2FBasic-JavaScript-Programs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mmabiaa%2FBasic-JavaScript-Programs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mmabiaa%2FBasic-JavaScript-Programs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mmabiaa%2FBasic-JavaScript-Programs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mmabiaa","download_url":"https://codeload.github.com/Mmabiaa/Basic-JavaScript-Programs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mmabiaa%2FBasic-JavaScript-Programs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29906591,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-27T17:28:36.873Z","status":"ssl_error","status_checked_at":"2026-02-27T17:28:20.970Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["basic-java-programs","basic-javascript","basic-learning","basic-programming","css","html5","javascript"],"created_at":"2024-12-14T18:28:27.258Z","updated_at":"2026-02-27T17:41:44.588Z","avatar_url":"https://github.com/Mmabiaa.png","language":"JavaScript","readme":"# Basic JavaScript Programs\n\nWelcome to the **Basic JavaScript Programs** repository! This collection contains simple JavaScript programs designed to help beginners understand fundamental programming concepts and improve their coding skills.\n\n## Table of Contents\n\n- [Features](#features)\n- [Installation](#installation)\n- [Usage](#usage)\n- [Examples](#examples)\n- [Contributing](#contributing)\n- [License](#license)\n\n## Features\n\n- A variety of basic programs covering topics such as:\n  - Variables and Data Types\n  - Control Structures (if statements, loops)\n  - Functions\n  - Arrays and Objects\n  - DOM Manipulation\n- Clear and concise code with comments for better understanding.\n- Easy to follow examples that can be run in any JavaScript environment.\n\n## Installation\n\nTo get started with the Basic JavaScript Programs, follow these steps:\n\n1. Clone the repository:\n`git clone https://github.com/mmabiaa/Basic-JavaScript-Programs.git`\n\n\n2. Navigate to the project directory:\n`cd Basic-JavaScript-Programs`\n\n\n3. Open the HTML files in your preferred web browser or use a code editor with a live server extension.\n\n## Usage\n\nEach program is contained within its own file. You can run any of the JavaScript files by including them in an HTML document or executing them in a JavaScript console. Here’s how you can include a JavaScript file in an HTML document:\n```\n\u003c!DOCTYPE html\u003e \u003chtml lang=\"en\"\u003e \u003chead\u003e \u003cmeta charset=\"UTF-8\"\u003e \u003cmeta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"\u003e \u003ctitle\u003eJavaScript Program\u003c/title\u003e \u003cscript src=\"path/to/your/javascript-file.js\"\u003e\u003c/script\u003e \u003c/head\u003e \u003cbody\u003e \u003ch1\u003eWelcome to My JavaScript Program\u003c/h1\u003e \u003c/body\u003e \u003c/html\u003e\n```\n## Examples\nHere are a few examples of what you can find in this repository:\n\nHello World: A simple program that prints \"Hello, World!\" to the console.\n```\nconsole.log(\"Hello, World!\");\nFactorial Calculation: A function that calculates the factorial of a number.\ntext\nfunction factorial(n) {\n    if (n === 0) return 1;\n    return n * factorial(n - 1);\n}\nconsole.log(factorial(5)); // Output: 120\n```\n\nArray Manipulation: Demonstrating how to add, remove, and iterate through arrays.\n```\nlet fruits = ['apple', 'banana', 'orange'];\nfruits.push('grape'); // Add an element\nfruits.splice(1, 1); // Remove 'banana'\n\nfruits.forEach(fruit =\u003e {\n    console.log(fruit);\n});\n```\n\n## Contributing\nContributions are welcome! If you have suggestions for improvements or new programs to add, please [view CONTRIBUTION FILE](CONTRIBUTION.md).\n\n## License\nThis project is licensed under the MIT License - see the [LICENSE file](LINCENSE.md) for details.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmmabiaa%2Fbasic-javascript-programs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmmabiaa%2Fbasic-javascript-programs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmmabiaa%2Fbasic-javascript-programs/lists"}