question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Please change all CodePen example projects to use projectName instead of project_name.

See original GitHub issue

Challenge Name

All CodePen challenges that use the testable projects code

Issue Description

Over at https://github.com/freeCodeCamp/testable-projects-fcc we are cleaning up the code to make sure all ESLint warnings are fixed. We are finished, except for one variable name project_name that should be renamed to camel case. We need all of the CodePen example projects to make this change before we can finish the change in our file.

For example, you’ll find the following at the top of the D3 Tree Map Pen

const project_name="tree-map"

It should be changed to

const projectName="tree-map"

Note we have already changed the code on our side to accept either variable name. As soon as all the CodePens are changed to use the new name, we will delete the old name and our project will 100% pass all ESLint checks. At which point we can add the ESLint checking to our Travis CI build, and make sure all future PRs adhere to our coding standards.

If the maintainers of the individual CodePens can please let us know in the comments when they have changed their code, I will keep track of what has been finished and when we can make the change on our side.

Thanks in advance for your help on this.

Browser Information

N/A

Your Code

N/A

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
tchaffeecommented, Oct 9, 2017

This is finished now. All the CodePens have been backed up and the variable name changed. The code in testable-projects has also been updated (https://github.com/freeCodeCamp/testable-projects-fcc/issues/214) and everything is working.

1reaction
QuincyLarsoncommented, Sep 11, 2017

@tchaffee Thanks for your patience. All of these projects should be forked and maintained in the freeCodeCamp CodePen account. @raisedadead has full access to it, and I can give you full access to it, too, if you want. We just need to be careful not to delete any existing projects in there because production references these. I’ll send you an email.

Read more comments on GitHub >

github_iconTop Results From Across the Web

CodePen Projects
Projects accept all kinds of front-end related file types, like HTML, CSS, ... Just name the file, for example, with the file extension...
Read more >
Getting Started with CodePen: A Beginner's Guide to CodePen
Interested in CodePen ? Just getting started? Want to level up? In this video we'll show you how to use CodePen (https:// codepen.io/)...
Read more >
Develop codepen.io like HTML, CSS, Javascript editor
Hello everyone,In this Javascript Project tutorial video we are going to develop a real time HTML editor like codepen io, where users don't ......
Read more >
Tribute Page CodePen Testing Issues - HTML-CSS
Once I put CSS code in, I hit “Run Tests” and it says “Testings 1/10” yellow button. It won't go away, won't let...
Read more >
Changing a Project's Name, Description & Avatar
You can use the project options menu to change your project's name, ... Every Glitch project has the following options that you can...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found