Congratulations for seeing one of the best tweets you will read online today; we are starting our JavaScript coding Journey from scratch on a full:
Course Title: HTML, CSS & JAVASCRIPT
Topic: Introduction to JavaScript
I’ll explain in detail, kindly retweet for others, and open
I want to specifically congratulate you for coming this far. Thousands of people started with us, and thousands have dropped halfway despite HTML and CSS being the simplest of what's to come.
Understandably so, I do not blame them, never, because tech/coding is not for everyone.
Welcome to your first javascript class. Kindly ensure you are following me and put on my Tweet notification to avoid missing subsequent classes, dev tips, tech spaces & mentorship.
If you're new, you can still catch up with us, follow me & start your journey from my pinned tweet
INTRODUCTION TO JAVASCRIPT
So far, we’ve used HTML to arrange our web pages’ content and CSS to style it.
For exp, one of the primary reasons we use Javascript to create interactivity is that it allows us to control the Document-Object Model (often known as the DOM for short).
By leveraging on Javascript, we can alter the Document Object Model (DOM) to perform operations such as:
Make changes to existing HTML components.
Make changes to the attributes of HTML elements.
HTML elements can have their CSS stylesheets modified or added.
HTML elements can
*JavaScript is also known as "js", not Java
*I will be using the JavaScript comment sign // to explain in my code
* Only those with VsCode can check their code output by using the Console tab.
1. Javascript Data Types
Declaring a variable is accomplished through the usage of the var statement. A variable is handy for storing information that we may wish to use later.
The console.log() prints to the console whatever data is supplied to it between the parenthesis. exp
Think for a moment: what do you aim this code to accomplish?
Javascript examines the declared variables and decides that they are both numbers. Javascript then understands that it must print the total of the two values to the console.
The output for the code below will be 30.
2. JavaScript: Numbers
Javascript uses 64 bits of memory to encode all numbers.
Each bit corresponds to a binary value (e.g., 0 or 1). The maximum integer you can express with 64 bits is 2^63 – 1, or 9223372036854775807.
3. Adding & subtracting numbers
Use the + operator to add numbers and the - operator to subtract numbers.
Again, always check the word after //; I am using them to explain the code in the example for you.
4. Multiplying & dividing numbers
Looking at the code below, you have said the following
Variables of 10 should be multiplied by 10; hence the first 10*10
Variables of 10 Should be divided by 5; hence the second 10/5
Variables of 10 Should be divided by 3; hence the third 10/3
5. The Modulo Operator
6. Order of operations
Operations take place from left to right in order of precedence, meaning certain operators are prioritized more than others. In general:
Your output after requesting console.log for number1, number2, number3 = 100, 190, 0 respectively
7. Incrementing/Decrementing Number Values
You can increase or decrease a number’s value by adding, subtracting, multiplying, or dividing it by another number:
Your output will be
Add 10=20
Subtract 5=15
Multiply by 7=105
Divide by 5=21
8. ++ and -- Operators
There are many instances where you will want to increment or decrement a value by one.
In this case, you can use the ++ and -- operators as a further shorthand:
That is the end of our JavaScript class for today. JavaScript may be hard but not for us.
Do not forget to follow @SwiftspeedT for your upcoming in-demand tech skill scholarship by April
Class Exercise: Copy codes in this lesson to your IDE, screenshot, and quote the main Tweet
• • •
Missing some Tweet in this thread? You can try to
force a refresh
I'll teach you like babies, kindly retweet for other students, and open
Welcome to your 2nd class on JavaScript.
If you are coming across my profile for the first, and you will be interested in learning to code and following up, Kindly give me a follow and on my post notifications to avoid missing, Tech mentorship, Classes, Tips, and more.
If you already missed the previous class, no need to get hasty, It is all compiled in Twitter moment pinned to my profile
JavaScript Strings, Booleans & Null
STRINGS
Strings are another fundamental data type representing a string (or sequence) of characters
Tech bro Lmfao!!! Why are you wiping your face, is that you dozing at 1:50am? Are you joking? You need to start moving right.
Java isn’t a bag of tea nor is JavaScript a piece of cake. Stand the f up and code now before I step in🙄.
If I have to explain to some of you senior dev that nobody is pressuring them and this tweet is just cruise because clearly, If you’re not already awake by this time you can’t see this tweet.
So save yourself the stress and fuck off my quote fr, you’re not the targeted audience.
Let those with sense of humor laugh and go to bed.
Congratulations you’re seeing this tweet; we’ve always talked about how to get into tech; I’ve started teaching you how to code, now let’s talk about how to make millions while learning this.
If you need money to fund your passion in tech, kindly retweet for others & open👇🏽
Acquiring a digital skill can be somewhat hard, especially when you have no money to motivate and fund your passion, in this thread I’d teach you how I made up to 2k$ while still learning how to code.
If you wish to learn programming, kindly give me a follow and check my pinned
Tweet.
Let’s get to it.
In this thread, I’ll be using a bit of my journey as an example, it speaks about programming, and you can apply these to other facets of tech that you may be into.
You can code online and earn money sooner than you think. You don’t have to be a pro
I’m writing a Masterclass thread now you can make money while learning how to code.
But I need motivation, 500 likes in 1 hour and we have a deal 👍.😂
You people 200 likes in 2 minutes 😭😭. Let me start writing it
What the actual fuck 500 likes in 5 minutes 😂😂. Y’all love money ehn.
Anyways if you’re just coming across this account, I help people who are interested in getting into tech by teaching them how to code in the way that they’ll never forget.
This guy hacked my Instagram I said wait a bit and I hacked it back from him. From Tel Aviv o.
What will my small account do for you now
He changed my username from kynsofficial to this and texted a bunch of white people. I don’t use Instagram often so I didn’t notice until this morning. He deleted my number from my profile and email.
After hacking him out, I logged him out of his Samsung phone and used 2fa😂 fun
Every software engineer are expected to have in-depth knowledge of cyber security.
Differences is bad guys use it for bad things, good guys learn it be one step ahead of the bad guys and protect their web project.
If you have a feeling that one of your password has been