You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 1, 2022. It is now read-only.
Thank you for opening this issue, @amyschoen. This is a tricky one to fix. As you probably know, the way that Learning Lab is checking for the CSS is with regex.
So far, we've been walking a fine line, trying to balance:
Gates that are TOO specific, and block users when the code would function
Gates that are not specific enough, and allow users to move on without accomplishing the learning objective
After playing around with a bit of regex, this may be one improvement option: (<link rel="stylesheet" href="style.css">)(.+)?(\n+)?(.+)?(\n+)?(.+)?(<\/head>) (in this part of the config).
I didn't know that regex was being used, but that makes a lot of sense. What flavor of regex are you using? Is it JS since things are written in node? That should suffice, but could likely be simplified a bit.
I didn't know that regex was being used, but that makes a lot of sense. What flavor of regex are you using? Is it JS since things are written in node? That should suffice, but could likely be simplified a bit.
I believe it is JS, but would recommend testing to be sure.
Bug Report
Current behavior
I purposely added the CSS in the wrong part of the HTML file, and the step completed successfully.
Reproduction
Steps to reproduce the behavior in the course:
Expected behavior
I would expect that the bot would detect that this is not in the correct spot and give feedback on how to fix it.
Possible solution
If you have suggestions, we'd love to hear them. If not, that's ok too.
Additional context
Learning Lab v0.5.0
/cc @crichID @brianamarie @hectorsector @JasonEtco
The text was updated successfully, but these errors were encountered: