Question:
Throughout the curriculum, we often have campers name variables that represent booleans with the prefix of or which follow standard convention. But we never really explain that to them. I think that step 17 would be a good place do that. js let isRunning = true; let hasCompleted = false; ` see explanation above see explanation above No response Device: [e.g. iPhone 6, Laptop] OS: [e.g. iOS 14, Windows 10, Ubuntu 20.04] Browser: [e.g. Chrome, Safari] Version: [e.g. 22] No response
This has been opened for contribution. The first comprehensive PR created will be reviewed and merged. We typically do not assign issues to anyone other than long-time contributors. If you would like to contribute and have not read the contributors docs, please do so here: If you have any issues with contributing, be sure to join us on the , or on the Happy coding

# --description-- <ins> In programming, it is standard practice to prefix a variable with `is` or `has` to indicate that the variable is a boolean. ```js let isRunning = true; let hasCompleted = false; ``` </ins> Declare an `isError` variable and set it to `false`, but use `let` so you can reassign it later. # --hints--


Question:
We introduce the method in step 79, but do not provide a code example. For consistency, we should provide code examples for these methods when they are first introduced. js const firstName = 'JESSICA'; (firstName.toLowerCase()); // Output: jessica ` see explanation above see explanation above No response Device: [e.g. iPhone 6, Laptop] OS: [e.g. iOS 14, Windows 10, Ubuntu 20.04] Browser: [e.g. Chrome, Safari] Version: [e.g. 22] No response
This has been opened for contribution. The first comprehensive PR created will be reviewed and merged. We typically do not assign issues to anyone other than long-time contributors. If you would like to contribute and have not read the contributors docs, please do so here: If you have any issues with contributing, be sure to join us on the , or on the Happy coding
Hello :) newbie here, I am going to tackle this task. PR will be published soon.

# --description-- <del> Your `output.innerHTML` string will need a `span` element. Create that, and give it a `class` attribute set to the `surplusOrDeficit` variable, but lowercased. </del> <ins> When you need to lower case a string, you can use the <dfn>toLowerCase()</dfn> method. This method returns the calling string value converted to lower case. </ins> <del> Strings have a `.toLowerCase()` method that can help you with this. Do not give your `span` any text yet. </del> <ins> ```js const firstName = 'JESSICA'; console.log(firstName.toLowerCase()); // Output: jessica ``` Your `output.innerHTML` string will need a `span` element. Create that, and give it a `class` attribute set to the `surplusOrDeficit` variable. Your `surplusOrDeficit` variable should be converted to lower case using the `toLowerCase()` method. Do not give your `span` any text yet. </ins> # --hints--


Question:
We should add a code example for the remove method in step 85. js const paragraphElement = document.getElementById('paragraph'); ('hide'); ` see explanation above see explanation above No response Device: [e.g. iPhone 6, Laptop] OS: [e.g. iOS 14, Windows 10, Ubuntu 20.04] Browser: [e.g. Chrome, Safari] Version: [e.g. 22] No response
This has been opened for contribution. The first comprehensive PR created will be reviewed and merged. We typically do not assign issues to anyone other than long-time contributors. If you would like to contribute and have not read the contributors docs, please do so here: If you have any issues with contributing, be sure to join us on the , or on the Happy coding
Can we make this a issue?
Normally this would be a first timers only issue. But I already opened a tons of those earlier, that are still up for grabs. So I decided to make this one help wanted, to open it up to more people. Plus we still have those pretty earlier on that made one contribution but are still looking for easier issues to keep contributing.

Finally, you need to make the `#output` element visible so the user can see your text. Your `output` variable is an Element, which has a `classList` property. This property has a `.remove()` method, which accepts a string representing the class to remove from the element. <del> Use the `.remove()` method of the `output` variable's `classList` property to remove the `hide` class. Don't forget to place the word `hide` inside quotes. </del> <ins> ```js const paragraphElement = document.getElementById('paragraph'); paragraphElement.classList.remove('hide'); ``` Use the `.remove()` method of the `output` variable's `classList` property to remove the `hide` class. Don't forget to place the word `hide` inside quotes. </ins> # --hints--


Question:
following task ask for : reading this line suggests/ indicates to me writing an "if" statement inside of the array although that could be my understanding of the sentence my suggestion would be to update the sentence to the following No response Device: [macBook pro] OS: [Ventura 13.4.1 ] Browser: [chrome ] Version: [121.0] No response
Hi ! Thank you for creating this issue. I think the re wording makes sense. The only thing, I would change would be the first part of that sentence. We should mention explicitly that they are adding to the array. I will go ahead and open this up for contribution for
This has been opened for contribution. The first comprehensive PR created will be reviewed and merged. We typically do not assign issues to anyone other than long-time contributors. If you would like to contribute and have not read the contributors docs, please do so here: If you have any issues with contributing, be sure to join us on the , or on the Happy coding
I updated the instructions of step 78 and committed the changes. Please have a look at that Thank you
I am sorry but since I am new to open-source contributions, I accidentally closed the previous PR. I am making a new Pull Request please have a look at that.

Inside the callback function, create a new `const` variable called `collisionDetectionRules` and assign it an empty array. <del> Inside that array, add a boolean expression that checks if the player's `y` position plus the player's height is less than or equal to the platform's `y` position. </del> <ins> Inside that array, add a boolean expression that checks whether the player's `y` position plus the player's height is less than or equal to the platform's `y` position. </ins> # --hints--

assert.match(code, /consts+collisionDetectionRuless*=s*[s*(?:[^]]*s*)*s*]s*;?/); ``` <del> You should have a boolean expression that checks if the player's `y` position plus the player's height is less than or equal to the platform's `y` position. </del> <ins> You should have a boolean expression that checks whether the player's `y` position plus the player's height is less than or equal to the platform's `y` position. </ins> ```js assert.match(code, /consts+collisionDetectionRuless*=s*[s*player.position.ys*+s*player.heights*<=s*platform.position.ys*,?s*]s*;?/);


Question:
The instruction are not clearing, it take times to know what it is saying The heading should read <img width="832" alt="Screenshot 2024-02-05 at 21 30 18" src=""- Device: Laptop OS: Mac Browser: Chrome No response
It looks like the steps have been updated on the main branch but these changes are not live on the site. So the step you are referring will be step 110 here.
This has been opened for contribution. The first comprehensive PR created will be reviewed and merged. We typically do not assign issues to anyone other than long-time contributors. If you would like to contribute and have not read the contributors docs, please do so here: If you have any issues with contributing, be sure to join us on the , or on the Happy coding

# --description-- <del> Following the same pattern, use that code in the `fightBeast` and `fightDragon` functions. Remember that `beast` is at index `1` and `dragon` is at index `2`. Also, remove the `console.log` call from your `fightDragon` function. </del> <ins> Following the same pattern as the `fightSlime` function, use that code in the `fightBeast` and `fightDragon` functions. Remember that `beast` is at index `1` and `dragon` is at index `2`. Also, remove the `console.log` call from your `fightDragon` function. </ins> # --hints--


Question:
We have a spelling error for step 3 of the stats calculator project. The word separating is spelled wrong in the description. see explanation above see explanation above No response Device: [e.g. iPhone 6, Laptop] OS: [e.g. iOS 14, Windows 10, Ubuntu 20.04] Browser: [e.g. Chrome, Safari] Version: [e.g. 22] No response
This has been opened for contribution. The first comprehensive PR created will be reviewed and merged. We typically do not assign issues to anyone other than long-time contributors. If you would like to contribute and have not read the contributors docs, please do so here: If you have any issues with contributing, be sure to join us on the , or on the Happy coding

The `.split()` method takes a string and splits it into an array of strings. You can pass it a string of characters or a RegEx to use as a separator. For example, `string.split(",")` would split the string at each comma and return an array of strings. <del> Use the `/,s*/g` regex to split the `value` string by commas. You can tweak it based on the number of spaces seperating your values. Store the array in an `array` variable. </del> <ins> Use the `/,s*/g` regex to split the `value` string by commas. You can tweak it based on the number of spaces separating your values. Store the array in an `array` variable. </ins> # --hints--


Question:
The font family for the 'trending guides' and 'mobile app' titles in the footer should be 'Lato', sans-serif and the .footer-desc-col in the footer should be aligned with the trending find the related selector for the footer-desc-col and add the following style align-self: start; Also, find the related selector to the footer titles and add the following style: font-family: var(--font-family-sans-serif); <img width="679" alt="Screenshot 2024-02-07 at 3 26 07 PM" src=""
Hi, I'd like to take this issue please
We typically do not assign issues. Instead, we accept the first pull request that comprehensively solves the issue. Issues labelled with or are open for contributions. Please make sure you read . We prioritize contributors following the instructions in our guide. Join us in or if you need help contributing - our community will be happy to assist you.

