Giter Club home page Giter Club logo

cmderobertis / visualdom Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 1.47 MB

A lightweight visual representation of the Document Object Model to aid in web development, written in vanilla JavaScript and CSS. A "set-it-and-forget-it" solution to element nesting confusion. Google Chrome extension is linked below.

Home Page: https://chrome.google.com/webstore/detail/visualdom/aanodhkbohbafcokdhkedojclmfgpmgf

License: MIT License

CSS 42.23% JavaScript 57.77%

visualdom's Introduction

VisualDOM

A visual representation of the Document Object Model to aid in web development.

Features

  • Parses HTML and generates new elements at the end of your <body>, visualizing nested children in your markup.
  • Each node provides the element's tag name, classes, and ID, color-coded for easy identification.
  • Managing 100+ <div>s has never been this easy!

How to use this in your project

  1. Download and extract .zip
  2. Place 'package' directory in the root of your project. (Feel free to store 'package' elsewhere, as long as your import tags point to that location.)
  3. Add this <script> tag to the end of <body> (immediately before closing tag) ๐Ÿ‘‡
    <script src="./package/vdom.js"></script> VisualDOM will automatically link up its CSS just before </head> end tag.
  4. Build out your project, and VisualDOM will render additional elements in the <body> below your markup!
  5. Done with VisualDOM? Remove the <link> and <script> tags associated with VisualDOM, and remove 'package' directory from your project.

Want to contribute?

This project is licenced under The MIT Open Source Licence. Feel free to fork this project or shoot me an email.

visualdom's People

Contributors

cmderobertis avatar

Stargazers

 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.