TechSpiritSS / Terminal-Portfolio

Terminal Style Portfolio made with HTML / CSS / JS
MIT License
62 stars 82 forks source link

Divided script file into subfiles #98

Closed PiXeL99-eng closed 1 year ago

PiXeL99-eng commented 1 year ago

Fixes

Fixes #50 by @TechSpiritSS

Types of changes

Description

script.js file was too lengthy. This PR breaks down script.js into separate JS files. Each JS file contains a specific type of code. The new JS files are created in a new folder "scripts", and exported. The JS files are imported into the main script.js file, and used as required.

Distributions are:- buttons.js eventListeners.js fetchStats.js functions.js -> contains the setup functions getDetails.js themeSetter.js

and the main file where functions are called script.js

This will help in easier code look-ups, fixes and builds.

Preview Link

https://pixel99-eng.github.io/pixel-Terminal-Portfolio/ ## Checklist:
TechSpiritSS commented 1 year ago

Great 🚀