Whale Talk on a website


#1

Greetings,

I’m trying to work my way through the web development path on CodeAcademy, which is quite fun, but I was wondering if anyone would be able to explain how to add some of the javascript coding into a webpage, just to see how it would look on a webpage. I included the whale talk with and nothing shows up.


#2

JS and the DOM are tightly working together, so with a little help from google you can find useful things:

https://developer.mozilla.org/en-US/docs/Web/API/Document/createElement


#3

We’re given to assume you have a website to which you’ve posted this code. Is that correct?