4 answers
Asked
467 views
How do get better at JavaScript?
How can I get better at JavaScript in my last 2 years of Highschool so if I get hacked I can use JavaScript against them and keep my things secure.
Login to comment
4 answers
Updated
Rafeh’s Answer
Here's a secret that I believe will greatly help you on your journey: the key is to simply start building stuff! Embrace your passion and create something you genuinely care about and want to use. This will make the process both enjoyable and practical. Remember, practice truly is the best way to learn, so challenge yourself and enjoy each step along the way.
For instance, I once worked on a menu and cart solution in JavaScript where I added items and adjusted the cart accordingly. It wasn't going to be used, but it allowed me to practice writing code and hone my skills. Here are some exciting ideas to spark your creativity: a random meal generator, a mood calendar, a double nose flow field, a Pokedex, a search bar, a responsive sidebar menu, or even a random joke generator!
Stay encouraged, and remember that the more you build and practice, the more you'll learn and grow as a developer. Keep up the fantastic work, and soon enough, you'll be amazed by your own progress! Happy coding!
For instance, I once worked on a menu and cart solution in JavaScript where I added items and adjusted the cart accordingly. It wasn't going to be used, but it allowed me to practice writing code and hone my skills. Here are some exciting ideas to spark your creativity: a random meal generator, a mood calendar, a double nose flow field, a Pokedex, a search bar, a responsive sidebar menu, or even a random joke generator!
Stay encouraged, and remember that the more you build and practice, the more you'll learn and grow as a developer. Keep up the fantastic work, and soon enough, you'll be amazed by your own progress! Happy coding!
Updated
Jesse’s Answer
Javascript is a multi-faceted language that is primarily used to write code for web browsers, although server-side programming using the Node.js runtime has become very popular in the last decade. It doesn't really help to "avoid getting hacked" or to "use it against the hackers". To keep yourself and your data safe online you need to establish good digital safety practices such as:
1. Use strong passwords and enable two-factor authentication. This will help prevent the likelihood that someone can guess your password, or if someone has your password that they will be able to access your account.
2. Watch out for social engineering: Be cautious when sharing personal information online or over the phone. Hackers often use social engineering techniques to manipulate people into revealing sensitive information, such as mother's maiden name, etc.
3. Be cautious with emails, attachments, and text messages from people you don't recognize. Avoid opening suspicious emails or downloading attachments from unknown sources. Phishing emails are a common tactic used by hackers to trick users into revealing sensitive information or installing malware.
In any case, becoming proficient in JavaScript takes time like anything else- stay patient and persistent, and continue to challenge yourself to keep growing as a developer. See the next steps for some suggestions on how to improve your knowledge
Learn the basics: If you're a beginner, start by learning the fundamentals of JavaScript, such as variables, data types, loops, conditionals, functions, and objects. You can find numerous online tutorials, videos, and courses that cover these topics.
Practice regularly: Like any skill, practice is key to improvement. Set aside dedicated time to work on small coding exercises, solve coding challenges, or build mini-projects. Websites like LeetCode, HackerRank, and Codewars offer coding problems of varying difficulty levels to help you hone your skills.
Understand the DOM: The Document Object Model (DOM) is crucial for web development, as it allows JavaScript to interact with HTML and CSS. Learn how to manipulate the DOM, add event listeners, and create dynamic web pages.
Study popular libraries and frameworks: Once you're comfortable with JavaScript fundamentals, explore popular libraries and frameworks like jQuery, React, Angular, and Vue.js. These tools can help you develop more complex web applications and expand your skillset.
Read documentation and explore APIs: Learn to read official documentation, as it provides valuable information and examples for using various JavaScript features. Familiarize yourself with popular APIs like Fetch, Axios, and WebSockets to enhance your web applications' functionality.
1. Use strong passwords and enable two-factor authentication. This will help prevent the likelihood that someone can guess your password, or if someone has your password that they will be able to access your account.
2. Watch out for social engineering: Be cautious when sharing personal information online or over the phone. Hackers often use social engineering techniques to manipulate people into revealing sensitive information, such as mother's maiden name, etc.
3. Be cautious with emails, attachments, and text messages from people you don't recognize. Avoid opening suspicious emails or downloading attachments from unknown sources. Phishing emails are a common tactic used by hackers to trick users into revealing sensitive information or installing malware.
In any case, becoming proficient in JavaScript takes time like anything else- stay patient and persistent, and continue to challenge yourself to keep growing as a developer. See the next steps for some suggestions on how to improve your knowledge
Jesse recommends the following next steps:
Updated
Allisson’s Answer
Hello, Sebastian!
From reading your question, I think we can break them into two different matters, as one not necessarily relates to the other.
Getting hacked
What I recommend is to take preemptive actions instead of reactive ones. Creating accounts with secure passwords (use a password manager), paying attention to what you click in your email inbox and which website you enter are a few examples of an extensive list.
I'm not sure if I understood what you meant about using JavaScript to keep yourself secure from hackers, but if you have a website, for example, you can use it to sanitize any data sent by the user (text inputs, file uploads, etc.) both in the front-end or back-end (with node.js).
Now, using JavaScript against a hacker that hacked you isn't something I'd recommend. Just keep yourself secure and aware of possible scams!
Getting better at JavaScript
There are a lot of good free resources out there, such as StackOverflow, YouTube and sites like freeCodeCamp where you can learn and improve on coding! Also, there are some great not-so-expensive resources like Coursera, Code Academy, Udemy and Front-end Masters.
I hope my answer has helped you a little bit :)
From reading your question, I think we can break them into two different matters, as one not necessarily relates to the other.
Getting hacked
What I recommend is to take preemptive actions instead of reactive ones. Creating accounts with secure passwords (use a password manager), paying attention to what you click in your email inbox and which website you enter are a few examples of an extensive list.
I'm not sure if I understood what you meant about using JavaScript to keep yourself secure from hackers, but if you have a website, for example, you can use it to sanitize any data sent by the user (text inputs, file uploads, etc.) both in the front-end or back-end (with node.js).
Now, using JavaScript against a hacker that hacked you isn't something I'd recommend. Just keep yourself secure and aware of possible scams!
Getting better at JavaScript
There are a lot of good free resources out there, such as StackOverflow, YouTube and sites like freeCodeCamp where you can learn and improve on coding! Also, there are some great not-so-expensive resources like Coursera, Code Academy, Udemy and Front-end Masters.
I hope my answer has helped you a little bit :)
Updated
Desirae’s Answer
There is only one available of Java Script you just download the one and keep it updated.