New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incomplete details about how to complete challenge : Create String using Template literal #17633
Comments
Hmmm, the code appears to be correct in seed, but is not formatted correctly in the webpage. |
@Nirajn2311 Also check this challenge , it has kind of simlar problem (see |
I’ll see what I can do about the typos. |
@Bouncey The issue with |
@mpmaan, thank you for pointing out the issue with the formatting caused by MathJax. That was my fault for not checking how it affected all the challenge descriptions outside of the Interview Prep sections. You're right that there is still an issue with this challenge due to the regex in the test being to specific. You can follow the discussion here: #16358 I plan on submitting a fix from one of my comments in that issue. |
@scissorsneedfoodtoo thanks, i am sorry for creating duplicate issue. |
@mpmaan, no worries! Better a duplicate issue than one going completely unreported. Good looking out! |
Hi im looking for anyone willing to help me out with some training tips and how i can improve myself at code entry's |
Describe your problem and - if possible - how to reproduce it
It is not mentioned that we should use
map()
function to solve it. The test Template strings were used fails if we use a for-loop to solve this challenge. I could pass it by using onlymap()
function.This code works
This doesn't work
Most probably the regex test fails because of the
[
and]
characters while using for-loop.Also, the
$
characters are not rendered properly in the given example in the guide.The example should have
${person.name}
and${person.age}
.Add a Link to the page with the problem
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/es6/create-strings-using-template-literals/
Tell us about your browser and operating system
If possible, add a screenshot here
The text was updated successfully, but these errors were encountered: