Giter Club home page Giter Club logo

jquery-selectors-lab-v-000's Introduction

jQuery Selectors Lab

Objectives

  • Write jQuery selectors to select different HTML elements

Getting Started

In js/selectors.js write the code necessary to select 5 different elements from the index.html page. There are tests to keep you on track!

Instructions

  1. Write a function, h1Selector, that selects all <h1> elements and returns them using an element selector.
  2. Write a function, liInOlSelector, that selects and returns all <li> inside of <ol> using a descendant selector.
  3. Write a function, linkSelector, that selects and returns the <a> that is inside of the element that has both an id of box4 and a class of box5.
  4. Write a function, catSelector, that selects and returns the image of the cat that has the alt text equal to "cat sleeping".
  5. Write a function, checkboxInputSelector, that selects and returns all the checkbox inputs

View jQuery Selectors Lab on Learn.co and start learning to code for free.

jquery-selectors-lab-v-000's People

Contributors

victhevenot avatar ipc103 avatar pajamaw avatar

Watchers

James Cloos avatar  avatar  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.