User
Write something
Open Office Hours Coding Help is happening in 6 days
JavaScript: Take the increment and decrement quiz with me on FreeCodeCamp.
Alright, so let's go ahead and go through this quiz, and if you haven't taken a look at the increment and decrement lesson that I put out last week, here is the link. Increment and decrement lesson. (2 min Video) Then you should be ready to take the quiz. Here is the link to the quiz. - Sign up for FreeCodeCamp, it's free, and you can get credit for going through the quiz with us. Watch on YouTube the Quiz Walkthrough with explanation. (1 min video)
Do you put the ++ before the variable or after in JavaScript?
If you're working with numbers and need to increase or decrease a value by one, the increment and decrement operators make the job easier. The increment and decrement operators are represented by ++ and --, respectively. They both allow you to adjust the value of a variable by 1. As always, if you have the time, take a look at the video - like the video on YouTube...
What Is Your Typing Speed - Screen Shot Them
This is something that I always used to do with my students. We would have them go to this website MonkeyType.com and try it for three times, screenshot, and post the best one. Let's see what you come up with. Post your results below in the comments. First Place: @Tyler Michl 99 WPM Second Place: @Nate Bodine 88 WPM Third Place: @Allyn Joshua Nieva 86 WPM Fourth Place: @Rob Vanarsdall 72 WPM Fifth Place: @Melissa Usher 71 WPM Sixth Place: @Javed ahmed Nizamani 65 WPM Seventh Place: @Katrina Wright 60 WPM
What Is Your Typing Speed - Screen Shot Them
A FreeCodeCamp Trick/Hack for Our Community
As you know, I have made many FreeCodeCamp walkthroughs for this community. I have them all listed in the classroom. But who wants to manually scroll through all of them... Instead.. USE THE SEARCH FEATURE If you are starting off in the web development curriculum they offer, and you do get stuck, make sure you use the search feature in this community. If you just type, for example, the module that you are on, it should populate with the video. If you enlarge the photo attached to this post, you'll see what the numbers mean. 1. Type in your current Module Name you are on in FreeCodeCamp (example: " Build A Cat Photo App") 2. Select Classroom 3. Select the Correct Video 4. Upgrade your Membership Plan and View The Perks (Optional but highly recommended πŸ˜‰) Link to the Demo Search from the photo
A FreeCodeCamp Trick/Hack for Our Community
How do you check to see if a word is contained within a string in JavaScript?
Look at the photo of this javascript line. The includes() method is used to check if a string contains a specific substring. If the substring is found within the string, the method returns true; otherwise, it returns false. There is no in between (no undefined), either true or false. So let's break this down. Line 1: we're storing a string in a variable called message. What are we storing in the variable? -> "JavaScript is great!" I drew a red box around the method called includes. Line 2: When we are utilizing this method, it's going to look at that entire string and look for the word script. It's going to report back either true or false. True meaning it found it, false meaning it did not find it. 🚨 Here is where it gets tricky, and you have to remember that when we're talking JavaScript and programming, it's case sensitive. And ask yourself as a computer program... do you see a lowercased "script" in the word "JavaScript is Great"? if you do not then you are a "FALSE" if you do see a lowercased "script" in it then you are a "TRUE". πŸ‘‡ What will the following code output? Let's see your vote!
Poll
6 members have voted
How do you check to see if a word is contained within a string in JavaScript?
1-30 of 77
The Code Zone Skool
skool.com/the-code-zone
Beginner-friendly community to learn Python, HTML, CSS, & JavaScript. We help you become a full-stack developer and offer 1:1 code coaching.
Leaderboard (30-day)
Powered by