Home.js / createDogElement() gets the job done but it is not super DRY. You are frequently re-writing the lines of code to create element, add properties, set innerHTML.
Consider doing something like the example we saw on Tuesday in here:
https://github.com/oliverjam/learn-dom-rendering
From the same workshop, have a think about the difference between using append and appendChild
Home.js / createDogElement() gets the job done but it is not super DRY. You are frequently re-writing the lines of code to create element, add properties, set innerHTML.
Consider doing something like the example we saw on Tuesday in here:
https://github.com/oliverjam/learn-dom-rendering
From the same workshop, have a think about the difference between using
appendandappendChild