The first step towards knowledge is to know that we are ignorant.”
Richard Cecil, found on BrainyQuote
I decided to take another gander at this problem to look at another perspective. I still haven’t found the solution, but I did think of some tips to help myself get closer to the answer as well as fully understanding it. I don’t want to give any spoilers here in case someone else is completing the challenge. Besides, freeCodeCamp’s curriculum gives you hints in case the user’s unsure of where to go. 😉
- Using the console.log() command to view the values of the example to see if I could find logically correct code
- Studying previous examples to improve my foundational knowledge at the moment
- Considering another method of finding the answer based on the lesson (Boolean)
Tonight may have been a dead end, but it’s really forcing me to think about an answer and understanding it instead of blindly posting something to get through the material… And that’s exactly where I want to be.
Photo by StockSnap on Pixabay.