IanLunn / IanLunn/Sequence

Add "no-js" class to Sequence element

Open
#270 0 comments 0 reactions 0 assignees View on GitHub
General Improvements
Dominant language
JavaScript
Stars
3.3k
Forks
470
PR merge metrics
No merged PRs in 30d

Description

Like Modernizr, add functionality to allow a Sequence element to be given the class `no-js` when JavaScript is disabled. Remove this class when Sequence is initiated.

This will make writing styles for non JS/JS a little more intuitive.

Contributor guide

Open the contributing guide

Research direction

Start at the Sequence element initialization code and inspect how its classes are currently handled. Add the no-js class before initialization and remove it when Sequence starts; done means the class reflects whether JavaScript has initialized the element.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.