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.
 
 
 
 

55 lines
3.7 KiB

import { addBanner, addArticle, addTitle, addHeader, addParagraph, addSubHeader, addSmallHeader } from '/scripts/article.js';
import { addInset, addInsetList, addInsetCodeListing, addInsetBulletList } from '/scripts/inset.js';
import { addImageWithCaption, addButtonGroup } from '/scripts/visuals.js';
import { addSidebar} from '/scripts/sidebar.js'
import { addSyntax } from '/scripts/code.js';
const heading = document.querySelector(".heading");
const global = document.querySelector(".global_menu");
const local = document.querySelector(".local_menu");
const sidebar = document.querySelector(".sidebar");
const main = document.querySelector(".main_content");
heading.append(addTitle("Hungarian Language"));
heading.append(addParagraph("Philip Osztromok"));
main.append(addHeader("First Person"));
main.append(addParagraph("Where a word ends with a vowel, the word ending is -m. Note that if the vowel is a, this is usually changed to á."));
main.append(addParagraph("For example"));
main.append(addInset("A macska - The cat -> A macskám - My cat"));
main.append(addInset("Az anya - The mother -> A anyám - My mother"));
main.append(addParagraph("For low-vowel words that end with a consonant, the ending is usually -om but can sometimes be -am."));
main.append(addParagraph("For example"));
main.append(addInset("A szék - The chair -> A székem - My chair"));
main.append(addParagraph("For high-vowel words that end with a consonant, the ending is -em or -öm."));
main.append(addParagraph("For example"));
main.append(addInset("A hörcsög - The hamster -> A hörcsögöm - My hamster."));
main.append(addHeader("Second Person"));
main.append(addParagraph("Like the first person, the second person is quite reqgular. Where a word ends with a vowel, the word ending is -d. Note that if the vowel is a, this is usually changed to á."));
main.append(addParagraph("For example"));
main.append(addInset("A kutya - The dog -> A kutyád - Your dog"));
main.append(addParagraph("For low-vowel words that end with a consonant, the ending is usually -od but can sometimes be -ad."));
main.append(addParagraph("For example"));
main.append(addInset("Az ágy - The mother -> Az ágyad - Your bed"));
main.append(addParagraph("For high-vowel words that end with a consonant, the ending is -em or -öm."));
main.append(addParagraph("For example"));
main.append(addInset("A feleség - The wife -> A feleséged - Your wife"));
main.append(addInset("A hörcsög - The hamster -> A hörcsögöd - Your hamster"));
main.append(addHeader("Third Person"));
main.append(addParagraph("The third person is less regular. Where a word ends with a vowel, the word ending is -ja. Note that if the vowel is a, this is usually changed to á. Note this is the a in the noun rather than the ending so the ending will remain as ja or je."));
main.append(addParagraph("For example"));
main.append(addInset("A liba - The goose -> A libája - His goose"));
main.append(addInset("A apa - The dad -> A apja - Her dad."));
main.append(addParagraph("For low-vowel words that end with a consonant, the ending is usually -a."));
main.append(addParagraph("For example"));
main.append(addInset("Az asztal - The desk -> Az asztala - Her desk"));
main.append(addInset("A kalap - The hat -> A kalapja - His hat"));
main.append(addParagraph("For high-vowel words that end with a consonant, the ending is usually -e."));
main.append(addParagraph("For example"));
main.append(addInset("A gyerek - The child -> A gyereke - His child"));
main.append(addParagraph("Hopefully it is obvious but for the third person examples, his or her are interchangeable so while a gyereke can mean his child, it can also mean her child or even it's child!"));
addSidebar("hungarian");