Learn CSS Transforms by Building a Penguin - Step 5

Tell us what’s happening:

I’ve tried searching in the help forums, but even the fix I’ve made hasn’t helped. Updated Chrome, disabled any extensions…I just get this error saying:

“You should give body an overflow of --fcc-expected–. But found --fcc-actual–.”

Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
  
  <head>
    <meta charset="UTF-8" />
    <link rel="stylesheet" href="./styles.css" />
    <title>Penguin</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  </head>

  <body>
  </body>
</html>
/* file: styles.css */

/* User Editable Region */

body {
  background: linear-gradient(45deg, rgb(118, 201, 255), rgb(247, 255, 222));
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100vh;
  overflow: clip; 
}

/* User Editable Region */

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36

Challenge Information:

Learn CSS Transforms by Building a Penguin - Step 5

Welcome to the forum @nicolelogan

Try using hidden instead of clip

Happy coding

1 Like

if you check the console you see the hint with the correct values, it’s a small bug, it will be fixed soon

1 Like

Thanks so much! Don’t know why I didn’t think to try ‘hidden’. lol Worked for me :slight_smile:

2 Likes

Ah, okay thank you! I’ll check the console in the future, should I need it.