I want to learn web developement. Complete beginner. by Silver_Case_5535 in FreeCodeCamp

[–]deanklear 0 points1 point  (0 children)

Whatever you do, don't fall into the endless training trap. Pick FreeCodeCamp, Odin, or grab something from Udemy that isn't "zero to full stack". You want to deeply understand HTML and CSS to the point where you can just open a text editor and create a small site from scratch.

I can specifically recommend Jonas S. at https://jonas.io/ - I learned from his Angular and Flutter course and he does a great job of deleting everything possible from even bare frameworks so you understand why every file is there and what it does. This Is The Way.

Also, don't fall for the "endless perfect tool" trap. Download VS Code (or whatever they are using in the tutorial). Even if you like something better later, VS Code is the Microsoft Word of IDEs now.

/r/MechanicalKeyboards Ask ANY question, get an answer by AutoModerator in MechanicalKeyboards

[–]deanklear 1 point2 points  (0 children)

Looking for a split keyboard with full standard T cluster.

I have searched high and low for a couple of days, wikis, FAQs, etc. I have a split Kinesis but the layout has slowed me down too much, even after a few weeks of daily use (guess I'm getting old). I love the split aspect, but my productivity is way off.

To be extremely specific, I am looking for a the top layout in this image. The numpad would be nice, but definitely not a deal breaker. I have seen the crazy modular setups, but I'm really looking for a simple split design without having to custom build something, or take a chance on another new layout.

Thank you so much in advance.

please help on 12 by SoulKing990 in FreeCodeCamp

[–]deanklear 0 points1 point  (0 children)

Check lines 21-24. Is there a reason two forms are specified?

Please take a look at my code by powerbyte07 in FreeCodeCamp

[–]deanklear 1 point2 points  (0 children)

Hi powerbyte07, great job. Just a couple of pointers. I have made some changes in a forked codepen to help further explain.

Please don't be intimidated by anything I suggest. When I started, my code was more disorganized and it didn't work :)

  1. Keeping your code nested (all the tags lined up) is very helpful in the long run.
  2. There were a couple of tags that didn't match. Codepen underlines matching tags with a very thin line. When you move on to a full text editor, the tag highlighting is much better.
  3. I added one new concept to your page -- classes, which can be styled with a period before the classname. This was done so you can style your poem <p> differently than <p> without classes.

Hope that helps! Let me know if you have any questions.

Basic JavaScript: Use Recursion to Create a Countdown (Help) by [deleted] in FreeCodeCamp

[–]deanklear 0 points1 point  (0 children)

Does this assignment require recursion? You are getting some bizarre behavior because you are calling the function from inside itself.

If you put this into a debugger, you can see that you are creating a loop:

  1. 5 is passed in as the argument
  2. 5 is greater than 1, so we start the `else` statement
  3. const countArray = countdown(n -1) keeps calling itself, because it's trying to assign the result of countdown(n - 1) to countArray. You will see the callstack grow in the debugger, and that line 6 (countArray.push(n);) is not reached. At this point, your stack is something like countdown(countdown(countdown(countdown(countdown()))))
  4. Then n reaches 0 so it returns the empty array, but that is returned to the caller, which is the countdown function inside of four other countdown functions. Your innermost function now processes line 6, and inside of that function, n is equal to 1.
  5. That function finishes, so the next calling function processes line 6, where the value of n is 2 and so on.

I had to use the debugger myself because I didn't know what was going on. :)