Skip to content

Juddinnn/2216207-WebTechIndividualAssignment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

2216207-WebTechIndividualAssignment


Describe the JavaScript interaction that you have created for the 1-page website.

The interaction has been used is the "Scroll Back to the Top" button. How this button works is it becomes visible when the user starts to scroll down the page.

The button will only be visible after scrolling 20 px down and will be at the bottom right of the website page. (The function : window.onscroll = function() {scrollFunction()};)

It uses the function "document.body.scrollTop=0;" for Safari or "document.documetElement.scrollTop=0; for Chrome, Firefox, IE and Opera.

For further details go to the link : https://www.w3schools.com/howto/howto_js_scroll_to_top.asp


List out your references to create your 1-page website. LINK: https://www.w3schools.com/howto/howto_js_scroll_to_top.asp https://youtu.be/oYRda7UtuhA?si=Mb1KfBDeqWkzk5pO https://youtu.be/PgAZ8KzfhO8?si=-Td33vCrGrurXlTB

About

IndividualAssignment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors