Code Challenge #4: Barking Dog Method with JavaWelcome back! I'm currently learning Java, so this exercise is from the course I'm taking. This one is simple, but I thought it was worth writing about since I'm learning a new language! The Challenge We have a dog that likes to bark. We need to wake...Sep 21, 2021 · 3 min readmelvincayas.hashnode.dev
Code Challenge #3: Two Sum from LeetCodeWelcome back! Today's challenge is the Two Sum problem from LeetCode. I did this with JavaScript, but I may redo this in the future since I'm currently learning Java! The Challenge Given an array of integers nums and an integer target, return the ind...Sep 19, 2021 · 3 min readmelvincayas.hashnode.dev
Code Challenge #2: Reversing Words with 5 or More Characters in a StringWelcome back to my Code Challenge series! Today's challenge is from the Web Developer Bootcamp Discord group, passed on from Codewars. I hope you enjoy it as much as I did! The Challenge Write a function that takes in a string of one or more words an...Aug 16, 2021 · 4 min readmelvincayas.hashnode.dev
Code Challenge #1: Removing Duplicate Words from a StringWelcome to my new series, Code Challenge! In this series, I'll be doing challenges that I randomly see on blogs or Discord groups. I enjoy doing them because I learn so much! I found today's challenge from the Web Developer Bootcamp Discord group. Th...Aug 14, 2021 · 3 min readmelvincayas.hashnode.dev
Code Fix #3: Toggling Classes with querySelectorAllWelcome back! In this article, I'll be going over toggling classes with querySelectorAll. Background The person was given the HTML and CSS below: <!-- index.html --> <ul> <li>Hello</li> <li class="highlight">Hello</li> <li>Hello</li> <li clas...Aug 14, 2021 · 2 min readmelvincayas.hashnode.dev