Skip to content

Instantly share code, notes, and snippets.

View MissIrina's full-sized avatar
🎯
Focusing

Irina MissIrina

🎯
Focusing
View GitHub Profile
@MissIrina
MissIrina / app.js
Created October 23, 2017 18:49
Moving Dom elements down and up + remove +hide +add( using buttons)
const toggleList = document.getElementById('toggleList');
const listDiv = document.querySelector('.list');
const descriptionInput = document.querySelector('input.description');
const descriptionP = document.querySelector('p.description');
const descriptionButton = document.querySelector('button.description');
const listUl = listDiv.querySelector('ul');
const addItemInput = document.querySelector('input.addItemInput');
const addItemButton = document.querySelector('button.addItemButton');
listUl.addEventListener('click', (event) => {
@MissIrina
MissIrina / gist:73c1c3655f1d84afcd147f7c53550180
Last active November 12, 2016 21:16
A basic Bootstrap HTML template
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<!--IE=edge means IE should use the latest (edge) version of its rendering engine
chrome=1 means IE should use the Chrome rendering engine if installed -->
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">">
<meta name="viewport" content="width=device-width, initial-scale=1">