Giter Site home page Giter Site logo

jqueryvacation's Introduction

##jQuery Project

##Purpose The purpose of this day project is practice setting up an HTML/CSS Site and manipulating the DOM by use of jQuery. The student will get an opportunity to slide, fadeIn, hide, and append components through the use of event listeners.

##Directions

  • Fork and clone this repository.

  • Take some time to look over this terrible looking vacation site. Notice that there are several places of opportunity for the use of jQuery. The menu button, the scam button, the list of links, the arrows for sliding the images, and even the images themselves offer opportunity to play around with jQuery.

  • When you are ready, using script tags, call in the jQuery library using its CDN. Also, be sure to connect the app.js file using script tags.

  • In the app.js file, start by verifying that the document is ready and has been completely loaded by using an event listener. It should look something like this.

$(document).ready(function() {
    //This is where you will put your code to manipulate your components.
});
  • Now, as for styling and DOM manipulation, that is completely up to you. I am merely providing you with ideas and suggestions. So please, make use of jQuery to accomplish whatever it is you would like to do to this site. And most importantly have fun!

##Ideas

  • Creating a menu, so that you can slideToggle in a menu bar when the menu button has been clicked.

  • When you click on the scam button "Click Here", have a small animated dancing man pop up.

  • By clicking on the Useful Links element, toggle between showing and hiding the actual links.

  • When you click either of the arrows next to the images, have the images fade off the screen and have new ones fade in from the opposite side.

  • When you click on the images, have a modal pop up explaining the vacation destinations a bit further, or have the images flip around so you can see the backside where text can be visible.

  • If you incorporate an exit button on the images, it can remove the image or replace it with another image.

-Do as much as you like. Get creative. Have fun!

##More practice If you need more practice, take the weekend, and create a game using jQuery. If you need help there are many tutorials online in terms of creating simple games using jQuery.

##Copyright

(c) Montana Code School, 2016.

jqueryvacation's People

Contributors

npm1514 avatar

Watchers

James Cloos avatar Lauren Nichols avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.