Internal vs. Inline JS and CSS
Open
Nobody has claimed this yet.
needs discussion
- Dominant language
- Nunjucks
- Stars
- 547
- Forks
- 726
- Avg merge
- 2h 23m
- Merged PRs (30d)
- 3
Description
I don't think 'inline' is an accurate term for what's described on QUICK TIP #001—INLINE MINIFIED CSS and QUICK TIP #002—INLINE MINIFIED JAVASCRIPT.
An internal stylesheet is where you don't have an external CSS file,
but instead place your CSS inside a <style> element, contained inside the HTML head.
Inline styles are CSS declarations that affect one element only,
contained within a style attribute:
I think for JS as well, inline implies something like a click handler on an element:
<button onclick="console.log('clicked');">Click me</button>
Contributor guide
No contributing guide indexed for this repository
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
Start with QUICK TIP #001—INLINE MINIFIED CSS and QUICK TIP #002—INLINE MINIFIED JAVASCRIPT, then compare their terminology with the linked MDN reference. Update the wording where needed to distinguish internal and inline usage, and confirm both quick tips and their examples remain consistent.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css, javascript
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100