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
[beta] Unneccessary semicolon in "Functional Programming: Apply Functional Programming to Convert Strings to URL Slugs" #13171
Comments
Hi, @Greenheart. Can I work on it? It is my first time. Thank you |
@Quinn-H Sure! 😄 |
i would like to help a bit i am not the best but i am good at finding bugs let me know if i can help |
@bigkatspence This issue is assigned to @Quinn-H, but if you want to help out, there's plenty of things that we really would appreciate:
Or, the most fun one: Help beta-test the new curriculum over at https://beta.freecodecamp.com and report any bugs you find here. This is a great way to learn new things while getting open source contributions. Hope that helps! If you need anything, please come chat with us in /Contributors on Gitter. Happy coding! 😄 |
Hi, @Greenheart I deleted Unnecessary semicolon and created a pull request. Thank you. And I also found the answer you wrote for this challenge isn't right, you forgot
|
@Quinn-H Thanks for helping out! 😄 I solved it by splitting on // the global variable
var globalTitle = "Winter Is Coming";
// Add your code below this line
function urlSlug(title) {
return title.slice()
.trim()
.split(/\s+/)
.map(word => word.toLowerCase())
.join('-');
}
// Add your code above this line
var winterComing = urlSlug(globalTitle); // Should be "winter-is-coming" |
Challenge apply-functional-programming-to-convert-strings-to-url-slugs has an issue.
The editor's linter complains about an unnecessary semicolon - see the comment in the code above.
If you want to fix this, please read CONTRIBUTING.md to get started.
When you're all set, replace this line with the following, and make your commit.
"}",
If you have any questions, please come chat with us in the Contributors Chat Room.
Happy Coding! 😄
The text was updated successfully, but these errors were encountered: