Looking for some help.
I am looking for a quick and easy guide on how to get what my JS is outputting into some html.
I have a tech test to do and I haven’t learned how to combine JS and HTML yet. I do have an input box in my HTML that I somehow managed to get into my JS which is then doing calculations.
So for instance I am asking for a number and I am then dividing it by something already defined. I have got it to print to the console and print correctly but I need it to print to the webpage, ie a p tag. I’m currently only using codepen at the moment as it works on that, I dont know if that’s makes a different. Ultimately I would like to put it on Github.
Does anyone have any tutorials on how to quickly do this, or if possibly can someone show me how it is done? Perhaps not on my test as I really would like to do that myself.