Skip to content

Conversation

@kelbri10
Copy link

@kelbri10 kelbri10 commented Oct 7, 2023

Added 2 JS files, quotes.js and translations.js :
Screenshot of Quotes.js and Translations.js files being added to code

These files hold the quotes and translations. The code is easier to maintain and prevents the main document with the logic, geeksay.js, from becoming too long. This allows for easier iterations in the future.

The below screenshots shows the impact of the refactor, allowing the geeksay.js file to become more readable.
Screenshot of new formatting with require statements importing quotes and translations

…mport into main geeksay for more maintainable code
@kelbri10
Copy link
Author

kelbri10 commented Oct 7, 2023

@swapagarwal I believe these adds will be helpful for future developers who want to add to the repo!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants