You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
import { addBanner, addArticle, addHeader, addParagraph, addSubHeader } from '/scripts/article.js';
|
|
|
|
import { addInset, addInsetList, addInsetCodeListing, addInsetBulletList } from '/scripts/inset.js';
|
|
|
|
import { addImageWithCaption, addButtonGroup } from '/scripts/visuals.js';
|
|
|
|
|
|
|
|
const main = document.querySelector("main");
|
|
|
|
main.append(addBanner("Course", "Lecturer", "Episode"))
|
|
|
|
main.append(addArticle())
|
|
|
|
const article = document.querySelector("article")
|
|
|
|
article.append(addHeader("First section"))
|
|
|
|
article.append(addParagraph("First paragraph"))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
main.append(addButtonGroup(["Home", "/index.html"]))
|