This repository has been archived by the owner on May 30, 2023. It is now read-only.
Technical Documentation Page - SmoothScroll script conflict with test suite script #650
Labels
other: decayed
Stale issues that need follow up from commentators. Should be closed in 7 days of no activity.
Issue Description for the Technical Documentation Page
I included a script for a smoothScroll navigation of navbar links but it generates an error and only passes 15 out 16 tests. If I remove the smoothScroll I pass 16 out of 16 tests.
The message from your test script stipulates: "...the element with id="navbar" should be shown on the left half of the screen." and "window.scroll is not a function
TypeError: window.scroll is not a function".
-> The navbar is on the left of the screen
Browser Information
Your Code / Link to Your Pen
https://codepen.io/alexdisdier/pen/NOYxxb (without the smoothScroll script - passing all the test s suite)
https://alexdisdier.github.io/vcard-documentation/ (with the smoothScroll script - failing one test)
The text was updated successfully, but these errors were encountered: