Giter Site home page Giter Site logo

sridharshrinidhi / js-heart-css Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ltw-webdev-javascript/js-heart-css

0.0 1.0 0.0 1009 KB

Use Javascript & jQuery to select elements in an HTML file and manipulate their CSS.

CSS 35.11% HTML 53.37% JavaScript 11.53%

js-heart-css's Introduction

summary time deliverables
Use Javascript & jQuery to select elements in an HTML file and manipulate their CSS.
1 hour
1 HTML file, 1 CSS file, 1 JS file, images

JS ❤︎ CSS

Overview

  • Fork this repository.
  • In the main.js file, write code to perform the following tasks on the HTML:
    1. Select <header> — add .masthead
    2. Select <h1> — remove .big-heading & add .logo
    3. Select <main> — add .wrapper
    4. Select the first <p> inside <main> — add .intro
    5. Select the <h2> tags — add .slug-head
    6. Select the list inside <main> — add .slug-list
    7. Select the images — add .slug-img
    8. Select the first item in the list — add .slug-list-first
    9. Select the last item in the list — add .slug-list-last
    10. Select <dl> — add .classification
    11. Select the <dt> tags — remove .big-label
    12. Select the last item in the list — make it visible
  • DO NOT change the index.html file’s code.
  • DO NOT change the CSS.
  • Run it through Markbot and make sure it passes all the checks.

Goal

Visually match the images in the “screenshots” folder.

  • Final screenshots in the “screenshots” folder.

Hand in

Drop this folder into your Markbot application. Make sure to fix all the errors. And submit online.

js-heart-css's People

Contributors

thomasjbradley avatar sridharshrinidhi avatar

Watchers

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