Skip to content

arcin/simons-says

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

P7 JavaScript Ajax And jQuery

##Learning Competencies

  • Write custom event handlers in JavaScript and jQuery
  • Use AJAX actions to change views based on async data
  • Use JSON to pass data via and AJAX call and modify the DOM

##Summary

For this challenge, your task is add jQuery to the provided skeleton simon-says directory to mimic the behavior shown in this exciting video NOTE: Each new color is added after the user clicks the "Click Me' button.

##Releases

###Release 0 :

Modify the shell code to implement the following functionality:

  • Clicking on the 'Click Me' button submits an AJAX request to the '/colors' route
  • return a JSON object the server with a random color and cell number
  • change the background color of the cell number returned to the color - WITHOUT MODIFYING THE HTML

##Optimize Your Learning

When you are done, make sure:

  • Your code produces a game that runs the same as the one in the video
  • Your code is well factored
  • You can clearly explain each how your code meets each of the Learning Goals above

##Resources

simons-says

simple js app

About

simple js app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published