Coder Social home page Coder Social logo

fe-jquery-exploring-selectors's Introduction

Code Challenge - Exploring jQuery Selectors

In this challenge you will work in groups to practice using jquery to select different elements in the page using all of the different jQuery selectors available.

Steps

  1. Fork this repository.
  2. Clone your fork.
  3. cd into the folder for this project.
  4. open index.html in the browser and bring up the developer tools.
  5. open this folder in your code editor.
  6. In js/selectors.js and write the code neccesary to select 5 different elements from the index.html page and apply the class of pinky to them. Make use of the CSS selectors documented at the link here. You can use the addClass() method documented here, or wrap() method documented here to apply the css class of pinky to selected elements. Don't forget to use the developer tools to explore elements relationships to each other and to find ways of selecting them.

Bonus: Use jQuery traversal methods to select one element and then switch selection to another element based on their location to each other in the DOM, documented at the link here.

Resources

fe-jquery-exploring-selectors's People

Contributors

aprietof 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.