Finishing up with Style
Explore how to connect JavaScript with HTML and CSS to create dynamic web pages. Understand capturing user input using JavaScript and displaying greetings, while keeping styling separate with CSS for maintainability and clear structure.
We'll cover the following...
We'll cover the following...
Greeting the user
If you enter document.querySelector( '.js-name' ).value in the console, you can log the value entered in the text-box.
Instead of a console log, we need to get the value of the textfield and display ...