Spitball
KPCKevin Powell - Community
•Created by Spitball on 4/26/2023 in #os-and-tools
VS Code Snippets -- why do I have 2-3 for the same thing?
3 replies
KPCKevin Powell - Community
•Created by Spitball on 1/25/2023 in #front-end
Word Game failing auto testing
I have been racking my head against the wall trying to understand why I am failing these auto tests when the code seems to work fine manually.
The errors are saying my code isn't handling these words appropriately, but when played the game updates the win/loss counters, the underscores, and the incorrect letters as necessary. It also resets upon completion and stores the previous word as needed....I am at a loss.
Here is a pastebin for my code: https://pastebin.com/vhEZxQh6
Here is a pastebin for the mocha tests file:
https://pastebin.com/gFSEuCKG
1 replies
KPCKevin Powell - Community
•Created by Spitball on 1/10/2023 in #front-end
How to make JS stop failing mocha automated tests. Works fine when tested manually.
Attempting to make a basic JS function that greets the user, asks for their age, and determines birth year based on if they have already had their birthday during the current year or not.
This IS for an assignment, so I am not looking for direct answers or any sort of cheating/unethical assistance, but what I am looking for is some direction. I don't know how to proceed to get this js to pass the mocha auto tests.
JS Pastebin: https://pastebin.com/Q2Wk1Kcy
Mocha Testing Screenshot: https://i.imgur.com/BSnTQCa.png
1 replies
KPCKevin Powell - Community
•Created by Spitball on 11/11/2022 in #front-end
Issue With Grid -- Body Selector working, but the attached class will not.
5 replies
KPCKevin Powell - Community
•Created by Spitball on 9/28/2022 in #front-end
CSS Flex Layout seems...disorganized and could be done better.
9 replies
KPCKevin Powell - Community
•Created by Spitball on 9/21/2022 in #front-end
Organizing and Centering Sidebar content.
3 replies