Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll

- 2x 2x
- 1.75x 1.75x
- 1.5x 1.5x
- 1.25x 1.25x
- 1.1x 1.1x
- 1x 1x
- 0.75x 0.75x
- 0.5x 0.5x
Here's a challenge: add another sticky element to the site. In addition to making the navigation bar stick, you'll make another page element stick as the user scrolls the page.
Challenge Tasks
- On the work.html file, stick the "Want us to work on your project?" sentence when it is scrolled to the top of the browser window.
- Add an email link after the "Want us to work on your project?" when that sentence is stuck to the top of the page.
- Remove that email link when the sentence is "unstuck."
- Make CSS change to make sure content doesn't appear underneath the sentence.
Resources
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up-
Toni Dzalto
21,667 PointsWhy does my ".is-sticky .grid-full h5" not change color to yellow?
Posted by Toni DzaltoToni Dzalto
21,667 Points1 Answer
-
Gary Calhoun
10,317 Points2 Answers
-
Chris Shaffer
12,030 Points4 Answers
View all discussions for this video
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up