Tutor profile: Kathleen C.
Questions
Subject: Javascript Programming
Please write code that will make the webpage ask a user for their name and then print each letter of their name on a different line.
var name = window.prompt("Please enter your name") // page prompts the user to enter their name for (var i = 0; i < name.length; i++) { document.getElementById("page-info").innerHTML = name[i] + "<br />" } // loops through each letter of the user's name. Each letter is added to the element page-info
Subject: Writing
Why can it be helpful to create an outline before beginning to write an essay?
Outlines are very helpful for organizing your thoughts and evidence into a coherent argument before putting the pen to paper. They can help you find the flow of the essay without necessarily knowing exactly how you're going word things, and rearrange your ideas as necessary without having to rewrite chunks of a paper.
Subject: HTML5 Programming
How would you create a page with the heading 'About Me' that shows a bulleted list of your top three favorite fruits?
To head the page, use <h1> tags. Then you have to nest the food items inside an unordered list tag since the question asked for bullet points. Make sure to close the tags at the end. <h1> About Me <h1> <ul> <li>apples</li> <li>bananas</li> <li>oranges</li> </ul>