Hi Everyone,
I have moved ahead a little and are attempting the advance algorithm scripting challenges. Most if not all the algorithms are difficult and find myself wanting to stop and not do this anymore, but I have this burning desire to finish not only this, but the entire full stack path. I have copied other peoples work to see if I can reproduce the work and some I see what has been done and can wrap my head around it and move on.
I’m not sure if we are allowed to post answers here so I won’t, but I just found two ways to answer “validate a us number”. I’m a little confused so I will work through https://github.com/freeCodeCamp/freeCodeCamp/wiki/JS-Regex-Resources.
When I looked at the problem my first thought was a simple if statement, maybe simple is the wrong word. My question could a if statement be a possible solution? I not looking for the answer more whether or not it is possible, I want to try and get to the solution myself.
Any feedback is appreciated.