Tell us what’s happening:
I am getting an error message that states: " Test: Sorry, your code does not pass. Hang in there.; Hint: The
body elements should be siblings.
From what I see, they are in line with each other as siblings. I tried moving on to this assignment because I was getting a similar error message on the Rothko painting assignment and couldn’t get past the first step there either, with exactly the same code.
I did see this question was answered previously, but the response there was something I have already tried…
I have refreshed the page to see if it would accept the answers and I also reset the code, re-entering it several times. None of this has worked for either assignment. How can I rectify this issue so that I can continue this section of the certification?
Your code so far
<!-- file: index.html --> <!DOCTYPE html> <html lang="en"> <head> </head> <body> </body> </html>
/* file: styles.css */
Your browser information:
User Agent is:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:107.0) Gecko/20100101 Firefox/107.0
Challenge: Learn CSS Flexbox by Building a Photo Gallery - Step 1
Link to the challenge: