It’s been a while since I worked on these, but I never shared them. FCC Leaderboard Codepen link This was my first React project using an API. It’s indefinitely broken since the API isn’t maintained any more. Rogue like dungeon crawler Codepen link This was kind of fun to make. It’s like a snake game…
Category: FCC
FCC Advanced Front-end Projects
Javascript calculator Codepen link This was hard to get it so that you can’t input invalid button sequences. Future improvements: Model as a state machine Try to make it look like the iOS unlock keypad Pomodoro clock Codepen link The idea is for it to a work timer. I used a div that rotates at…
FCC Intermediate Front-end Projects
Random quote generator Codepen link My version shows funny/scary George W. Bush quotes. I checked all the references before adding. I think this one was intended to use an API, but I just hard-coded the quotes and sources as a big array. I had a background image, but the link had expired since I looked…
FCC ‘Advanced Algorithm Scripting’
After spending all day trying to make a few of these better, I wasn’t able to. I spent most of that time on symmetric difference trying for a different solution. For phone numbers, the hard part was getting the magic regex. For exact change, I couldn’t see a way to consolidate all the while loops….
FCC ‘Intermediate Algorithm Scripting’
I was able to improve a few of these. A regex made spinal case easier; in ‘drop it,’ you can do something similar with a ‘while(pop());’ destructor in c++; in ‘smallest common multiple,’ I switched the GCD function to a Euclidean algorithm from a brute-force one. I think the last one was the most improved;…
FCC ‘Basic Algorithm Scripting’
I thought my solutions for these had been deleted, so I went back to solve them again. About two-thirds of the way through I found out that FCC’s editor stores your code temporarily using your browser. Your accepted solutions, though, can always be found on your home page. Here they are on github. For ‘Falsy…
Ready to go
I’ve never written a blog post before – so this is the first one. I switched off most of the WordPress options because they’re not necessary and I want to keep it simple. I’ll be posting updates on my progress through freecodecamp.com’s exercises and projects. I’m halfway through already. My plan is to put everything…