.site-footer .col-header, .trending-guides .col-header { text-align: center; <ins> font-family: var(--font-family-sans-serif); </ins> font-weight: 700; font-size: 16px; padding: 0 15px 15px;

.footer-desc-col { padding-inline: 15px; margin-bottom: 30px; <del> align-self: center; </del> <ins> align-self: start; </ins> } .footer-desc-col a {


Question:
The instruction are not clear, right now it says Edit: This is actually step 120 in the main branch Set monsterHealth to monsterHealth minus the power of the player's current weapon. Remember you have the currentWeapon which is not initialized variable and the power property on weapons array. No response Device: Laptop OS: macOS Browser: Chrome I think it should be more detail about what and where is currentWeapon, power property and how to access it like in previous.
It looks like currentWeapon is initalized with the value of 0 here Then it is updated over time throughout the project. I think for that second sentence it should be clear about syntax on how to access those values since beginners are still struggling with that. Being more explicitly will help with confusion on the forum posts. Let's go with this change.
This has been opened for contribution. The first comprehensive PR created will be reviewed and merged. We typically do not assign issues to anyone other than long-time contributors. If you would like to contribute and have not read the contributors docs, please do so here: If you have any issues with contributing, be sure to join us on the , or on the Happy coding

# --description-- <del> Set `monsterHealth` to `monsterHealth` minus the power of the player's current weapon. Remember you have the `currentWeapon` variable and the `power` property. </del> <ins> Set `monsterHealth` to `monsterHealth` minus the power of the player's current weapon. Remember that you can access the power of the player's current weapon using `weapons[currentWeapon].power`. </ins> # --hints--


Question:
In step 30, we refactor the code a bit by splitting up code we already wrote into functions. One of the statements to move is an if statement which checks the result of a findIndex function on an array. I forgot to mark the if statement in my cut-paste job and got the following note when checking the code: Unfortunately the condition in the note is completely wrong as the condition we want is to check if it's equal to -1 as that is the flag the findIndex function returns if it doesn't find a match. If the return value was 1, that's the id and we'd not want to enter the if statement. It's only the note which is wrong, and if I enter if (dataArrIndex === 1) { taskData.unshift(taskObj); } in the code, then I still have the note when checking the code, and only the actual correct if statement of equalling -1 lets me continue. But I'm sure such a situation could be frustrating for a camper if they write what's in the note and stay stuck To not accept the code and display a note saying the if condition should be ! Device: VivioBook ASUS Laptop OS: Windows 11 Home Browser: Mozilla Firefox No response
Thanks for opening this issue. This looks something that can be fixed by "first time" code contributors to this repository. Here are the files that you should be looking at to work on a fix: List of files: Please make sure you read , we prioritize contributors following the instructions in our guides. Join us in or if you need help contributing, our moderators will guide you through this. Sometimes we may get more than one pull requests. We typically accept the most quality contribution followed by the one that is made first. Happy contributing.
Thank you. I tried to fix it in the repository. Hope I did it properly :)
I see that you made a commit to your forked copy of the project here <img width="416" alt="Screenshot 2024-02-08 at 4 10 12 PM" src=""But I don't see any new pull requests opened by you. Please read through the to learn how to make a pull request. If you need help, then please post on either the forum or discord with your question and people can assist you there

assert.match(code, /consts+addOrUpdateTasks*=s*(s*)s*=>s*{s*consts+dataArrIndexs*=s*taskData.findIndex(s*(?:(s*items*)|item)s*=>s*(?:item.ids===s*currentTask.id|currentTask.ids*===s*item.id)s*)s*;?s*consts+taskObjs*=s*{s*ids*:s*`${s*titleInput.value.toLowerCase(s*).split(s*('|")s{1}1s*).join(s*('|")-2s*)s*}-${s*Date.now(s*)s*}`s*,s*titles*:s*titleInput.value,s*dates*:s*dateInput.values*,s*descriptions*:s*descriptionInput.values*,?s*}s*;?/) ``` <del> You should move the `if` statement with the condition `dataArrIndex === 1` into your `addOrUpdateTask` function. </del> <ins> You should move the `if` statement with the condition `dataArrIndex === -1` into your `addOrUpdateTask` function. </ins> ```js assert.match(code, /consts+addOrUpdateTasks*=s*(s*)s*=>s*{s*consts+dataArrIndexs*=s*taskData.findIndex(s*(?:(s*items*)|item)s*=>s*(?:item.ids*===s*currentTask.id|currentTask.ids*===s*item.id)s*)s*;?s*consts+taskObjs*=s*{s*ids*:s*`${s*titleInput.value.toLowerCase(s*).split(s*('|")s{1}1s*).join(s*('|")-2s*)s*}-${s*Date.now(s*)s*}`s*,s*titles*:s*titleInput.value,s*dates*:s*dateInput.values*,s*descriptions*:s*descriptionInput.values*,?s*}s*;?s*ifs*(s*dataArrIndexs*===s*-1s*)s*{s*taskData.unshift(s*taskObjs*)s*;?s*}s*}s*;?/)


Question:
This challenge does not involve editing at all, yet it is discussed in the hint text. The text should be like "Your function should return an arrow function which has a character2 parameter." so it is clear what needs edited. ! Device: Desktop OS: Windows 10 Browser: Firefox Version: 122.0.1 No response
55 "Kolade Chris"< >; 2024/2/12 20:48 "freeCodeCamp/freeCodeCamp"< >; "Subscribed"< >; Re: [freeCodeCamp/freeCodeCamp] Confusing hint text in Learnfunctional programming step 46 (Issue ) Closed as completed via . — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID:


Question: A camper on the forum was unable to pass with the following code: The tests are only checking for in the loop declaration That should be fixed to allow for or or declarations should be valid No response Device: [e.g. iPhone 6, Laptop] OS: [e.g. iOS 14, Windows 10, Ubuntu 20.04] Browser: [e.g. Chrome, Safari] Version: [e.g. 22] No response

```js const clearForm = code.split("function clearForm()")[1]; <del> assert.match(clearForm, /fors*(s*consts+containers+ofs+inputContainerss*)/); </del> <ins> assert.match(clearForm, /fors*(s*(const|let)s+containers+ofs+inputContainerss*)/); </ins> ``` Your `for...of` loop should set the `innerHTML` property of `container` to an empty string.


Question: The current header height of the learn platform is over 50. Please set it to 38px. Instructions: find the --header-height variable and set it 38px similar to the following: --header-height: 38px;

--focus-outline-color: var(--blue-mid); --font-family-sans-serif: 'Lato', sans-serif; --font-family-monospace: 'Hack-ZeroSlash', monospace; <del> --header-element-size: 30px; </del> <ins> --header-element-size: 28px; </ins> --header-sub-element-size: 45px; <del> --header-height: 56px; </del> <ins> --header-height: 38px; </ins> --breadcrumbs-height: 44px; --z-index-site-header: 200; }


Question:
This particular lesson does not correctly explain the attribute. It says "Tell the browser to parse the markup into multiple languages by creating a meta element as a child of the head element. Set its charset attribute to UTF-8." which implies that the charset attribute can automatically translate the markup. Compare this with the explanation from Learn Basic CSS by Building a Cafe Menu: Step 3 which says "Inside the head element, nest a meta element with an attribute named charset set to the value utf-8 to tell the browser how to encode characters for the page. Note that meta elements are self-closing." see explanation above see explanation above No response Device: [e.g. iPhone 6, Laptop] OS: [e.g. iOS 14, Windows 10, Ubuntu 20.04] Browser: [e.g. Chrome, Safari] Version: [e.g. 22] No response
I agree with updating the text here Let's go with this change html <meta attribute="value"` This has been opened for contribution. The first comprehensive PR created will be reviewed and merged. We typically do not assign issues to anyone other than long-time contributors. If you would like to contribute and have not read the contributors docs, please do so here: If you have any issues with contributing, be sure to join us on the , or on the Happy coding

<meta attribute="value"> ``` <del> Tell the browser to parse the markup into multiple languages by creating a `meta` element as a child of the `head` element. Set its `charset` attribute to `UTF-8`. </del> <ins> Inside the `head` element, nest a `meta` element with an attribute named `charset`. Set to the value to `utf-8` which tells the browser how to encode characters for the page. Note that `meta` elements are self-closing. </ins> # --hints--


Question:
This should be a clearer description and fix the inconsistencies for the user of backticks. ` see explanation above see explanation above No response Device: [e.g. iPhone 6, Laptop] OS: [e.g. iOS 14, Windows 10, Ubuntu 20.04] Browser: [e.g. Chrome, Safari] Version: [e.g. 22] No response
This has been opened for contribution. The first comprehensive PR created will be reviewed and merged. We typically do not assign issues to anyone other than long-time contributors. If you would like to contribute and have not read the contributors docs, please do so here: If you have any issues with contributing, be sure to join us on the , or on the Happy coding

# --description-- <del> Inside the `button`, create two more `span` elements. The first span element should have class `playlist-song-artist` and interpolate `song.artist`. The second span element should have class `playlist-song-duration` and interpolate `song.duration`. </del> <ins> Inside the `button` element, create two more `span` elements. The first `span` element should have a `class` of `playlist-song-artist`. In between the `span` tags, add `${song.artist}`. The second `span` element should have a `class` of `playlist-song-duration`. In between the `span` tags, add `${song.duration}`. </ins> # --hints--


Question:
There are a few grammar issues in this description. Plus the description can be broken up with spacing a little bit better for readability. Also the tests are looking for a specific answer of for the condition. But I don't see why we need to specifically check for when either of these options would be valid The tests should be more flexible to allow any valid answer. Also, order shouldn't matter here because we want to test that campers understand the concept. Not forcing a particular order here. This should pass but currently doesn't see explanation above see explanation above No response Device: [e.g. iPhone 6, Laptop] OS: [e.g. iOS 14, Windows 10, Ubuntu 20.04] Browser: [e.g. Chrome, Safari] Version: [e.g. 22] No response
There's slight issue with this. If the concept in this step is using the , in a way where order doesn't matter, this is not the best example. Second part is obsolete, there's no way that could be when it is reached in this order. It will always be . If is , then second part is skipped by definition. If is , because it didn't throw (see below) then must exists, therefore cannot beIt can throw error. The point of using in the condition above (where second condition depends on the first one) is that the second part is checked only when first part is . In this case it means that is not , so it is possible to check what is the value of . Otherwise, when is , will throw error:What about ? (notice the second question mark in the first part). Well... the second condition is then again obsolete.
If order does matter then the directions need to specify that. Otherwise, campers will not understand why this should be allowed to pass either an update needs to be to the directions on hint text. Or both.
Despite of using the logical OR, order in this statement is important, as depends on the existence of . What do you think?
I like it. I would just change the first part to this

# --description-- <del> Before playing the song, you need to make sure it starts from the beginning. This can be achieved by the use of the `currentTime` property of the `audio` object. </del> <ins> Before playing the song, you need to make sure it starts from the beginning. This can be achieved by the use of the `currentTime` property on the `audio` object. </ins> <del> Add an `if` statement to check whether the `userData?.currentSong` is `null` or if `userData?.currentSong.id` is strictly not equal `song.id`. Inside `if` block, set the `currentTime` property of the `audio` object to `0`. </del> <ins> Add an `if` statement to check whether the `userData?.currentSong` is falsy *OR* if `userData?.currentSong.id` is strictly not equal `song.id`. This condition will check if no current song is playing or if the current song is different from the one that is about to be played. Inside `if` block, set the `currentTime` property of the `audio` object to `0`. </ins> # --hints-- <del> You should create an `if` statement with the condition `userData?.currentSong === null || userData?.currentSong.id !== song.id`. </del> <ins> You should create an `if` statement with the condition `userData?.currentSong === null || userData?.currentSong.id !== song.id`. Don't forget to include optional chaining. </ins> ```js <del> assert.match(code, /ifs*(s*userData?.currentSongs*===s*nulls*||s*userData?.currentSong.ids*!==s*song.ids*)s*{s*/) </del> <ins> assert.match(code, /ifs*(s*(?:(?:!userData?.currentSong|s*userData?.currentSongs*===s*null)s*||s*userData?.currentSong.ids*!==s*song.ids*|s*userData?.currentSong.ids*!==s*song.ids*||s*(?:!userData?.currentSong|s*userData?.currentSongs*===s*null))s*)s*{/) </ins> ``` You should set `audio.currentTime` to `0` inside your `if` block. ```js <del> assert.match(code, /ifs*(s*userData?.currentSongs*===s*nulls*||s*userData?.currentSong.ids*!==s*song.ids*)s*{s*audio.currentTimes*=s*0s*;?s*}/) </del> <ins> assert.match(code, /ifs*(s*(?:(?:!userData?.currentSong|s*userData?.currentSongs*===s*null)s*||s*userData?.currentSong.ids*!==s*song.ids*|s*userData?.currentSong.ids*!==s*song.ids*||s*(?:!userData?.currentSong|s*userData?.currentSongs*===s*null))s*)s*{s*audio.currentTimes*=s*0s*;?s*}/) </ins> ``` # --seed--


Question:
This project is missing key times to encourage the camper to test out their code. This will help camper see the results of the code they just wrote. see explanation above see explanation above No response Device: [e.g. iPhone 6, Laptop] OS: [e.g. iOS 14, Windows 10, Ubuntu 20.04] Browser: [e.g. Chrome, Safari] Version: [e.g. 22] No response
This has been opened for contribution. The first comprehensive PR created will be reviewed and merged. We typically do not assign issues to anyone other than long-time contributors. If you would like to contribute and have not read the contributors docs, please do so here: If you have any issues with contributing, be sure to join us on the , or on the Happy coding

# --description-- <del> It's time to hook up the `playNextSong` function to an event listener. </del> <ins> Now it is time to test out the `playNextSong` function. </ins> Add a `click` event listener to the `nextButton` element, then pass in `playNextSong` as the second argument of your event listener. This is the function the event listener will run. <ins> Test out your app by first clicking on the play button followed by the next button. You should see that everything is working as expected. </ins> # --hints-- You should call the `addEventListener()` method on your `nextButton` variable.


Question: Describe the bug There's typo in two steps in the hint text. Yous should be changed to You. This can be fixed by "first time" code contributors to this repository. Here are the files that you should be looking at to work on a fix: List of files: Please make sure you read , we prioritize contributors following the instructions in our guides. Join us in or if you need help contributing, our moderators will guide you through this. Sometimes we may get more than one pull requests. We typically accept the most quality contribution followed by the one that is made first. Happy contributing.

# --hints-- <del> Yous should remove the code toggling the `hidden` class on `taskForm`. </del> <ins> You should remove the code toggling the `hidden` class on `taskForm`. </ins> ```js const splitter = code.split('<button type="button" class="btn">Delete</button>')

# --hints-- <del> Yous should remove the code toggling the class `hidden` on `taskForm`. </del> <ins> You should remove the code toggling the class `hidden` on `taskForm`. </ins> ```js const splitter = code.split("confirmCloseDialog.close();")


Question:
We are still getting a lot of people on the forum confused on how to do step 146 of RPG project. They are looking to the current example and returning strings when the directions say to return the variable and the number . In order to clear up confusion, we should chose a different example. I know that this is updated code example is very similar to what they need to do in the step. But I think that is what they need at this stage. js // if-else statement if (score 0) { return score } else { return defaultscore } // ternary operator score 0 ? score : defaultscore ` see explanation above see explanation above No response Device: [e.g. iPhone 6, Laptop] OS: [e.g. iOS 14, Windows 10, Ubuntu 20.04] Browser: [e.g. Chrome, Safari] Version: [e.g. 22] No response
This has been opened for contribution. The first comprehensive PR created will be reviewed and merged. We typically do not assign issues to anyone other than long-time contributors. If you would like to contribute and have not read the contributors docs, please do so here: If you have any issues with contributing, be sure to join us on the , or on the Happy coding

Here is an example of returning a value using an `if-else` statement and a refactored example using a ternary operator: ```js <del> if (num > 5) { return 'num is greater than 5'; </del> <ins> // if-else statement if (score > 0) { return score </ins> } else { <del> return 'num is smaller than or equal to 5'; </del> <ins> return default_score </ins> } <del> return num > 5 ? 'num is greater than 5' : 'num is smaller than or equal to 5'; </del> <ins> // ternary operator score > 0 ? score : default_score </ins> ``` In `getMonsterAttackValue`, change `return hit` to a ternary operator that returns `hit` if `hit` is greater than `0`, or returns `0` if it is not.


Question:
A camper was unable to pass the test with either of the following answers The issue had to deal with spacing after the This has to be fixed because they got the correct answer see explanation above see explanation above No response Device: [e.g. iPhone 6, Laptop] OS: [e.g. iOS 14, Windows 10, Ubuntu 20.04] Browser: [e.g. Chrome, Safari] Version: [e.g. 22] No response
I'd love to take a crack at this. However, I'm struggling to find the relevant files the . If someone could help point me in the right direction that would be amazing!
it's here
Awesome! I'll take a look later! Thanks again for the help, I much appreciate it!

If your ternary is falsy, it should display the string `N/A`. ```js <del> assert.match(code, /s*<ps*>s*Nickname:s*${s*nicknames*(?:!==s*null)?s*?s*nicknames*:s*('|"|`)N/A1}s*</p>s*/) </del> <ins> assert.match(code, /s*<ps*>s*Nickname:s*${s*nicknames*(?:!==s*null)?s*?s*nicknames*:s*('|"|`)N/A1s*}s*</p>s*/) </ins> ``` # --seed--


Question:
The course currently only supports binary gender, he and she, they is excluded. -Advance to 3rd chapter, task 41 -oberserve the text all platforms, all fw Please make this course more inclusive, with something like: What do/does (he/she/they) look like? !
The string "What is (he/she) like?" also appears in Task 42.
"they" is taught in task 43. Even if it is discussed in task43, it can still be used in respective string from Task 41 onwards.
I have updated the issue as asked . Please review it .
Hi there, Thanks for your interest in contributing. This issue has not been triaged yet, and a solution has not been agreed upon. Once the issue is open for contribution, you are welcome to create a pull request to reflect the issue consensus. Please also note that we typically do not assign issues. Instead, we accept the first pull request that comprehensively solves the issue.
Hmmmmmm, While I am always advocating for inclusivity, in this case it may not make sense. Specifically because in English, even when using the singular "they", plural verb conjugations are used. "What does (he/she) look like?" -"What do they look like?" "What is (he/she) like?" -"What are they like?"
I have made the changes as said .
The following tasks need to be updated with these texts.

# --description-- <del> When you are curious about someone's physical appearance, such as their hair color, height, or general appearance, you could use the sentence `What does (he/she) look like?` </del> <ins> `To look like` is used to describe someone's or something's appearance, often implying a comparison. </ins> <del> For example: If you hear that a new programmer joined your team but you haven't met them, you can ask your colleague, `What does (he/she) look like?` </del> <ins> When you're curious about someone's physical characteristics, such as their hair color, height, or overall look, you might use expressions like: </ins> <del> You want to know if they are tall, have short hair, or wear glasses, so you can recognize them in the office. </del> <ins> `What does (he/she) look like?` or `What do they look like?` The choice between these depends on the number and gender of the person you're asking about. Use `does` with singular pronouns `(he, she)` when referring to one person and `do` with `they` when referring to someone whose gender might not be known or if referring to people in a non-binary or plural sense. </ins> **Note:** Remember that questions about a person's appearance can be sensitive. Some people may not feel comfortable discussing physical traits, and it's important to respect their feelings. Always use this question politely and in the right context, where it is appropriate to do so.

# --description-- <del> When you want to know about someone's character or personality, you can ask, `What is (he/she) like?`. This question is about the qualities of a person, not about their physical appearance. Example: </del> <ins> When you want to know about someone's character or personality, you can ask, `What is (he/she) like?` or `What are they like?`. </ins> <del> Imagine you meet a new student in your programming class and you want to know more about her. </del> <ins> This question is about the qualities of a person, not about their physical appearance. Example: </ins> <del> You can ask a classmate, `What is she like?` </del> <ins> Imagine you meet a new student in your programming class and you want to know more about her. You can ask a classmate `What is she like?`. </ins> You are not asking if the new student likes computers or games; you are asking about her personality. Maybe she's friendly, smart, or really good at coding.


Question:
The tests of this step have an issue with spacing, this code fails: This code passes:
Thanks for opening this issue. This looks something that can be fixed by "first time" code contributors to this repository. Here are the files that you should be looking at to work on a fix: Regex in 4th test should be changed to optionally allow spaces before , from: to: List of files: Please make sure you read , we prioritize contributors following the instructions in our guides. Join us in or if you need help contributing, our moderators will guide you through this. Sometimes we may get more than one pull requests. We typically accept the most quality contribution followed by the one that is made first. Happy contributing.
/attempt

You should assign `arr.map()` to the `playerCards.innerHTML` using the `+=` operator. ```js <del> assert.match(code, /playerCards.innerHTMLs++=s*arr.map(s*(s*)s*=>s*{s*}s*)/) </del> <ins> assert.match(code, /playerCards.innerHTMLs*+=s*arr.map(s*(s*)s*=>s*{s*}s*)/) </ins> ``` # --seed--


Question:
The instructions ask to learner to use the Impact font. One learner on the forum posted that the tests fails use of using lower case first letter for the font name. In the screenshots, one picture is the rendering of the unaltered code, the other using impact (lower case) font name. The tests should pass use of either impact or Impact. ! ! NA No response
The test right now is: which constrict to a specific casing it could be transformed into Thanks for opening this issue. This looks like something that can be fixed by "first-time" code contributors to this repository. Here are the files that you should be looking at to work on a fix: List of files: /challenges/english/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe- Please make sure you read our , we prioritize contributors following the instructions in our guides. Join us in our or our if you need help contributing; our moderators will guide you through this. Sometimes we may get more than one pull request. We typically accept the most quality contribution followed by the one that is made first. Happy contributing.

You should set the `font-family` to `Impact`. ```js <del> const hasFontFamily = new __helpers.CSSHelp(document).getCSSRules().some(x => x.style['font-family'] === 'Impact'); </del> <ins> const hasFontFamily = new __helpers.CSSHelp(document).getCSSRules().some(x => x.style['font-family'].toLowerCase() === 'impact'); </ins> assert(hasFontFamily); ```


Question:
Hello, I believe there is a typo in the join() method example on Learn Basic String and Array Methods by Building a Music Player - Step 18 I expect: should actually be: It's just a typo in the example explaining the join() method. ! N/A No response
Good catch. I will open it up for first timers contribution
This has been opened for contribution. The first comprehensive PR created will be reviewed and merged. We typically do not assign issues to anyone other than long-time contributors. If you would like to contribute and have not read the contributors docs, please do so here: If you have any issues with contributing, be sure to join us on the , or on the The code example in this step needs to be updated to reference the correct array name Happy coding

```js const exampleArr = ["This", "is", "a", "sentence"]; <del> const sentence = exampleArray.join(" "); // Separator takes a space character </del> <ins> const sentence = exampleArr.join(" "); // Separator takes a space character </ins> console.log(sentence); // Output: "This is a sentence" ```


Question:
The word 'in' is double I like to workin in the morning. -Proceed to the 4th course 'Learn How to Talk About a Typical Workday and Tasks' -Proceed to Task 2 -Observe the third sentence 'I like to workin in the morning. I like to work in the morning. !
Thanks for opening this issue. This looks like something that can be fixed by "first-time" code contributors to this repository. Here are the files that you should be looking at to work on a fix: List of files: /curriculum/challenges/english/21-a2-english-for-developers/learn-how-to-talk-about-a-typical-workday-and- Please make sure you read our , we prioritize contributors following the instructions in our guides. Join us in our or our if you need help contributing; our moderators will guide you through this. Sometimes we may get more than one pull request. We typically accept the most quality contribution followed by the one that is made first. Happy contributing.
We typically do not assign issues. Instead, we accept the first pull request that comprehensively solves the issue. Issues labelled with or are open for contributions. Please make sure you read . We prioritize contributors following the instructions in our guide. Join us in or if you need help contributing - our community will be happy to assist you.

Prepositions of time are essential in English to talk about when something happens. <del> The preposition `in` is used for months, years, centuries, and long periods. For example, `We will update the software in July`, `I started learning coding in 2022`. `I like to workin in the morning`. </del> <ins> The preposition `in` is used for months, years, centuries, and long periods. For example, `We will update the software in July`, `I started learning coding in 2022`. `I like to work in the morning`. </ins> The preposition `on` is used for days and dates. For example: `Our team meets on Mondays`, `The coding class is on April 10th`, `I finished the task on the last day`.


Question: After submitting one of the new multifile Python cert projects, when you try to view the project on your settings page - it shows a blank page (links are to .dev) to a a solution to down to the project you just submitted -blank page Either show the python code running, or just remove the button for those projects. !

'showMultifileProjectSolution' ); expect(getSolutionDisplayType(multifilePythonSolution)).toBe( <del> 'showMultifileProjectSolution' </del> <ins> 'showUserCode' </ins> ); }); it('should handle solutions with a single valid url', () => {

}: CompletedChallenge): DisplayType => { if (examResults) return 'showExamResults'; if (challengeFiles?.length) <del> return challengeType === challengeTypes.multifileCertProject || challengeType === challengeTypes.multifilePythonCertProject </del> <ins> return challengeType === challengeTypes.multifileCertProject </ins> ? 'showMultifileProjectSolution' : 'showUserCode'; if (!solution) return 'none';


Question:
We are using in the tests of Table component. does not guarantee that the element has the correct role, and this attribute should be the last resort when querying an HTML. We should use the method instead. Remove from the tests Replace with
/attempt

describe('
', () => { it('should apply striped bg color to every odd
 element', () => {  render(
);   render(
);   const table = screen.getByTestId('test');   const table = screen.getByRole('table');  const oddTableRowClass = '[&>tbody>tr:nth-of-type(odd)]:bg-background-tertiary'; expect(table).toHaveClass(oddTableRowClass); }); it('should apply the condensed to  and  elements', () => {  render(
);   render(
);   const table = screen.getByTestId('test');   const table = screen.getByRole('table');  const tableDataClass = '[&_td]:p-1 '; const tableHeaderClass = '[&_th]:p-1';


Question:
We need to show the proper syntax for assiging the result of a ternary operator to a variable's text content as mentioned in this . Let's go with this updated description js el.textContent = condition ? "Use this text if the condition is true" : "Use this text if the condition is false"; ` see explanation above see explanation above No response Device: [e.g. iPhone 6, Laptop] OS: [e.g. iOS 14, Windows 10, Ubuntu 20.04] Browser: [e.g. Chrome, Safari] Version: [e.g. 22] No response
This has been opened for contribution. The first comprehensive PR created will be reviewed and merged. We typically do not assign issues to anyone other than long-time contributors. If you would like to contribute and have not read the contributors docs, please do so here: If you have any issues with contributing, be sure to join us on the , or on the Happy coding
I guess I'm fine with being this explicit about it and showing an example. But I would hope by now in the curriculum (this challenge is far in) we have promoted the proper usage of the ternary so that it might be handled just in the assert hints. Also, the hint in the assert for the code posted on the forum isn't super helpful in guiding the camper to the desired syntax.
I am not sure how the assert messages would be updated here to show the syntax. Unless we just give them the answer here. I am open to ideas for changes

# --description-- <del> Back in your event listener, you need to update the text of the `result` element. </del> <ins> Back in your event listener, you need to update the text of the `result` element. You can use a `ternary` operator to achieve this task. Here is an example of assigning the result of a ternary operator to an element's text content: ```js el.textContent = condition ? "Use this text if the condition is true" : "Use this text if the condition is false"; ``` </ins> After the `if` statement, use a ternary operator to check the truthiness of calling `isSpam()` with `messageInput.value` as the argument. If true, set the `textContent` property on the `result` element to `Oh no! This looks like a spam message.`. Otherwise, set it to `This message does not seem to contain any spam.`


Question:
I got a mini heart attack as I randomly tested the Storybook page of the component and found that the component failed a11y checks. <img width="1680" alt="Screenshot 2024-03-06 at 00 49 32" src=""This is because: We pass as an empty string to the component in the Storybook demo: We use the operator in the computation of the button's label, which would only fall back to if is either or : Note that this issue is only in Storybook and not in /learn as we do pass a to there: In , replace the operator with the operator In , make an empty object instead of containing empty and
I do not care much about the implementation, BUT, surely if a label of is never valid, then it is best to make the optional, and not pass one to the component? That is, I can imagine passing to a component because I do not want one, but was forced to pass one because it is not optional.
For this particular component, I agree that can be optional or can even be removed as a configuration option, since I don't think we need any customization here (the button's label should just be "Close" rather than something else). In fact, is already an optional prop of . However, has a limitation, which is that the library is not localized, so we still want to pass strings from /learn in order to have them translated. Semi-related, there was a discussion a while back regarding whether or not we should expose for consumption outside of . We decided to export the component because: The component in doesn't have a close button, but its version in /learn (which is called ) has one, so was built. (I wasn't around during the development of most of the components so I don't have the full context of the technical design) The limitation mentioned above.

type Story = StoryObj<typeof CloseButton>; export const Basic: Story = { <del> args: { className: '', label: '' } </del> <ins> args: {} </ins> }; export default story;

return ( <button className={classes} onClick={onClick} type='button'>  {label ?? 'Close'}   {label || 'Close'}  × </button> );


Question:
We see far too many campers on the forum who do not understand that the server has to be restarted between changes. I didn't look through all of the curricula but it should be made clear early on. Personally, I would also suggest we teach the options of using or . It doesn't have to be more than a comment in the early backend challenges. Not to have to mention this every time someone has an issue with a backend challenge. No response Device: [e.g. iPhone 6, Laptop] OS: [e.g. iOS 14, Windows 10, Ubuntu 20.04] Browser: [e.g. Chrome, Safari] Version: [e.g. 22] No response
I have always liked using . It might be nice to have that already in the starter repo and gitpod. That way it will be taken care of for them. Adding a note could be nice though too. thoughts ?
It was intentionally removed from all repos. See the last 3 comments in this issue. I don't understand why we are making it more difficult for the camper than it has to be or expect beginners to not trip up on this. We haven't even taught (afaik) that a server has to be restarted before the changes take effect. We should make that clear and teach the solutions to server auto restarting. Even if the camper has to add it manually. I think this is a case of developers forgetting what it was like to be a beginner.
ohh that's interesting that the flag was removed from the repos. I am pretty out of the loop with the changes being made to the backend certs. In this case, I don't see any harm with adding a note about how to auto restart the server using .
Just to clarify, I don't think we were using in the start scripts but we did use in a few of the repos and that was removed. I'd like to response to this from that issue: This I do not agree with. For beginners, it is difficult. A lot of campers do not even know they need to restart the server between changes. Most do likely not know about arrow-up in the terminal to get to previous commands, meaning they have to write after every change they make to the server file. Which when learning or debugging challenge projects can add up to tons of restarts. Secondly, saying they can just implement their own watcher and it is easy to do completely misses the point. Yes, if you know about it it is easy, if you don't know about it, and we do not even teach it, then it isn't easy. That would be my suggestion as well. Preferable as early as possible.
Looking at the challenges, we could place a note in the first section for working with the . But the note might work better in the section set of challenges for node and express since they will be writing more code and probably benefit more from the automatic restart of the server. we could add a note at the end of that first set of instructions. something along these lines `
What I have is longer but I think it might be worth going into it a bit more. I can shorten it a bit by removing some of the information.
We are hoping to move off of the first few projects soon, and do have a decent lesson outline with a lot of the previous curricula's "missed bits": So, for the current curricula, I would go with short, simple, and quick changes. That is, without deliberating on pedagogy.
How soon is soon? I don't see an issue with adding some more information to the current challenge. As I said, I can shorten it a bit but it is already written and is easy and quick to add.
I am terrible at estimations . 2nd quarter.

We recommend to keep the terminal open while working at these challenges. By reading the output in the terminal, you can see any errors that may occur. <ins> The server must be restarted after making changes to its files. You can stop the server from the terminal using `Ctrl + C` and start it using Node directly (`node mainEntryFile.js`) or using a run script in the `package.json` file with `npm run`. For example, the `"start": "node server.js"` script would be run from the terminal using `npm run start`. To implement server auto restarting on file save Node provides the `--watch` flag you can add to your start script `"start": "node --watch server.js"` or you can install an npm package like `nodemon`. We will leave this to you as an exercise. </ins> # --instructions-- Modify the `myApp.js` file to log "Hello World" to the console.


Question:
A in the forum spotted a typo in the instructions for step 62 of Building a Password Generator, Python in the second paragraph should be spelt ! NA No response
I'm adding the badge to this so new contributors can grab it.
Hello, I would like to work on this issue if it's not assigned to anyone.
Hi , We typically do not assign issues. Instead, we accept the first pull request that comprehensively solves the issue. Issues labeled with or are open for contributions. Please make sure you read . We prioritize contributors following the instructions in our guide. Join us in or if you need help contributing - our community will be happy to assist you.
What is the first timers only tag?
Please do not ping a maintainer unless it's an urgent matter. You can see the description of a label if you hover on it. The label is to tag issues that are open to first-time contributors. Please also see

`all()` is a built-in Python function that returns `True` if all the elements inside a given iterable evaluate to `True`. Otherwise, it returns `False`. <del> You can combine the `all()` function with the list comphehension syntax to make your code more concise. </del> <ins> You can combine the `all()` function with the list comprehension syntax to make your code more concise. </ins> Modify your `if` condition by passing the list comprehension you created in the previous step to the `all()` function.


Question: This step will fail with code and will pass removing the semicolon at the end of the third line. It doesn't look like this test allows for semicolon

Your `letters.forEach()` callback function should be nested inside the `range(1, 99).forEach(number => {}` callback function. ```js <del> assert.match(code, /ranges*(s*1s*,s*99s*)s*.forEachs*(s*((s*numbers*)|number)s*=>s*{s*[^}]*letters.forEach(s*((s*letters*)|letter)s*=>s*{s*}s*)s*}s*)/) </del> <ins> assert.match(code, /ranges*(s*1s*,s*99s*)s*.forEachs*(s*((s*numbers*)|number)s*=>s*{s*[^}]*letters.forEach(s*((s*letters*)|letter)s*=>s*{s*}s*)s*;?s*}s*)/) </ins> ``` # --seed--


Question:
The wording of the hint text does not match the instructions. The word not is missing from the hint. js (code, /consts+updates=s(?:(sevents))1s)s;?sifs(/); Your condition should check if includes the of the . Your condition should check if does not include the of the . ! NA No response
For some more context, the challenge is expecting , but if you input something like this: (no ), the hint is ifvalueidelement It should check that it does not include the id. So we can change the hint to the suggestion - I would change to though: ifvalueid.`` What do you think
Your condition should check that does not include the of the element. Sounds good.
Sounds like there is a conclusion for what to change the hint to, so I am opening this for contributions

assert.match(code, /consts+updates*=s*(?:(s*events*)|event)s*=>s*{s*consts+elements*=s*event.targets*;?s*consts+values*=s*element.value.replace(s*/s/gs*,s*('|"|`)1s*)s*;?s*ifs*(/); ``` <del> Your `if` condition should check if `value` includes the `id` of the `element`. </del> <ins> Your `if` condition should check that `value` does not include the `id` of the `element`. </ins> ```js assert.match(code, /consts+updates*=s*(?:(s*events*)|event)s*=>s*{s*consts+elements*=s*event.targets*;?s*consts+values*=s*element.value.replace(s*/s/gs*,s*('|"|`)1s*)s*;?s*ifs*(s*!value.includes(s*element.ids*)/);


Question:
Setting causes the error Using Or forcing the DNS result order () fixes it. The best I can tell, in newer versions of Node the DNS result order has changed (might have been in v17). We had to fix a different challenge at one point to allow IPv6 IPs. I think this issue is related. Not sure what the best solution is but we might have to update the boilerplate or the challenge text. We can force the result order in the boilerplate if needed. Edit: My best guess why we haven't seen this issue more is because we (at least at one point) forced the engine in and possibly Replit running older versions of Node for a long time. I believe most people will see it locally with new versions of Node and I see it on Gitpod running Node 20. Not to get an error with the code the challenge tells you to use. No response Device: [e.g. iPhone 6, Laptop] OS: [e.g. iOS 14, Windows 10, Ubuntu 20.04] Browser: [e.g. Chrome, Safari] Version: [e.g. 22] Forum:
:sparkles: Thanks to the community, there's an estimated bounty value of $6.81 USD for a successful merge request of this issue via contributions such as 9.750 STORJ tokens. Happy coding :grinning: Details and T&Cs at
I think updating the challenge text to expect is good.

Within `tests/2_functional-tests.js`, immediately after the `Browser` declaration, add your project URL to the `site` property of the variable: ```js <del> Browser.site = 'http://localhost:3000'; // Your URL here </del> <ins> Browser.site = 'http://0.0.0.0:3000'; // Your URL here </ins> ``` Then at the root level of the `'Functional Tests with Zombie.js'` suite, instantiate a new instance of the `Browser` object with the following code:

const browser = new Browser(); ``` <del> And use the `suiteSetup` hook to direct the `browser` to the `/` route with the following code: </del> <ins> And use the `suiteSetup` hook to direct the `browser` to the `/` route with the following code. **Note**: `done` is passed as a callback to `browser.visit`, you should not invoke it. </ins> ```js suiteSetup(function(done) {


Question:
Remove the following classes from the component: - Code:
sorry for misunderstanding - what is the thing which need to be done?

// remove additional border styles after migration const listClassNames = <del> 'flex mb-0 pl-0 mt-0  border-t-[0px] border-r-[0px] border-l-[0px] border-b-[1px] border-solid border-foreground-quaternary'; </del> <ins> 'flex mb-0 pl-0 mt-0 border-b-[1px] border-solid border-foreground-quaternary'; </ins> export const TabsTrigger = React.forwardRef< React.ElementRef<typeof Trigger>,


Question:
We had this issue on the forum where the camper was unable to pass the test for step 71 with the following code. The test is expecting the use of inside the loop. But is valid too. After a quick scan of the final solution, it looks like the loop is used four times. I have checked the tests, but it is possible that all 4 instances have the same issue where is expected. Update all 4 instances of the tests to accept the use of or multiple pages see explanation above see explanation above No response Device: [e.g. iPhone 6, Laptop] OS: [e.g. iOS 14, Windows 10, Ubuntu 20.04] Browser: [e.g. Chrome, Safari] Version: [e.g. 22] No response
I verified other for loops at step 35, 38 and 57. All these accepts the use of let or const or var.

You should use a `for...of` loop to iterate through the `arr` array. ```js <del> assert.match(code, /consts+detectFullHouses*=s*((s*arrs*)|arr)s*=>s*{.*s*fors*(s*consts+nums+ofs+arrs*)s*{s*.*}/s); </del> <ins> assert.match(code, /consts+detectFullHouses*=s*((s*arrs*)|arr)s*=>s*{.*s*fors*(s*(const|let|var)s+nums+ofs+arrs*)s*{s*.*}/s); </ins> ``` # --seed--


Question:
We still have a high number of campers struggling with the step on how to nest the strong elements inside the existing span elements We should add an example of the syntax so they understand what the markup should look like. html <span class="stat"TEXT <strong<span id="VALUE"TEXT</span</strong</span` see explanation above see explanation above No response Device: [e.g. iPhone 6, Laptop] OS: [e.g. iOS 14, Windows 10, Ubuntu 20.04] Browser: [e.g. Chrome, Safari] Version: [e.g. 22] No response
This has been opened for contribution. The first comprehensive PR created will be reviewed and merged. We typically do not assign issues to anyone other than long-time contributors. If you would like to contribute and have not read the contributors docs, please do so here: If you have any issues with contributing, be sure to join us on the , or on the Happy coding
Hey! Mind if I pick this up?
This issue to open for contribution, you don't need to ask for permission to work on it. Please be sure you read and follow
It was hard to understand that Instructions. Finally got the clue

Wrap the numbers `0`, `100`, and `50` in `span` elements, and wrap those new `span` elements in `strong` elements. Then give your new `span` elements `id` values of `xpText`, `healthText`, and `goldText`, respectively. <ins> Your answer should follow this basic structure: ```html <span class="stat">TEXT <strong><span id="VALUE">TEXT</span></strong></span> ``` </ins> # --hints-- You should add a `strong` element in your first `.stat` element.


Question: In the directions for the challenge it states "Instead, use the back space key on your keyboard to move the p element with the class price next to the p element with the class flavor so that they are on the same line in the editor. Make sure there is no space between them". But here's the thing, to some campers it might be unclear that the 'them' in the second sentence refers to the elements, and might assume it means the class attribute or something. While this is addressed in the hint, it probably should be clearer in the challenge directions. In this challenge, it should be clear that the last sentence refers to the spacing between the two elements. No response Device: Desktop OS: Windows 10 Browser: Firefox Version: 123.0.1 I've seen at least two threads on the forums covering this challenge.

That worked, but there is still a little space on the right of the price. <del> You could keep trying various percentages for the widths. Instead, use the back space key on your keyboard to move the `p` element with the class `price` next to the `p` element with the class `flavor` so that they are on the same line in the editor. Make sure there is no space between them. </del> <ins> You could keep trying various percentages for the widths. Instead, use the back space key on your keyboard to move the `p` element with the class `price` next to the `p` element with the class `flavor` so that they are on the same line in the editor. Make sure there is no space between the two elements. </ins> # --hints--


Question:
I would suggest removing the second paragraph for step 66 (as a quite novice coder I guess the wording caught me up and I thought the challenge would lean on the side of more difficult rather than easy). I re-read it quite a few times but didn't realize that it was just explaining a later step. It took me a bit of time until I realized that only the first paragraph was needed to solve the solution. I just have an issue with the wording. Nothing else. Sorry if I did something wrong. This is my first time submitting an issue request No response Device: Desktop OS: Windows Browser: Chrome Version: 10 Just had issues with the wording and was recommending it being changed. Sorry if I did something wrong. This is my first github issue request
It looks like the original intent was to describe what the function was going to be about. I think removing it all together would leave the step in a place where campers are just asked to create a new function with no clue as to why or what it does. It would be better to provide some explanation on what they will be doing in the next few steps. A rewording would be better. Something like could work I'll open it up for discussion by the other maintainers to hear thoughts on wording. You didn't do anything wrong. It is a good issue
I am going to go ahead and open this up for contribution

# --description-- <del> Use `const` and arrow syntax to define a function called `setPlayButtonAccessibleText`. </del> <ins> To make the application more accessible, it is important that the play button describes the current song or the first song in the playlist. </ins> <del> This function will set the `aria-label` attribute to the current song, or to the first song in the playlist. And if the playlist is empty, it sets the `aria-label` to `"Play"`. </del> <ins> Start by creating an empty arrow function called `setPlayButtonAccessibleText`. </ins> # --hints--

# --description-- <del> Use the `setAttribute` method on the `playButton` element to set an attribute named `"aria-label"`. For the value, use a `ternary` to set `song?.title` to `Play ${song.title}` or `"Play"` if there's no `song.title` available. </del> <ins> The `setPlayButtonAccessibleText` function will set the `aria-label` attribute to the current song, or to the first song in the playlist. And if the playlist is empty, it sets the `aria-label` to `"Play"`. Use the `setAttribute` method on the `playButton` element to set an attribute named `"aria-label"`. For the value, use a ternary to `set song?.title` to `Play ${song.title}` or `"Play"` if there's no `song.title` available. </ins> Don't forget you need template interpolation here, so you need to use backticks.


Question:
The word "ethical" is never spoken, only "ethics". "Ethical standards" is an umbrella term. It would be difficult for a language learner to reach that conclusion without the word ever spoken in context. Edit: I'm not convinced that "ethical" is actually the correct word here. If you listen to the audio, at one point, James says "security standards". It would make a lot more sense if the required word was "security". It would also be an easy fix to change the required word to "security". As opposed to fixing the spoken words, which I doubt will happen. code: The exact required word to be spoken and used in context. No response Device: [e.g. iPhone 6, Laptop] OS: [e.g. iOS 14, Windows 10, Ubuntu 20.04] Browser: [e.g. Chrome, Safari] Version: [e.g. 22] Forum:
I updated the issue. I think we might be requiring the wrong word here.
Yes, you are correct. It might make sense to advanced English speakers but no so much for beginners. Lets change: Linda learns that compliance helps maintain safety and _ standards To Meaning Safety becomes the blank word so security is not appearing twice as a blank.
It makes more sense to me with the word , as that is how it is used in the spoken sentence. The only time "standards" is spoken is with "security" before it, so when you reach that part of the fill in the blanks I think it is only logical to assume that the word would be "security"

--- <del> `ethical` </del> <ins> `security` </ins> ### --feedback-- <del> Related to good behavior and honesty. </del> <ins> Related to safety and unauthorized access. </ins> ---


Question:
I can't remember if we have talked about this before. With the current editor layout explaining a concept and giving example code can get awkward. Because the instructions are inside the code it can push the code too far away from the instructions. It would be nice to have the option to disclose more details and example code in the challenge text. Less shallow explanations because of limitations in the layout and allowing the camper to disclose more details as needed. No response Device: [e.g. iPhone 6, Laptop] OS: [e.g. iOS 14, Windows 10, Ubuntu 20.04] Browser: [e.g. Chrome, Safari] Version: [e.g. 22] No response
I think this should just require a CSS fix so the summary does not appear like this: <img width="529" alt="image" src=""Clicking on it still works, but does cover the code (not sure if this is better or worse): <img width="504" alt="image" src=""
Why not make the upper-jaw scrollable? Make it have a fixed height and a shown scrollbar, when needed.
That doesn't hide the content. The idea is to have more information if the camper needs it, without having it take up space before they need it. Or just quickly toggle it visible/hidden as needed.
Could you please provide a more detailed explanation of the issue. Also can you please provide the links to the respeccive pages where the changes are required.In the link I donot see summary in it.
Okay so near as I can tell, we want the code examples collapsible. Which seems to be coming from right around here right? But here might be better too, as it sets up the examples.
Related:

{ <del> "node": true </del> <ins> /* * ENVIRONMENTS * ================= */ // Define globals exposed by Node.js. "node": true, /* * ENFORCING OPTIONS * ================= */ // Force all variable names to use either camelCase style or UPPER_CASE // with underscores. "camelcase": true, // Prohibit use of == and != in favor of === and !==. "eqeqeq": true, // Suppress warnings about == null comparisons. "eqnull": true, // Enforce tab width of 2 spaces. "indent": 2, // Prohibit use of a variable before it is defined. "latedef": true, // Require capitalized names for constructor functions. "newcap": true, // Enforce use of single quotation marks for strings. "quotmark": "single", // Prohibit trailing whitespace. "trailing": true, // Prohibit use of explicitly undeclared variables. "undef": true, // Warn when variables are defined but never used. "unused": true, // Enforce line length to 80 characters "maxlen": 80 </ins> }

<ins> { /* * ENVIRONMENTS * ================= */ // Define globals exposed by modern browsers. "browser": true, // Define globals exposed by jQuery. "jquery": true, /* * ENFORCING OPTIONS * ================= */ // Force all variable names to use either camelCase style or UPPER_CASE // with underscores. "camelcase": true, // Prohibit use of == and != in favor of === and !==. "eqeqeq": true, // Suppress warnings about == null comparisons. "eqnull": true, // Enforce tab width of 2 spaces. "indent": 2, // Prohibit use of a variable before it is defined. "latedef": true, // Require capitalized names for constructor functions. "newcap": true, // Enforce use of single quotation marks for strings. "quotmark": "single", // Prohibit trailing whitespace. "trailing": true, // Prohibit use of explicitly undeclared variables. "undef": true, // Warn when variables are defined but never used. "unused": true, // Enforce line length to 80 characters "maxlen": 80, // Enforce placing 'use strict' at the top function scope "strict": true' } </ins>


Question: There is a typo in this file on this line: This is the ONLY file that needs to be changed. PLEASE READ THE CONTRIBUTOR DOCS BEFORE OPENING A PULL REQUEST An issue with the label is open for contribution. The first comprehensive PR created will be reviewed and merged. We typically do not assign issues to anyone other than long-time contributors. If you would like to contribute, and have not read the contributors docs, please do so here: If you have any issues with contributing, be sure to join us on the , or on the

"learn-how-to-ask-and-share-about-educational-and-professional-background": { "title": "Learn How to Ask and Share About Educational and Professional Background", "intro": [ <del> "In this course, you'll learn how to ask about another person's educational and professional backgrouns and you'll learn how to share information about your background as well." </del> <ins> "In this course, you'll learn how to ask about another person's educational and professional backgrounds and you'll learn how to share information about your background as well." </ins> ] }, "learn-how-to-talk-about-hobbies-and-interests": {


Question:
The word "finally" should be capitalized. <img width="585" alt="Screenshot 2024-03-26 at 13 15 32" src=""- Capitalize the word "finally" in the following files:
This issue is open to first-time code contributors to this repository. The file that you should be updating is linked in the original post. Please make sure you read our as well as our , we prioritize contributors following the instructions in our guides. Join us in our or our if you need help contributing; our moderators will guide you through this. Sometimes we may get more than one pull request. We typically accept the most quality contribution followed by the one that is made first. Happy contributing.
Here is the PR for the fix:

- Fill in the usual HTML boilerplate. <del> - finally, add the following `h1` to the `body`: `<h1>Homepage</h1>` </del> <ins> - Finally, add the following `h1` to the `body`: `<h1>Homepage</h1>` </ins> ## Anchor Elements To create a link in HTML, you use the anchor element. An anchor element is defined by wrapping the text or another HTML element you want to be a link with an `<a>` tag.


Question:
The second paragraph of the instructions (shown below) uses parentheses twice. <img width="615" alt="Screenshot 2024-03-27 at 13 27 32" src=""Given that this is a lesson about the syntax for how to call a function, I think the use of parentheses is confusing N/A (not a coding issue) N/A (not a coding issue) No response Device: [MacBook Air] OS: [macOS] Browser: [Firefox] Version: [123.0] No response
Hi I do not see the word "parentheses" used twice, I hope I understood the issue correctly. Also, what would you suggest the updated instruction to be?
If I understood correctly you mean the parentheses in , right?
The only parentheses I can see on second paragraph are the following: ... call (run) ... call (invoke) If I understood correctly, right? If so, these are just used syntactically, so they should be ignored
Hi thanks for the questions. By "parentheses", I mean the symbols "(" and ")", not the word. Apologies for the confusion. My proposed solution would be rewriting the second paragraph as follows: Functions are reusable code blocks that you can call/run/invoke when you need them. To call a function, you just need to write a pair of parentheses next to its name. You will learn more about functions very soon. My issue with the previous was that the use of parentheses in the paragraph previously indicated to me examples of syntax, while not actually being examples of syntax. I think this rewriting clears up that confusion, and means that parentheses are used in this step during examples of function calls, which I think reads clearer
Okay, I had missed the first sentence of your post . I would go with:
Thanks for the clearification I'd suggest we go with this modified instruction.

You can use the built-in function `print()` to print the output of your code on the terminal. <del> Functions are reusable code blocks that you can call (run) when you need them. To call (or invoke) a function, you just need to write a pair of parentheses next to its name. You will learn more about functions very soon. </del> <ins> Functions are reusable code blocks that you can call, or invoke, to run their code when you need them. To call a function, you just need to write a pair of parentheses next to its name. You will learn more about functions very soon. </ins> For now, go to a new line and add an empty call to the `print()` function. You should not see any output yet.


Question:
The description of Working With Text Question D should read "in an tag" instead of "in a tag". <img width="788" alt="Screenshot 2024-03-29 at 23 05 44" src="" Change "in a tag" to "in a tag" in
This issue is open to first-time code contributors to this repository. The file that you should be updating is linked in the original post. Please make sure you read our as well as our , we prioritize contributors following the instructions in our guides. Join us in our or our if you need help contributing; our moderators will guide you through this. Sometimes we may get more than one pull request. We typically accept the most quality contribution followed by the one that is made first. Happy contributing.

--- # --description-- <del> The `em` element makes text italic. It also semantically places emphasis on the text, which again may affect things like screen readers. To define an emphasized element you wrap text content in a `<em>` tag. </del> <ins> The `em` element makes text italic. It also semantically places emphasis on the text, which again may affect things like screen readers. To define an emphasized element you wrap text content in an `<em>` tag. </ins> To use `em` on its own: <iframe allowfullscreen="true" allowpaymentrequest="true" allowtransparency="true" class="cp_embed_iframe " frameborder="0" height="300" width="100%" name="cp_embed_6" scrolling="no" src="https://codepen.io/TheOdinProjectExamples/embed/wvewqpp?height=300&theme-id=dark&default-tab=html%2Cresult&slug-hash=wvewqpp&user=TheOdinProjectExamples&name=cp_embed_6" style="width: 100%; overflow:hidden; display:block;" title="CodePen Embed" loading="lazy" id="cp_embed_wvewqpp"></iframe>


Question:
Typo on Step 61 of Sudoku Solver project in Scientific Computing with Python (Beta) cert: "withing" in the hint text when I'm sure you meant "within". <img width="595" alt="Screen Shot 2024-03-21 at 1 39 54 PM" src=""Thanks for all the content!
Thanks for opening this issue. This looks something that can be fixed by "first time" code contributors to this repository. Here are the files that you should be looking at to work on a fix: List of files: Please make sure you read , we prioritize contributors following the instructions in our guides. Join us in or if you need help contributing, our moderators will guide you through this. Sometimes we may get more than one pull requests. We typically accept the most quality contribution followed by the one that is made first. Happy contributing.

# --hints-- <del> You should have `if (next_empty := self.find_empty_cell()) is None:` withing `solver`. </del> <ins> You should have `if (next_empty := self.find_empty_cell()) is None:` within `solver`. </ins> ```js const tCode = code.replace(/r/g, '');


Question:
When working with the , it mentions the following instructions to complete the challenge: And that's alright, but when running the following correct solution, it doesn't pass and throws the following error: The current test error that it throws is misleading and it's happening because there's a missing test for the above code, which is expecting an implicit return. A test should be to let the user know that an implicit return is expected and can reach to the expected solution: Updating the challenge instruction would be appreciated too. On the other hand, there's a similar case where a correct test is running. When executing the following solution, this happens: This is tested using the following test: ! Device: Laptop OS: macOS 13.6.6 Browser: Chrome Version: 123 No response
Hi that makes sense: regarding the challenge text I would modify it as it follows: What do you think about it? Talking about code that’s right, we should add a test for the listed case in order to fix this. If updated text is ok I’ll proceed adding missing test.
Hey how about being more specific like other the other challenges? Something like the following: And the test error text should be the same when the condition is not met: That's my opinion, ofc. Appreciate that you ask. When able, please submit the PR and let's see what the maintainers think
Hi and I've submitted a PR using juan suggestion about instructions; then I a test assertion just to give explicit error on implicit return. Supravisor PR just fixed text instructions but not a test, so I did it.

Your `idToText` function should return the result of calling `.find()` on the `cells` array with a callback function that takes an `cell` parameter and returns `cell.id === id`. <ins> Both of your functions should use implicit returns. </ins> # --hints-- You should declare an `idToText` variable in your `evalFormula` function.


Question:
Change "You are Sarah" to "You're Sarah" in step 150, 154, and 155 of Learn Greetings in your First Day at the Office. The change is to match the caption text. (The text isn't visible on the Task 155 page, but in the code.) Change "You are Sarah" to "You're Sarah" in the following files:
We introduce contraction form in task 1 () so I assume we would want to use contractions in later tasks. But I'll wait for the curriculum team to confirm before opening this issue up for contribution. (If we don't want to use contraction in these tasks, the caption text should be updated to match the fill the blank text.)

<!-- AUDIO REFERENCE: <del> Jake: Hey. You are Sarah, right? I'm Jake, from Security. </del> <ins> Jake: Hey. You're Sarah, right? I'm Jake, from Security. </ins> --> # --description--

## --sentence-- <del> `Hey. You are Sarah, right? I'm Jake, _ _.` </del> <ins> `Hey. You're Sarah, right? I'm Jake, _ _.` </ins> ## --blanks--

<!-- AUDIO REFERENCE: <del> Jake: Hey. You are Sarah, right? I'm Jake, from Security. I'm here to give you your access card. </del> <ins> Jake: Hey. You're Sarah, right? I'm Jake, from Security. I'm here to give you your access card. </ins> --> # --description--

## --sentence-- <del> `Hey. You are Sarah, right? I'm Jake, from Security. I'm here to give you _ _ _.` </del> <ins> `Hey. You're Sarah, right? I'm Jake, from Security. I'm here to give you _ _ _.` </ins> ## --blanks--

<!-- AUDIO REFERENCE: <del> Jake: Hey. You are Sarah, right? I'm Jake, from Security. I'm here to give you your access card. </del> <ins> Jake: Hey. You're Sarah, right? I'm Jake, from Security. I'm here to give you your access card. </ins> Sarah: Thanks, Jake. Is it contactless? -->


Question:
Looking forward for reporting a security issue: Please report security issues by following our security policy: Describe the bug When using the challenge editor, upon saving changes, the confirmation alert that pops up reads: . It should instead read simply: . Affected Pages Error will appear after saving on on any challenge editor challenge. For example: (http://localhost:3300/07-scientific-computing-with-python/learn-string-manipulation-by-building-a-cipher). To Reproduce the challenge editor with to (http://localhost:3300) to any specific challenege. the save changes button will then produce the alert with the unformatted message. Expected behavior The alert should display: . Screenshots Currently, the alert displays like this: <img width="448" alt="broken" src=""When instead it should look like: <img width="452" alt="fixed" src=""System Device: Macbook Pro OS: Ventura 13.1 Browser: Chrome Version: 123.0.6312.59 (Official Build) (x86_64) Recommended fix or suggestions The code that handles requests for the challenge editor does not correctly handle saveRoute requests because it expects the incoming object to have the fields and . I propose a fix where we edit the route handler to check if the incoming objeect posses a field, and if so, the message directly instead of using . Additional context I will be monitoring this issue closely for the next few hours and I am ready and willing to fix this issue.
Sounds good I think we would accept this change. Feel free to make a PR.

export const handleRequest = (makeRequest: () => Promise<Response>) => () => { makeRequest() <del> .then(res => res.json() as Promise<{ stdout: string; stderr: string }>) .then(data => alert(JSON.stringify(data))) </del> <ins> .then( res => res.json() as Promise<{ stdout?: string; stderr?: string; message?: string; }> ) .then(data => { if (data.message) { alert(data.message); } else { alert(JSON.stringify(data)); } }) </ins> .catch(err => console.error(err)); };


Question:
The "reset" button went missing on the projects editor Any page with older style editor The reset button should be present. All
There is no need for a reset button here, you can just remove all code?
The cash register starts with code
I think we should have a reset button for the odin remix projects If a camper is a working through one of those challenges, and messes up their HTML, then they should have the ability to reset it. But also, for the JS certs, sometimes it is easier to just click reset and start with a clean slate. Plus the other editors have the reset button, so we should have it for consistency sake IMO.
This seems like a great place to start investigating in my opinion. These seem to be multifile cert projects after all.
Reopening, python final projects still miss the button

</Button> </> )} <del> {challengeType !== challengeTypes.multifilePythonCertProject && ( <> <Spacer size='xxSmall' /> <Button block={true} variant='primary' onClick={openResetModal}> {isMobile ? t('buttons.reset') : t('buttons.reset-lesson')} </Button> </> )} </del> <ins> <> <Spacer size='xxSmall' /> <Button block={true} variant='primary' onClick={openResetModal}> {isMobile ? t('buttons.reset') : t('buttons.reset-lesson')} </Button> </> </ins> <Spacer size='xxSmall' /> <Dropdown dropup> <Dropdown.Toggle


Question:
A camper on the forum was unable to pass the step. This was their code The failing test was this one js (code, /(')error-msg2/) The test needs to be updated to account of spacing see explanation above see explanation above No response Device: [e.g. iPhone 6, Laptop] OS: [e.g. iOS 14, Windows 10, Ubuntu 20.04] Browser: [e.g. Chrome, Safari] Version: [e.g. 22] No response
I'd like to pick this issue up
Any issue marked with the label is free to work on. We do not assign issues to anyone other than long-time contributors. If you would like to contribute and have not read the contributors docs, please do so here: If you have any issues with contributing, be sure to join us on the , or on the Happy coding

Your `p` element should have the class `error-msg`. ```js <del> assert.match(code, /(`|"|')<ps+class=("|')error-msg2>/) </del> <ins> assert.match(code, /(`|"|')<ps+classs*=s*("|')error-msg2>/) </ins> ``` Your `p` element should have the text `There was an error loading the authors`. ```js <del> assert.match(code, /(`|"|')<ps+class=("|')error-msg2>Theres+wass+ans+errors+loadings+thes+authors</p>1s*;?/) </del> <ins> assert.match(code, /(`|"|')<ps+classs*=s*("|')error-msg2>Theres+wass+ans+errors+loadings+thes+authors</p>1s*;?/) </ins> ```


Question:
A camper on the forum ran into an issue here They wanted to know why they couldn't pass with a regular function for the callback. the directions don't specify it should be an arrow function instead. but both answers should pass. So the tests should be updated. see explanation above see explanation above No response Device: [e.g. iPhone 6, Laptop] OS: [e.g. iOS 14, Windows 10, Ubuntu 20.04] Browser: [e.g. Chrome, Safari] Version: [e.g. 22] No response
Hi, Can I work on fixing this issue ? I would need some help in locally setting up so that I can test my code changes.

Your `.map()` method should take an empty callback function. ```js <del> assert.match(code, /arr.map(s*(s*)s*=>s*{s*}s*)/); </del> <ins> assert.match(code, /arr.map(s*((s*)s*=>|functions*(s*))s*{s*}s*)/); </ins> ``` You should use the `+=` operator on `playerCards.innerHTML`.

You should assign `arr.map()` to the `playerCards.innerHTML` using the `+=` operator. ```js <del> assert.match(code, /playerCards.innerHTMLs*+=s*arr.map(s*(s*)s*=>s*{s*}s*)/) </del> <ins> assert.match(code, /playerCards.innerHTMLs*+=s*arr.map(s*((s*)s*=>|functions*(s*))s*{s*}s*)/); </ins> ``` # --seed--


Question:
In the second paragraph of Step 47: Per my understanding of the text, the "or" (italic and bold) should be removed. There is nothing wrong with the testing for this step; it is just a typo. The "or" as pointed out above should be deleted. No response Device: [e.g. iPhone 6, Laptop] OS: [e.g. iOS 14, Windows 10, Ubuntu 20.04] Browser: [e.g. Chrome, Safari] Version: [e.g. 22] No response
Thanks for opening this issue. This looks something that can be fixed by "first time" code contributors to this repository. Here are the files that you should be looking at to work on a fix: List of files: Please make sure you read , we prioritize contributors following the instructions in our guides. Join us in or if you need help contributing, our moderators will guide you through this. Sometimes we may get more than one pull requests. We typically accept the most quality contribution followed by the one that is made first. Happy contributing.

In computer science, a <dfn>stack</dfn> is a data structure where items are stored in a <dfn>LIFO</dfn> (last-in-first-out) manner. If you imagine a stack of books, the last book you add to the stack is the first book you can take off the stack. Or an array where you can only `.push()` and `.pop()` elements. <del> The <dfn>call stack</dfn> is a collection of function calls stored in a stack structure. When you call a function, it is added to the top or of the stack, and when it returns, it is removed from the top / end of the stack. </del> <ins> The <dfn>call stack</dfn> is a collection of function calls stored in a stack structure. When you call a function, it is added to the top of the stack, and when it returns, it is removed from the top / end of the stack. </ins> You'll see this in action by creating mock call stack.


Question:
In step 28 of the date formatter project, the hint shows the solution, which is not hard to explain. This might not be ideal for learning, as a camper (especially a JS) beginner can go ahead and copy the solution from the hint without bothering to understand what the code does. ! N/A The solution should not be in the hint text because it can be described. We could go with something like this: If the text is too long, it is better to break the hint text and test into two. No response Device: [e.g. iPhone 6, Laptop] OS: [e.g. iOS 14, Windows 10, Ubuntu 20.04] Browser: [e.g. Chrome, Safari] Version: [e.g. 22] No response
The same text is in the description, it would make sense to change description to not give out answer at the start.
Based on the activity I have seen on the forum, I think campers will struggle with connecting "interpolate the , , , , and " with the desired format we are asking from them. I think it would be best to show them the desired format in the description. something like this for the description
So we should leave the hint as is and modify the description text?
for the hint text we could go with this
Ok. Let's open it up for contribution then.
This has been opened for contribution. The first comprehensive PR created will be reviewed and merged. We typically do not assign issues to anyone other than long-time contributors. If you would like to contribute and have not read the contributors docs, please do so here: If you have any issues with contributing, be sure to join us on the , or on the please use this for the updated description please use this for the updated hint text Happy coding

# --description-- <del> Inside the `case` for `mm-dd-yyyy-h-mm`, set the `textContent` property of `currentDateParagraph` to `${month}-${day}-${year} ${hours} Hours ${minutes} Minutes`. </del> <ins> When the user selects the `Month, Day, Year, Hours, Minutes` option from the dropdown, you need to display the date in the format `mm-dd-yyyy h Hours m Minutes`. Inside the `case` for `mm-dd-yyyy-h-mm`, use string interpolation to assign the formatted date from above to the `textContent` property of `currentDateParagraph`. Make sure to use the `month`, `day`, `year`, `hours`, and `minutes` variables in your answer. </ins> # --hints-- <del> You should assign `${month}-${day}-${year} ${hours} Hours ${minutes} Minutes` to the `textContent` property of `currentDateParagraph`. </del> <ins> Your answer should follow this format: `mm-dd-yyyy h Hours m Minutes`. Replace `mm`, `dd`, `yyyy`, `h`, and `m` with the `month`, `day`, `year`, `hours`, and `minutes` variables you created earlier. </ins> ```js const pattern = /cases*('|")mm-dd-yyyy-h-mm1s*:s*currentDateParagraph.textContents*=s*`(${month}-${day}-${year} ${hours} Hours ${minutes} Minutes)`/;


Question:
A camper on the forum was unable to pass the lesson this was their code the issue was here the tests only accept it if the label is on the next line like this see suggested fix down below about updating the editable regions see explanation above see explanation above No response Device: [e.g. iPhone 6, Laptop] OS: [e.g. iOS 14, Windows 10, Ubuntu 20.04] Browser: [e.g. Chrome, Safari] Version: [e.g. 22] No response
I remembered this issue here where there were issues with the newlines So, I feel like an easier fix would be to just fix the editable regions Here should be the new fix:
I'm going to flag this one for first-timers only.

return str.match(regex); } <del> --fcc-editable-region-- </del> function addEntry() { const targetInputContainer = document.querySelector(`#${entryDropdown.value} .input-container`); const entryNumber = targetInputContainer.querySelectorAll('input[type="text"]').length; const HTMLString = ` <ins> --fcc-editable-region-- </ins> <label>Entry ${entryNumber} Name</label>`; <ins> --fcc-editable-region-- </ins> } <del> --fcc-editable-region-- </del> ```


Question:
We should make the instructions a little clearer. Let's go with this suggestion from this forum post. ` see explanation above see explanation above No response Device: [e.g. iPhone 6, Laptop] OS: [e.g. iOS 14, Windows 10, Ubuntu 20.04] Browser: [e.g. Chrome, Safari] Version: [e.g. 22] No response
This has been opened for contribution. The first comprehensive PR created will be reviewed and merged. We typically do not assign issues to anyone other than long-time contributors. If you would like to contribute and have not read the contributors docs, please do so here: If you have any issues with contributing, be sure to join us on the , or on the Happy coding
I made a PR, but I can close it and let some else do it. It is a nice first time issue.
no worries. I am currently auditing some of the projects so there will be more first timers only issues coming up soon

You need to update the current song being played as well as the appearance of the `playButton` element. <del> Start by accessing the `userData` object and its `currentSong` property. Set its value equal to the `song` variable. </del> <ins> Assign `song` to the `currentSong` property on the `userData` object. </ins> *Note*: You should not use the optional chaining operator `?.` in this step because `userData.currentSong` will not be `null` or `undefined` at this point.


Question: The description nor the tests mention the answer needs to use as demonstrated by this forum post here It is clear that the camper understood the assignment. So I don't think they should be penalized for using instead of so the tests should be updated to accept both see explanation above see explanation above No response Device: [e.g. iPhone 6, Laptop] OS: [e.g. iOS 14, Windows 10, Ubuntu 20.04] Browser: [e.g. Chrome, Safari] Version: [e.g. 22] No response

Your `sortSongs` function should use arrow function syntax. ```js <del> assert.match(code, /consts+sortSongss*=s*(s*)s*=>s*{s*}s*;?/) </del> <ins> assert.match(code, /const|lets+sortSongss*=s*(s*)s*=>s*{s*}s*;?/) </ins> ``` # --seed--


Question:
I struggled with the error message, see screenshot below. The error message asks challengers to use the variable, which I clearly did. So, it was not only unclear why the code didn't pass the test, but also misleading because the error message does not point to the real problem here: a second argument for (arg1, arg2) is missing. Since the instruction also doesn't provide a clear description of the syntax of (), I suggest that the syntax information of () be to the instruction. Albeit a minor issue, because anyone can look it up, I believe it would still make the instruction clearer. The error message should alert the challenger about a necessary second argument to pass in () if the variable is already passed in as the first argument. ! Device: Laptop OS: Windows 11 Browser: FireFox Version: 125.0.1 (64-bit) No response
For the new updated description, we could use this js (base, exponent) js const base = 4; const exponent = 0.5; // returns 2 (base, exponent); as for the hint text, it looks like the tests are broken up into two for In this case, I think it would be better to just have one test like this js (getStandardDeviation.toString(), /standardDeviations=sMath.pow(svariances,s1s/s2s)/);
Why step-51 in codebase is different also there is 58 steps showing when im running freecodecamp locally.But here there is only 55 steps.
The project is in beta which means the steps will be changing. So a recent update was made to the stats calculator project which means the step numbers were updated.

# --description-- <del> To calculate a root exponent, such as $sqrt[n]{x}$, you can use an inverted exponent $x^{1/n}$. </del> <ins> To calculate a root exponent, such as $sqrt[n]{x}$, you can use an inverted exponent $x^{1/n}$. JavaScript has a built-in `Math.pow()` function that can be used to calculate exponents. Here is the basic syntax for the `Math.pow()` function: ```js Math.pow(base, exponent); ``` Here is an example of how to calculate the square root of `4`: ```js const base = 4; const exponent = 0.5; // returns 2 Math.pow(base, exponent); ``` </ins> Declare a `standardDeviation` variable, and use the `Math.pow()` function to assign it the value of $variance^{1/2}$.

assert.match(getStandardDeviation.toString(), /standardDeviations*=s*Math.pow(/); ``` <del> Your `standardDeviation` variable should use the `variance` variable. ```js assert.match(getStandardDeviation.toString(), /standardDeviations*=s*Math.pow(s*variances*,/); ``` Your `standardDeviation` variable should use the `1/2` exponent. </del> <ins> Your `Math.pow()` function should have a base of `variance` and an exponent of `1/2`. </ins> ```js assert.match(getStandardDeviation.toString(), /standardDeviations*=s*Math.pow(s*variances*,s*1s*/s*2s*)/);


Question:
We had camper that was able to pass the test for step 44 of the pyramid project. However, they created an infinite loop with recursion because of this code here the initial starting code does make it seem like you are supposed to write your code inside the function Here are the current editiable regions but it should be changed to this to make it clearer for beginners where to write their code see explanation above see explanation above No response Device: [e.g. iPhone 6, Laptop] OS: [e.g. iOS 14, Windows 10, Ubuntu 20.04] Browser: [e.g. Chrome, Safari] Version: [e.g. 22] No response
This has been opened for contribution. The first comprehensive PR created will be reviewed and merged. We typically do not assign issues to anyone other than long-time contributors. If you would like to contribute and have not read the contributors docs, please do so here: If you have any issues with contributing, be sure to join us on the , or on the Happy coding
Can you please tell me where the file is in the repo?

const count = 8; const rows = []; <del> --fcc-editable-region-- </del> function padRow() { } <ins> --fcc-editable-region-- </ins> padRow(); --fcc-editable-region--


Question:
We should add scripts for running Playwright tests. In the root level , add these two scripts:
playwright and to the root level and passed all the tests need review to be merged @ you can check the pr

"test-tools": "jest tools", "test-utils": "jest utils", "postinstall": "cypress cache prune", <del> "prepare": "husky" </del> <ins> "prepare": "husky", "playwright:run": "playwright test", "playwright:watch": "playwright test --ui" </ins> }, "dependencies": { "dotenv": "16.4.5"


Question:
Wording in the description suggests a random number will appear in the console. The number generated is not random. It is a result of the calculation of the number of millisecond elapsed since January 1, 1970 00:00:00 UTC Remove the following text: On a new line, the following text to appear: ! Device: [e.g. iPhone 6, Laptop] OS: [e.g. iOS 14, Windows 10, Ubuntu 20.04] Browser: [e.g. Chrome, Safari] Version: [e.g. 22] No response
Hi, Can you mention the files where this change should be made.
This could be simplified to say "Open up the console to see the result"
This has been opened for contribution. The first comprehensive PR created will be reviewed and merged. We typically do not assign issues to anyone other than long-time contributors. If you would like to contribute and have not read the contributors docs, please do so here: If you have any issues with contributing, be sure to join us on the , or on the js (()); // ` Happy coding

console.log(Date.now()); // 1628586800000 ``` <del> To see the new result, click on the `"Add New Task"` button. Then add a title of `WALK DOG` and click on the `"Add Task"` button. Open up the console to see the result with a random number added. </del> <ins> To see the new result, click on the `"Add New Task"` button. Then add a title of `WALK DOG` and click on the `"Add Task"` button. Open up the console to see the result. </ins> # --hints--