Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jmgogo/basic-js
A repository to practice JavaScript fundamentals.
https://github.com/jmgogo/basic-js
javascript js node node-js
Last synced: about 2 months ago
JSON representation
A repository to practice JavaScript fundamentals.
- Host: GitHub
- URL: https://github.com/jmgogo/basic-js
- Owner: jmgogo
- License: mit
- Created: 2024-02-12T00:56:23.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-02-22T02:51:22.000Z (10 months ago)
- Last Synced: 2024-09-21T01:33:45.770Z (3 months ago)
- Topics: javascript, js, node, node-js
- Language: JavaScript
- Homepage:
- Size: 74.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Basic JavaScript
Foreword
A Repo to practice JavaScript fundamentals in a sandbox environment.
Report Bug
·
Request Feature
## Table of Contents
- [Basic JavaScript](#basic-javascript)
- [Table of Contents](#table-of-contents)
- [About](#about)
- [Prerequisites](#prerequisites)
- [Getting started](#getting-started)
- [License](#license)## About
This repository is a sandbox environment to practice JavaScript. It includes a [Development Container](./.devcontainer) (or Dev Container for short) built IAW the [dev containers specification](https://containers.dev/implementors/spec/). It runs on Debian Bookworm with Node.js, git for version control, and several extensions for Visual Studio Code.
## Prerequisites
To start, you need to have Docker Engine and Docker Compose on your machine. You can either:
* Install Docker Desktop which includes both Docker Engine and Docker Compose
* Install Docker Engine and Docker Compose as standalone binariesAdditionally, this devcontainer is meant to work on Visual Studio Code. You should have it installed along with the [remote development pack](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.vscode-remote-extensionpack) to enable the IDE's devcontainers functionality.
## Getting started
Open Docker Desktop to run the Docker daemon, a background process that manages and coordinates Docker containers on your system. On VS Code, start the development container by running `Dev Containers: Rebuild and Reopen In Container` in the command palette. It can be accessed with the keyboard shortcut `ctrl + shift + P` on your keyboard. Doing so will start the build process for the devcontainer, and Visual Studio will establish a remote connection to it.
The [JavaScript folder](./js/) includes several scripts that can be run via node. For example:
```JavaScript
node js/rockPaperScissors.js
```Alternatively, Some JS files are linked to a basic user interface that can be accessed via [html files](./html/).
## License
Distributed under the MIT License. See `LICENSE` for more information.