Skip to content

FEWDMaterials/simplepopup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

YOU ARE TO CREATE A SIMPLE POPUP

    If user clicks the 'popup' button, show popup
    If user clicks the 'x' button, hide popup
    If user clicks the 'Ok' button, hide popup

	PHASE 1:
		* w/partner: SIMPLY __COMMENT__ out all these lines of code 
		  so that you are clear as to what is happening. feel free to console.log
		  as you see fit
	
	PHASE 2:
        * If user clicks the 'popup' button, show popup
        * If user clicks the 'x' button, hide popup
        * If user clicks the 'Ok' button, hide popup

	PHASE 3:
        * create a concept of "isAck" which will not show the popup if the user
        * clicks the 'Ok' button

	PHASE 4:
        * imagine this is a 'cookie warning' popup. Display the popup as soon as page loads, if the user clicks 'ok' do not show the popup again
        * ...this means if the user reload the page, popup should not show up
        * if the user clicks 'x', hide the popup but if user reloads show the popup again

About

simple popup pset

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors