r/LearnToCode • • Mar 01 '21

Variable Scope for Submit function declared within Document(Ready) function.

3 Upvotes

Hello. I was working on a project where there was a form.

The code looked something like this"

Document Ready Function (

let x = hello

Submit Function (
return x )
)

so i know that if I declare a variable in a parent function, its scope is not global but it is scoped in the child function. In this case maybe it does not map x because when the scope is defined the submit function is not been called yet. Not sure.. hope it makes sense.

Also.. int his repo below.. how can i get the image to hug the text instead of be on the far right.

https://github.com/FaisalRana/Project4

Thanks, love this community!


r/LearnToCode • • Mar 01 '21

Question about string in c#

3 Upvotes

So I'm working through a c# course and the assignment is to prompt the user to enter an angle, then return the sine and cosine for that angle. I've got that down, but I decided I wanted to figure out how to refer back to the angle they enter in the string when it gives the answer. For instance, right now it returns the answer in my string "The cosine is: ". I would like to know how to make it say "The cosine of angle entered is: " and refer back to the angle they entered above.


r/LearnToCode • • Jan 30 '21

Kenzie Academy. Full price breakdown?

3 Upvotes

I know that Kenzie is supposedly legit.

I also know that their model has apparently changed (thanks 2020), from 'repayment only upon securing a job' to 'payment is due at the end of the course'.

But does anyone have their full breakdown/is currently enrolled? I've been all over their site. Not happening.

Please simplify this for me so I don't have to antagonize my advisor/recruiter in case it isn't completely insane.


r/LearnToCode • • Jan 21 '21

3 things before you learn to learn to code

Thumbnail
mishka.codes
3 Upvotes

r/LearnToCode • • Jan 14 '21

Control flow in Python assignment

3 Upvotes

Hi, Python Learners! I'm building out assignments to help people learn Python. Here's the latest one on control flow, which includes conceptual questions and coding questions pertaining to functions, if statements, booleans, and loops. Enjoy!

https://open.openclass.ai/resource/assignment-5ff7aa8ad492f5deb5b37e8b?code=P2jn1VwbZ_3z8Q


r/LearnToCode • • Jan 08 '21

What advice would I give for new beginners in software development?

3 Upvotes
  1. Learn by repeating it:
    From the very beginning, I kept on redoing the work over and over again. Till I could explain it to others in a way they could understand. The reason why, it's because, by the time I get to the very end of a book, I would forget how functions or simple loops work. That did happen to me at first, I was not able to recall the knowledge. So I had to go back and reread the topic again. Use your time wisely and don't rush yourself. Keep covering the same topic multiple times till you get sick of it and reuse it in your next topic.

  2. Successful developers learned their fundamentals:
    I have worked with a number of professionals and to this day, I still encounter developers that make mistakes because of not having a good understanding of fundamentals. I strongly encourage beginners from the very beginning, try to spend as much time as you need to understand the foundation as it will help you in the long term of your career.

  3. Practice by doing walkthroughs:
    The idea behind walkthroughs is for you to read some piece of code and identify the exacted output. Repeating this process weekly will help you to speed up your learning curve plus it will pinpoint what you still need to work on. For this part, I would recommend printing walkthroughs on a piece of paper and write the new value for each variable. If you get the same result as it was expected, that means you have mastered the material and you should proceed to the next material.

These are my top 3 advice for new beginners in software development. This is something I was doing it and it helped me to become a software developer much faster with much fewer knowledge gaps. I hope this can help you to speed up your learning process or it gives you an idea of what you could do instead.

You can subscribe to my youtube channel DEVPOOL as my goal is to help beginners and juniors to succeed in the tech industry.

https://www.youtube.com/channel/UC03vw5F2isFkbJhyEZU5bvg


r/LearnToCode • • Jan 02 '21

Object-Oriented Programming in Python assignment

3 Upvotes

Hi, all! I created a free assignment on Object-Oriented Programming in Python to help you master concepts like inheritance, dunder methods, and generator functions. Please let me know if you have any feedback!

https://open.openclass.ai/resource/assignment-5fed65f80d3430936f9f4931?code=s0v4hcQTb4sOdw


r/LearnToCode • • Dec 20 '20

What to consider when thinking about going into software development.

3 Upvotes

Hey everyone!

If you are completely new to coding, there are few things you have to consider when it comes to choosing a language and where do you want to be as a developer in a year or two.

  1. Have a road map:

    1. The software development field has a massive choice of what you could do. You could be a web developer (frontend, backend, or fullstack). You could be creating different system applications for Windows or Mac. Then you could create apps for Android or Apple using different approaches. You could also do DevOps (a person who works with servers only) and a lot more. So when you go into software development, choose one aspect of programming that sounds like something you want to do and create a road map around it.

  2. Remove all the distractions and focus on your main objective:

    1. Let's say my main objective is to create PC video games. First I need to find out what language should I start with (let's say it's C (99% is it)). The next thing I should be doing is focusing on learning fundamentals and the theory of programming using C. The reason why we are starting with C, it's because it teaches all the basics of coding that you can apply in any programing language at ease. Also to create PC video games, you would use C++ that is build on top of C. So You are already seating yourself up on the right path without been distracted by any other language.

  3. Use the right tools:

    1. For each programming language, we use a specific IDE that helps us (developers) to write software much faster and with fewer headaches. So to create PC video games, you would want to use Visual Studio. Because that is the tool that is been used by professionals to create system applications or PC video games.

