Comments (8)
One option could be trying to join the two, when that's possible. Taking the same example as above:
- One specific user story, using in test the exact values as in the user story.
When the #search-input element contains the value Red and the #search-button element is clicked, an alert should appear with the text "Pokémon not found"
- One generic user story, where test should be essentially the same as in the specific case, but using different value to search.
When searched text is not a Pokémon name, an alert should appear with the text "Pokémon not found"
from freecodecamp.
note, it's not only an issue for the Pokémon search app, I have seen this for the palindrome checker and the roman numeral converter too
from freecodecamp.
Yeah, campers seem to be struggling really hard with how to create original functions that meet the user story outcomes here.
This isn't wholly surprising, as up to the point where they get to the first project (and some of the later projects) they no longer encounter places where we ask them to generate small functions to accomplish a task. I think the fix is twofold. One, we need to test for and prohibit testing to the solutions. Second, we need to give campers smaller opportunities to build single functions from scratch that meet a tested objective - maybe something that looks like https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/#basic-javascript 🙃
from freecodecamp.
Yeah something like that basic JavaScript path would be great before we get to the html/css/javascript projects considering their bulky size.
As for the prohibiting testing to the solutions, I like the idea of a hidden test with additional inputs the code is tested against rather making all the tests generic. Some specific actual tests are nice so we can run the code right there and see a response in the console. If they're not coding just towards the solution, then those additional inputs will work and everything will be fine.
from freecodecamp.
Yeah something like that basic JavaScript path would be great before we get to the html/css/javascript projects considering their bulky size.
that is why the new intro project is being created
freeCodeCamp/CurriculumExpansion#374
from freecodecamp.
I vote for this approach
One option could be trying to join the two, when that's possible.
A combination of generic and specific user stories would be ideal
from freecodecamp.
That's a good project but it's one project though. I'm proposing that we give back the campers the opportunities to do many small one off functions to practice open ended problem solving before they get to the certification projects.
from freecodecamp.
Related Issues (20)
- [UI Components] Update the CSS of hover and focus states of CloseButton HOT 6
- C# exam: trophy names listed as missing prerequisites are not translatable
- Update hint text Spreadsheet Step 31 HOT 3
- Most common incorrect answers for step-1 HOT 4
- Run Test Button Broken HOT 6
- Zombie Headless Browser challenges
- URL validator should account for ipv6 HOT 2
- Building a Spreadsheet - Step 100 (Random Property) HOT 5
- Clearer Instructions - Step 61 of the JS (Beta) Certification - Calorie Counter Project HOT 1
- The intro text is shown twice in the user journey
- Removing Monospace from titles HOT 1
- Add msusername to get-session-user
- Unclear compilation error in Python course with keyword typo HOT 6
- [UI Components] Remove border width override from Tabs HOT 1
- Missing space between certifications sections on Settings page
- All tests for the `for...of` loop in the Dice game should allow campers to use `let` or `const` HOT 1
- [UI Components] Use ByRole query Dropdown tests HOT 2
- ui suggestion: replace existing loading animation by animated freeCodeCamp logo HOT 1
- Add example to show campers basic markup structure for step 17 of RPG project HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from freecodecamp.