Files
Nicholas Carrigan (he/him) a73cffdc63 chore: rename photo gallery (#44204)
* chore: rename files

* chore: update codebase

* chore: proper title case

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2021-11-20 00:05:22 -06:00

1.2 KiB

id, title, challengeType, dashedName
id title challengeType dashedName
61537bb9b1a29430ac15ad38 Step 3 0 step-3

--description--

Within your head element, add a title element with the text set to CSS Flexbox Photo Gallery, and a link element to add your styles.css file to the page.

--hints--

Your link element should have an href attribute with the value styles.css.

assert.match(code, /<link[\s\S]*?href=('|"|`)(\.\/)?styles\.css\1/)

Your code should have a title element.

const title = document.querySelector('title');
assert.exists(title);

Your project should have a title of CSS Flexbox Photo Gallery.

const title = document.querySelector('title');
assert.equal(title?.text?.trim()?.toLowerCase(), 'css flexbox photo gallery')

Remember, the casing and spelling matter for the title.

const title = document.querySelector('title');
assert.equal(title?.text?.trim(), 'CSS Flexbox Photo Gallery');

--seed--

--seed-contents--

--fcc-editable-region--
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    
  </head>
  <body>
  </body>
</html>
--fcc-editable-region--