It’s my first time learning the software side of the house.
I feel like I learn the mateiral easily I understand what a function is, an array, variable, and etc.
But when it comes to the practical application of actually coding a project my brain cannot figure out the details, almost like a writers block. I don’t know if am being to hard on myself, being as I’ve only been studying a month.
Any body have any suggestions to increase my skills, I understand everything takes practice but It’s discouraging getting stuck on something you think you know. Thank you.
Hello @groovycj_216, welcome to the forums! The biggest piece of advice I can give is to do as many projects as you can, whether from CC, your own ideas, or other places (on the web or in books). These will really help you to expand your ability to problem solve. There are a few good websites out there (which give quite nice code challenges), such as codewars or hackerrank.
One way to tackle projects is to write pseudo-code. Pseudo-code is basically just instructions on how to the task with a paper and pencil, written out in whatever (human) language you prefer. For example, if I was writing a program to see if two strings were the same as each other, my pseudo-code might look like:
take the first string.
take the second string.
if the two strings are the same, then write "They are the same"
otherwise, write "They aren't the same"
Then I could turn that pseudo-code into real code:
let str1 = "My first string";
let str2 = "My second string";
//step 1 and 2 of pseudo code done
if(str1 === str2){
console.log("They are the same");
}else{
console.log("They aren't the same");
}
If you’re learning programming from scratch and it’s only been a month, you’re probably still re-training your brain to think like a programmer and that takes time. Sort of like when you learn a new language it’s usually easier to read other people’s writing and interpret it, then write your own natural sounding prose. One month might not even represent that many hours depending how much time you’re able to spend on this stuff a week.
As for the solution, basically do what codeneutrino suggests. Codewars is super fun (it’ll click, just keep practicing), and start by practicing with pseudo-code. Here are two different tutorials on somewhat more formal approaches pseudocode, if you’re interested.
Thank you for taking the time to reply, I definitely will go through these tutorials
If it helps, think of learning programming like learning any natural language. You know English: How easy is for you to write a 5 page essay? Sometimes we know the building blocks and we still struggle to use them effectively when it comes to original work.
Doing lots of projects work. Also you can look up online articles and tutorials on project planning and management, how the “pros” lay out a plan and go about executing it. That might help you organize your thoughts when working on your projects?
I’ve been learning JS for 6+ months along with HTML, SQL and now ITF+. I can work through the exercises and projects okay but am totally stumped when it comes to the extra credit. I always have to look the solutions up online if they’re posted at all because I can’t think of a solution. Some of the syntax uses methods that may not have been covered or just briefly covered (not nearly to the extent needed to create an answer without an IQ) and usually makes sense after reading it; I just never thought I could do that or thought of that. I pride myself on debugging and working things out but I can never figure out the extra assignments, ever. I always take notes and learn from the solutions I read but I feel I have no business with coding since I can’t solve simple tasks. My latest project is JS - build a library where they ask you to return a random array of songs and I know it’s simple but my mind still draws a blank. Is there any way to build on these problem solving skills and creativity or is it something you either have or don’t?
Your suggestions are very helpful! Thank you! Sometimes I get frustrated because I seem to understand what’s going on while reading the lessons and doing the practice work, but then when it comes time to write on my own…it’s like I draw a blank! More practical practice is what I need to start doing. Thanks again