I tried using color keywords, hex, rgb or hsl but the code . Is there a bug on step 50? The gradient from red to green is visible with the code I wrote, why is it not accepted?
Hi @Sriracha02
first of all, after the “90deg” should follow at least 2 colors that will create the color gradient
you wrote “0” for the first color and “0” for the second color. writing just zero does not correspond to any color in CSS
of all the different ways to represent color in CSS, taught inside the “CSS Color Markers” section of the (New) Responsive Web Design course, writing zero will not output any color in CSS
also in this step 50, if you read what is requested with attention, at this point to solve this step is only asked to write “90deg” and in the next lessons the colors, to create the gradient, will be added
" First, in the .red CSS rule, set the background property to linear-gradient() , and pass it the value 90deg as the gradientDirection ."
also the solution to this step has been provided by @Cryptic_X in this same post
Thanks for the response. I am stuck at the concept of just entering 90deg in the value, as I tried to remove the two sets of “0” out of the code and it’s not letting me through.
Can I request for more assistance so I can better understand what my issue is at this stage?
I understand that you’re already telling me that the question is not yet asking me to include the colours in the code, but I’m not sure where I’m making the mistake and really confused.
Hopefully I’m giving enough insight to my newbie situation.
The code should have worked for you, try resetting and doing again.
If this still does not work try your code in a different browser or in an incognito window.
It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.
We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.