This is assignment was very fun. I have had some experience with JavaScript so I tried to be a little creative with the first JavaScript example for this class. I wrote a JavaScript Function to take the text from an input by using the “id” of the input and updating the navigation title with the text from the input also by “id”. I used the document.getElementById function to work with the elements id’s and I used employed the use of a function and a variable.

To see the example visit http://erikalicea.esy.es/testing.html
Here is the code I used:

code