T
Hey Austin, thanks for stopping by, and good luck with your own projects. To your question: for me the gap was recognition versus recall. Following a workshop, I could understand every step. Rebuilding the same project cold, with nothing to copy, showed me which properties I had only recognized. That’s why I rebuilt all 68 from scratch, and why I added a comment under each concept explaining what the code does in plain words. If I can’t write the comment, I don’t know it yet. The labs were the…
T
At least check it out, and you’ll see that the bug is in the console, not in my code.
T
Welcome to the forum @Leightoire Your solution works from my end. Please try one of the following steps to move forward. Click on the “Restart Step” button and force a refresh of your page with CTRL + F5 then try to paste the code in again. or - Try the step in incognito or private mode. or - Disable any/all extensions that interface with the freeCodeCamp website (such as Dark Mode, Ad Blockers, or Spellcheckers), and set your browser zoom level to 100%. Both of these factors can cause tests to…
T
Tell us what’s happening: Ive followed instructions but getting an error that "You should have exactly five total elements on the page Your code so far <h1>Hello from Camperbot!</h1> <h2>About</h2> <p>My name is Camperbot and I love learning new things.</p> <h3>Background and Interests</h3> <p>I enjoy solving puzzles.</p> Your browser information: User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/157.0.0.0 Safari/537.36 Edg/157.0.0.0…
T
Hi @JayX97 Cool app. One thing I noticed is that JavaScript and TypeScript don’t have a capital “S” in the dropdown menu. Maybe for a future version, add input for a user defined language, as there are over 800 languages on GitHub. How about changing “Error fetching repositories” to “Error fetching repository”? One more, update “Please select a language” to “Please select a language from the above dropdown menu.” to make it clearer where the user can select a language. Happy coding
T
I found this youtube video of someone showing how it worked. Multiplication with the Schickard Calculator from 1623 and with Napier's Bones It’s quite interesting.
T
That’s fascinating. I can’t fathom how it works. I wonder how reliable it was.
T
For the past few months, I have been traveling around visiting different museums and finding cool artifacts a long the way. I started a series of videos that are currently being shared on the freeCodeCamp socials and decided to share them here too. Last month, I visited the Computer history museum in California and spent several hours trying to get through everything. The first part of the section had replicas of old calculators and I created this short video to talk about this calculator that…
T
Hey, I’m not sure what you mean with string comprehension. snowbv: [str(i) for i in range(1, n +1)] The above is a list comprehension. In other cases, you might use dictionary comprehensions, set comprehensions. There’s no string comprehension though. If you use join to join the items in that list, then the separator you use (a space in your case) goes only in between the items. So there’s no space after the last item. This is a generator expression instead: (str(i) for i in range(1, n +1)). If…
T
Hi, Thanks, yes, I didn’t see that coming… I found the structure is pretty convoluted and confusing like a function being written in object form. Yeah for the first part, I will look into the code. Thanks again.
T
I am not able to reproduce the failure you report, the first code you posted passes tests 1 and 3 maybe you changed something else outside of the editable region accidentally?
T
SimbaBrynMahaja: <tr class="half"> <th></th> <div id="legend"><span>Availability</span> <div id="legend-gradient"></div></div> </tr> this one does not have three columns
T
hermine: console.log(Person === Person.prototype.constructor) you said it here, they are the same thing so every time you appen prototype.constructor at the end you are recursively accessing the same thing to be honest, I don’t know how a class is structured under the hood, that would require looking into JavaScript source code itself, but maybe you could investigate the language implementation requirements? ECMAScript® 2027 Language Specification each brower and engine can implement JavaScript…
T
The point about problem-solving skills is the one I’d stress most. In my experience, AI is genuinely useful for explaining concepts and spotting syntax errors, but the learning happens when you struggle with the logic yourself first. A balance that works: attempt the problem, get stuck, then ask AI to explain why your approach failed rather than just handing you code. Treating generated examples as something to rewrite and test in your own editor also helps. The risk is accepting output you…
T
<thead> <caption>Weekly Meeting Availability Schedule</caption> <tr> <th scope="col">Monday</th> <th scope="col">Tuesday</th> <th scope="col">Wednesday</th> <th scope="col">Thursday</th> <th scope="col">Friday</th> </tr> </thead> <tbody> <tr class="sharp"> <td class="time" scope="row">09:00</td> <td class="available-4" aria-label="4 available"></td> <td class="available-4" aria-label="4 available"></td> <td class="available-4" aria-label="4 available"></td> <td class="available-4" aria-label="4…
T
def number_pattern(n): if not isinstance(n, int): return "Argument must be an integer value." if n < 1: return "Argument must be an integer greater than 0." #return " ".join([str(i) for i in range(1, n +1)]) #string = "" #for i in range(1, n+1): # string += str(i) + " " #return string.strip() print(number_pattern(4)) print(number_pattern(12)) print(number_pattern("A")) print(number_pattern(-1)) Going back and doing the labs for practice. I still have trouble with iterating the correct things…
T
Your code was too long to be automatically inserted by the help button. Please update the message, or reply to this one, to include your code, formatted as follows: There are two ways you can format your code to make it easier to read and test: After you copy/paste your code into the editor, select it by dragging your cursor over it then click the (</>) button in the toolbar to automatically wrap your code in backticks. (You can click on the animated demo image below to enlarge it.) Manually…
T
Hello, I’m trying to understand the relationship between JavaScript object’s class, constructor and prototype. Here’s my example : class Person { constructor(name){ this.name=name } showName(){ return this.name } } When we call let david = new Person("David") we actually call the Person.prototype.constructor(arg) method. Even though the class syntax makes the constructor resemble a method of the class Person , the class and its constructorare literally the same thing : console.log(Person ===…
T
Welcome to the forum @KDOT, Please repost the exact code you tried to pass this step. (You’ve posted the starting code with no attempt to implement this step’s instructions.) Happy coding
T
Tell us what’s happening: After a series of different takes in setting up my table, error ‘Your table should have at least 3 columns’, persists. Can you point me in the right direction? Your code so far <!-- file: index.html --> /* file: styles.css */ Your browser information: User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/157.0.0.0 Safari/537.36 Edg/157.0.0.0 Challenge Information: Build an Availability Table - Build an Availability Table…
T
Welcome to the forum @AnnaWanderlust, Starting code was: employee_info = full_name + ' is ' You have changed the starting code, which will cause the tests to fail. Please reset this step and try again, being careful not to change the starting code. Happy coding
T
Tell us what’s happening: I am getting the type error code but it keeps telling me to add the employee_age at the end…not sure what I’m doing incorrectly. Your code so far first_name = 'John' last_name = 'Doe' full_name = first_name + ' ' + last_name address = '123 Main Street' address += ', Apartment 4B' employee_age = 28 # User Editable Region employee_info = full_name + 'is' + employee_age # User Editable Region Your browser information: User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64;…
T
this is not step 3 anymore, please if you need help with a different step create a topic for that step If you have a question about a specific challenge as it relates to your written code for that challenge and need some help, click the Help button located on the challenge. The Help button will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum. Thank you.
T
Tell us what’s happening: Step 13 - Build a Fortune Telling App: tests require img classes “card-img” and “hidden” and img as a sibling of div.img-loader (not nested), but the instructions mention none of this. Socrates hint also wrongly said my div is missing a closing tag. This is very frustrating. I should not be forced to troubleshoot missing instructions and hallucinating AI while I should be learning. I’m actually learning more from all these errors than the workshops. Instructions: Now,…
T
Tell us what’s happening: Remove the earlier outputs of the name variable. Then, print name and type(name) together on one line separated by a comma like the previous step. This my answer. print(name, type(name)) But it’s incorrect, i have tried everything still nothing. Your code so far name = 'Alice' # User Editable Region print(name) print(type(name)) # User Editable Region is_student=True print(is_student,type(is_student)) Your browser information: User Agent is: Mozilla/5.0 (Windows NT…
T
Cool images. I think it would make a good project.
T
From the home page you can fine ‘Curriculum help’ by clicking on the muted categories tab.
T
Hi itswahid768, I experience the same issue. If you use the arrow buttons (Next to the text ‘Build a Case Converter - Lesson X’) you can go to the next lessons. These take you through the steps to setup the ‘package.json’ file. I guess typing ‘npm init’ in the terminal is somehow not detected. Hope it helps!
T
I am still proceeding with the database certification; I opt to use the local setup for the lab. I am using a Windows machine. I always start my Docker engine and the dev container; they are always up and running in a jiffy, but my issue comes when I complete a lab. I usually follow the instruction to create a new workspace to start the new lab, but I end up messing up because when I am instructed to type, for example, echo hello SQL, the test fails. That’s what my codeRoad shows in its…