nswalters / bear-watcher

Project for NSS: https://github.com/nss-evening-cohort-12/e12-homework/blob/master/week08.md
0 stars 0 forks source link

Basic JS utilities - PrintToDom, Init, etc #3

Closed nswalters closed 4 years ago

nswalters commented 4 years ago

User Story

As a developer, I should have access to a standard set of utilities for generating user-facing content on the website.

AC

WHEN the developer wants to load functions used on every page THEN I should have access to a standard set of utility functions

Dev Notes

const printToDom = (selector, domString) => {
  document.querySelector(selector).innerHTML = domString;
};