Technical Documentation Project - Test Error
See original GitHub issueI’ve been streaming going through the freeCodeCamp curriculum, and came across a bug today.
During this project, the user story for User Story #4: Each section element with the class of main-section should also have an id that corresponds with the text of each header contained within it. Any spaces should be replaced with underscores (e.g. The section that contains the header "Javascript and Java" should have a corresponding id="Javascript_and_Java").
When adding in content for my sections, sometimes there was punctuation in the title. When the tests run, they fail if I’ve taken the punctuation out of the slugs I’ve created.
It would probably be helpful to add some content to the user story letting people know not to use punctuation in class and id names, and to have the test parse out the punctuation when users are creating the url slugs for their links.
Tell us about your browser and operating system
- Browser Name: Chrome
- Browser Version: Version 68.0.3440.106 (Official Build) (64-bit)
- Operating System: Windows 10 Home
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:7 (5 by maintainers)
Top GitHub Comments
Same thing here. Had to remove ** ? ** on my titles.
https://codepen.io/akmalist/pen/GXXQmd
@RandellDawson OK