How do I make HTML code using typescript?
I have no experience with javascript and typescript. When I used PHP I made a navbar into a function that would echo the html code. Is this also achievable using typescript? I have made a function that returns a string of html code, but I don’t know how to actually make it render the html when I call the function on my html page (if the typescript code would even be correct). My school demands that I use typescript.