ID vs. Class in Accordeon API-Doc
Open
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 138
- Forks
- 113
- PR merge metrics
- No merged PRs in 30d
Description
On http://api.jqueryui.com/accordion/
the Example states
<div id="accordion">
<h3>First header</h3>
<div>First content panel</div>
<h3>Second header</h3>
<div>Second content panel</div>
</div>
But the node #accordion is always referenced as ".accordion" in later steps.
For example:
$( ".selector" ).accordion({
active: 2
});
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Open the Accordion API documentation at http://api.jqueryui.com/accordion/ and compare the example's #accordion markup with the later .selector references. Make the selector usage consistent throughout the example and API text, then verify the rendered documentation shows the corrected references.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- jquery
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100