An open API service indexing awesome lists of open source software.

https://github.com/mr9d/dom-inserts-demo

Demo application for Yandex Praktikum students to demonstrate the different approaches to DOM manipulation in ES6 JavaScript.
https://github.com/mr9d/dom-inserts-demo

css3 dom es6 gh-pages html5 javascript practicum praktikum yandex

Last synced: about 1 year ago
JSON representation

Demo application for Yandex Praktikum students to demonstrate the different approaches to DOM manipulation in ES6 JavaScript.

Awesome Lists containing this project

README

          

# DOM inserts demo for Yandex Praktikum

## About

Demo application developed at the request of [Yandex Praktikum](https://practicum.com/) students. The goal was to demonstrate the different approaches to DOM manipulation in ES6 JavaScript.

The following technics are used in this demo:

* [.innerHTML](https://developer.mozilla.org/ru/docs/Web/API/Element/innerHTML)
* [.insertAdjacentHTML](https://developer.mozilla.org/ru/docs/Web/API/Element/insertAdjacentHTML)
* [.appendChild()](https://developer.mozilla.org/ru/docs/Web/API/Node/appendChild)
* [.append()](https://developer.mozilla.org/ru/docs/Web/API/ParentNode/append)
* [<template>](https://developer.mozilla.org/ru/docs/Web/HTML/Element/template)

## Live version

Available at GitHub pages: (deployed from the `master` branch)

## Running locally

If you want to run the application locally, you can do the following:

- `git clone` the repository
- Open `index.html` in the browser

That’s it, no build required.

## How to use

The application itself is a list of students.

You can add students with the provided name and remove them. While adding students, you can select how exactly you want to add them: this affects the DOM API being used but doesn’t affect the final result. Avatar is selected randomly.

## Used technologies

- HTML5
- CSS3
- JavaScript ES6
- GitHub Pages ([documentation](https://docs.github.com/en/pages))