Giter VIP home page Giter VIP logo

javascript-css-quiz's Introduction

CSS Quiz

Objectives

  1. Explain how styles are applied to the DOM (i.e., what does "cascading" mean?)
  2. Describe how the different selectors look
  3. Explain selector specificity

???

CSS Quiz

?: CSS generally lives in external stylesheets that are referenced in the HTML.

(X) True ( ) False

?: CSS stands for...

( ) Cascading Style Selectors (X) Cascading Style Sheets ( ) Complementary Style Sheets

?: CSS rules can overwrite properties defined in other CSS rules.

(X) True ( ) False

?: Which of these selectors can not be used to make something underlined:

( ) .underlined ( ) #underlined (X) underlined

?: Multiple elements can use the same class name in your HTML document.

(X) True ( ) False

?: An element can only have one class at a time

(X) True ( ) False

?: An element can have multiple ID's, separated by a space

( ) True (X) False

?: Which of the following CSS rules selects multiple selectors:

(X) header, main ( ) header && main ( ) header + main

?: Which of the following selectors is the most specific:

( ) header (X) #header () .header.header-dark

?: You can use JS to select DOM nodes.

(X) True ( ) False

?: DOM nodes are selected using CSS selectors.

(X) True ( ) False

???

javascript-css-quiz's People

Contributors

pletcher avatar thomastuts avatar

Watchers

James Cloos avatar Michael O'Connell 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.