Question: Open the styles.css file and locate the sticky comment and create a style rule for the sticky class selector with the following rules: Add a
Open the styles.css file and locate the "sticky comment and create a style rule for the sticky class selector with the following rules:
Add a declaration for the position property with a value of webkitsticky.
Add a declaration for the position property with a value of sticky.
Add a declaration for the top property and specify a value.
Refresh your page, and scroll down to view the changes. In the index.html file, use the empty paragraph element within the sticky div element to briefly explain how to use the sticky position.
I have written
sticky
sticky
position: webkitsticky;
position: sticky;
top: ;
The program keeps saying
Status: FAILED!
Check:
Test: Add a declaration for the position property with a value of sticky
Reason: Assertion failed: The position property does not have a value of sticky.
Error : AssertionError The position property does not have a value of sticky.
Timestamp: ::
Status: FAILED!
Check:
Test: Add a declaration for the top property and specify a value
Reason: Assertion failed: The top property does not have a value of
Error : AssertionError The top property does not have a value of
Timestamp: ::
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
