1 2 3 4 5 6 7 8 9 10 11
class Article { Title: HTMLElement; Description: string; ArticleLink: string; Image: HTMLElement; constructor(title: string, description: string, article_link: string, image_link: string) { } } let root = document.getElementById('root');