Giter Site home page Giter Site logo

ci-jquery-traversingsideways2's Introduction

jQuery - Traversing DOM Sideways

Instructions:

Challenge 2

Return to the cards page

Give the paragraphs inside the cards a display: none; Use slideDown to display the card paragraphs when the card_image is clicked.

example of the code

Challenge 3

When a card is clicked on, the background color is highlighted – e.g., set background-color to pink via adding a new class. When the card is clicked again, it is unhighlighted

Challenge 4

Add two more nav elements to the nav bar, select and all. When select is clicked, all panels disappear except those highlighted by clicking on them. It is a difficult challenge. Think about what is different about the highlighted panels. How could we select only those without the highlighting? Then make all the panels reappear by clicking all. A lot is going on here, but this combining of functions and selections is what makes jQuery so powerful. Take your time to understand what’s happening before moving on to the next section.

ci-jquery-traversingsideways2's People

Contributors

pawodyk avatar

Watchers

 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.