This project demonstrates the use of JavaScript to manipulate the Document Object Model (DOM). It includes an HTML structure, CSS for styling, and JavaScript for interactivity.
The repository contains the following files:
- index.html - The main HTML file that provides the structure of the webpage.
- styles.css - The CSS file for styling the webpage.
- script.js - The JavaScript file for handling DOM manipulations.
- assets/ - A directory containing image assets used in the project:
bag.pngbaskets.pngdelete.pngsocks.png
The repository includes a Bash script to automate Git commits:
- Clone the repository:
git clone git@github.com:StephenLegacy/JavascriptDOM.git
- Navigate into the project folder:
cd JavascriptDOM - Run the project by opening
index.htmlin a web browser.
To set up your GitHub connection:
- Configure your Git user details:
git config --global user.name "ExampleUsername" git config --global user.email "examplemail@gmail.com"
- Add your SSH key to GitHub:
cat ~/.ssh/id_ed2551933.pub // example- Copy the output and add it to GitHub under Settings > SSH and GPG keys.
- Test the connection:
ssh -T git@github.com
This project is open-source and free to use.