Files
Nicholas Carrigan (he/him) 2cfa1d3bcd chore: rename css skyline (#44211)
* chore: rename files

* chore: update codebase

* chore: proper title case

* chore: block name

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2021-11-20 08:34:21 -06:00

1.1 KiB

id, title, challengeType, dashedName
id title challengeType dashedName
5d822fd413a79914d39e98cd Step 5 0 step-5

--description--

In CSS, you can target everything with an asterisk. Add a border to everything by using the * selector, and giving it a border of 1px solid black. This is a trick I like to use to help visualize where elements are and their size. You will remove this later.

--hints--

You should use the * selector.

assert.exists(new __helpers.CSSHelp(document).getStyle('*'));

You should use the border property to style all the elements.

assert(new __helpers.CSSHelp(document).isPropertyUsed('border'));

All elements should have a 1px solid black border.

const astStyles = new __helpers.CSSHelp(document).getStyle('*');
assert.equal(astStyles?.border, '1px solid black');

--seed--

--seed-contents--

<!DOCTYPE html>
<html>    
  <head>
    <title>freeCodeCamp Skyline Project</title>
    <link href="styles.css" rel="stylesheet" type="text/css" />
  </head>

  <body>
  </body>
</html>
--fcc-editable-region--

--fcc-editable-region--