Skip to content
This repository was archived by the owner on Sep 25, 2019. It is now read-only.

fix(challenges): fix flex direction row regex#261

Merged
scissorsneedfoodtoo merged 1 commit intofreeCodeCamp:devfrom
joshalling:fix/flex-direction-regex
Aug 24, 2018
Merged

fix(challenges): fix flex direction row regex#261
scissorsneedfoodtoo merged 1 commit intofreeCodeCamp:devfrom
joshalling:fix/flex-direction-regex

Conversation

@joshalling
Copy link
Copy Markdown
Member

ISSUES CLOSED: #260

Description

I improved regex for this challenge a little bit by ensuring the flex-direction declarations are in the right rules while also removing the line number restriction.

I also thought about using jQuery in the tests, but that is not possible here because row is already the default value of flex-direction, so you could pass the challenge without doing anything.

Pre-Submission Checklist

  • Your pull request targets the dev branch.
  • Branch starts with either fix/, feature/, or translate/ (e.g. fix/challenge-tests)
  • All new and existing tests pass the command npm test.
  • Use npm run commit to generate a conventional commit message.
    Learn more here: https://conventionalcommits.org/#why-use-conventional-commits
  • The changes were done locally on your machine and NOT GitHub web interface.
    If they were done on the web interface you have ensured that you are creating conventional commit messages.

Checklist:

  • Tested changes locally.
  • Addressed currently open issue (replace XXXXX with an issue no in next line)

Closes #260

@scissorsneedfoodtoo scissorsneedfoodtoo merged commit 25ea07e into freeCodeCamp:dev Aug 24, 2018
@scissorsneedfoodtoo
Copy link
Copy Markdown
Contributor

@joshalling, thank you for documenting this issue and submitting this fix! Checked it out and everything LGTM 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

flex-direction row challenge regex bug

2 participants