The only way you can succeed at something is only by planning ahead.

If you want to get more helpful tips on how you can succeed at becoming a software developer. You can subscribe to my channel as I am helping out beginners and juniors to progress in the tech world a lot faster:

https://www.youtube.com/channel/UC03vw5F2isFkbJhyEZU5bvg


r/LearnToCode • • Nov 17 '20

Design Patterns into in 5min - You are probably already using design patterns but understanding what they are, how to apply them to a project and how to find design patterns for a problem you have when designing a basic project will push you beyond most entry/junior level software developers.

Thumbnail
youtu.be
3 Upvotes

r/LearnToCode • • Nov 03 '20

Loops in Java

Thumbnail
youtube.com
3 Upvotes

r/LearnToCode • • Nov 02 '20

Unemployed musician to Senior Java Developer. Coding Bootcamp Alumni (Makers Academy) 3 years on since finishing gives tips for career changers, what habits to develop, what to do to get your first role, his *new salary range* and other goodies! Every part is timestamped for your convenience too :)

Thumbnail
youtube.com
3 Upvotes

r/LearnToCode • • Oct 27 '20

Podcasts?

3 Upvotes

Hey all,

I’m a beginner here with about 600 hours of coding solely HTML, CSS, and just starting JavaScript.

Is there anything I can listen to in headphones or car that might be helpful? Everything I have is video or coding projects. Wondering if there’s an audio only that would help in any way to listen to AS WELL. I’m trying to jump industries ASAP so anything that can prove helpful in my downtime of driving or doing household chores with my headphones in.

Thanks for any suggestions.


r/LearnToCode • • Oct 18 '20

What recourses are their for learning java?

3 Upvotes

ive been trying to find a good website for a while, but couldnt find any. I have been recommended freecodecamp, however the java courses there had no tutoriel that covered a large portion of java, just tutorials on specific things (like how to do arrays.)


r/LearnToCode • • Oct 15 '20

Affordable Laptop

3 Upvotes

What is the most affordable laptop that I could dedicate to learning to code from scratch? Not looking for an intel stick or anything like that. Just want recommendations on a budget friendly functional laptop please. Sorry if this had been asked before.


r/LearnToCode • • Oct 01 '20

Where to find a mentor

3 Upvotes

I want to find a mentor I’m also willing to pay but I can’t spare a lot


r/LearnToCode • • Sep 11 '20

Hey guys, I often get asked how I started coding and what my journey was like into Software Engineering, so I decided to make a video describing exactly that. I talk about how I started coding, the biggest obstacles I had to face, and the experience I had in University

Thumbnail
youtu.be
3 Upvotes

r/LearnToCode • • Sep 07 '20

I built my first VR game, I outline how I integrated some of the features. If you'd like access to the repository for the code, then I'm happy to share that too - just comment if it's something you'd want to play around with :)

Thumbnail
youtube.com
3 Upvotes

r/LearnToCode • • Aug 31 '20

Learning AMP: Google Maps via AMP-Iframe

Thumbnail
medium.com
3 Upvotes

r/LearnToCode • • Aug 26 '20

Hey guys, one of the things I asked myself most, especially when I started coding was if it mattered which computer I got. Do I get a Windows computer? A Mac? And in all honesty what i've learned is it's probably better to get a mac.

Thumbnail
youtu.be
3 Upvotes

r/LearnToCode • • Aug 25 '20

Respond to an incoming call or SMS with Webhooks, Glitch, Vonage API

Thumbnail
youtube.com
3 Upvotes

r/LearnToCode • • Aug 08 '20

Web Dev YouTube Channel

3 Upvotes

Hey guys i recently started a YouTube channel about every development i try to make high quality content and would love some feedback

[15-Year Old Programmer ](https://www.youtube.com/channel/UCMu3gqtmi_f0u8fA8g6DBgg


r/LearnToCode • • Aug 08 '20

Wondering what's a good site to learn Python

3 Upvotes

Please give recommendations. I started learning HTML and CSS on Codeacademy to get me started coding and programming but I heard their python courses aren't good. Anyone have better sources?


r/LearnToCode • • Jul 14 '20

Python coding on my Twitch stream

3 Upvotes

Hi guys

My next attempt in challenging myself is to start Twitch streaming. I plan to use the stream for general requests while I also learn different topics of Python. Right now I'm planning on separating the topics into two main categories: frameworks & general Python ranging from begineer-intermediate skills.

Frameworks prio: Flask, PyGame (?)

Python stuff: regexp, OOP, effective python, interesting modules I find while browsing the docs.

I'm originally software engineer with a lot of Java but Python for the last year or so. Please comment if there's any specific topic you'd be interested in. Timezone is GMT+2 evenings usually. Stream link: https://www.twitch.tv/heaplevel


r/LearnToCode • • Jun 12 '20

Automating "The Shining"

3 Upvotes

I am self teaching how to code from scratch, in a remote state, during a pandemic. So far things are coming along...