css-examples icon indicating copy to clipboard operation
css-examples copied to clipboard

Incorrect starting point file for "Test your skills: Selectors"

Open TripleCamera opened this issue 1 year ago • 0 comments

What was incorrect, unhelpful, or incomplete?

https://github.com/mdn/css-examples/blob/82dc5e69fa9b5db32c794dbeb794df5a0e0ac007/learn/tasks/selectors/attribute-links-download.html#L48

What did you expect to see?

https should be http.

Test your skills: Selectors requires the learner to write a CSS rule targeting "the <a> element with an href value starting with https". This rule was not supposed to select "Link 2" because it had started with http. However, a fix that replaces all http with https breaks this file.

Should we simply fix this? Or should we rewrite the task to avoid http links? I'm afraid that a later replacement for http links would break this file again.

Do you have any supporting links, references, or citations?

No response

Do you have anything more you want to share?

No response

TripleCamera avatar Sep 17 '24 10:09 TripleCamera