mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-01-06 06:01:31 -05:00
fix(curriculum): remove test for dashed borders in design business card lab (#59095)
This commit is contained in:
@@ -23,7 +23,7 @@ Fulfill the user stories below and get all the tests to pass to complete the lab
|
||||
1. The first `p` element should contain your name.
|
||||
1. The second `p` element should contain your designation.
|
||||
1. The third `p` element should have your company name.
|
||||
1. There should be an `hr` element below the `p` element containing your company name. The `hr` element in general should have a `1px` dashed top border in `slategray` color.
|
||||
1. There should be an `hr` element below the `p` element containing your company name.
|
||||
1. After the `hr` element, there should be two `p` elements. In the first `p` element, you should have an email address as the text. In the second `p` element, the text should be a phone number. After the two `p` elements, there should be an `a` element with the text `Portfolio` pointing to any valid link. Add an `hr` element after the `a` element containing the portfolio link.
|
||||
1. You should have another `div` with the `class` `social-media`. Within this element, there should be an `h2` element with the text `Connect with me`.
|
||||
1. Inside the `social-media` `div`, there should be three `a` elements. The `a` elements should have the text `Twitter`, `LinkedIn` and `GitHub` respectively with links to valid websites.
|
||||
@@ -202,15 +202,6 @@ After the third `p` element with the `class` `company`, there should be an `hr`
|
||||
assert.exists(document.querySelector('p.company + hr'));
|
||||
```
|
||||
|
||||
The `hr` elements should have a `1px` dashed top border in `slategray` color.
|
||||
|
||||
```js
|
||||
assert.oneOf(
|
||||
new __helpers.CSSHelp(document).getStyle('hr').getPropVal('border-top'),
|
||||
['1px dashed slategray', '1px dashed slategrey']
|
||||
);
|
||||
```
|
||||
|
||||
After the first `hr` element, there should be a `p` element with an email address as your text.
|
||||
|
||||
```js
|
||||
@@ -415,7 +406,6 @@ a:hover {
|
||||
}
|
||||
|
||||
hr {
|
||||
border-top: 1px dashed slategray;
|
||||
margin: 20px 0;
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user