Giter Site home page Giter Site logo

dom's Introduction

LS - DOM Project

What is the DOM?

Battle Plan

  • Objective: Now that you have learned about Data Structures we're going to be going over one of the most commonly used data structure today in Front End Development, The Document Object Model or DOM.

  • Your goal here is to learn as much as you can about HTML, CSS and how to use JS to interact with elements in a DOM Tree.

  • You're going to be cloning our LambdaSchool.com webpage. (NO jQuery at first. You'll get to that later.) Try to reproduce it from scratch using whatever materials you'd like.

  • Tool suggesstions

    • Chrome Dev Tools
    • For styles and mark-up ideas CodePen CSS-Tricks
    • For DOM interaction stuff like Drop Down Menus etc, try and do as much as can with CSS first.
    • After you've achieved all the animations on the site you can using CSS go ahead and

First and foremost we want you have fun! Please take this as a time to research a lot of this stuff together in your partnershps. Being able to have HTML and CSS chops can be just as important as understanding the fundamentals of the JavaScript programming language. It will be something (regardless of if you work back or front end in your career) that you'll have to deal with at one point or another and this is the only sprint we have designed around learning these concepts.

Research:

What do each of these elements mean?

How do I select an element using a class?

How do I select an element using an id?

How do I change the style and layout of an element?

<html> 
  <head>
    <link rel="stylesheet" href="">
  </head>
  <title></title>
  <body>
    <div></div>
    <p></p>
    <ol>
      <li></li>
    </ol>
    <ul>
      <li></li>
    </ul>
    <img src="">
    <a href="www.google.com"></a>
  </body>
  <script></script>
</html>

Suggested File Structure

  • app --
    • -- index.html -> mark-up goes in here
    • -- styles.css -> this is your stylesheet
    • -- app.js -> all of your javascript in here

Extra Credit

  • If you've gotten this far go ahead now and research jQuery! A fun DOM interaction library that is still very commonly used today. Go wild refactoring your JavaScript file to use it and take advantage of it's power!

dom's People

Contributors

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