Learn CSS Flexbox by Building a Photo Gallery - Step 3

Tell us what’s happening:
the link tag in the head is correct but still not accepted.
Your code so far

<!-- file: index.html -->

<!-- User Editable Region -->

<!DOCTYPE html>
<html lang="en">
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Photo Gallery</title>
    <link href ="styles.css" rel = "stylesheet" />

<!-- User Editable Region -->

/* file: styles.css */

Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36 Edg/114.0.1823.51

Challenge: Learn CSS Flexbox by Building a Photo Gallery - Step 3

Link to the challenge:

the spaces are wrong. to give an attribute a value it should be without space like:


Although it should and would work in a browser with a “normal” HTML file, when testing we often have to use regex and they are often not as lenient as the browser.

The regex in the test is not expecting a space.


From a code formatting perspective, the space is also not something you want.

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.