Enable contrast version

Tutor profile: Charles T.

Inactive
Charles T.
Front End Developer at Robert Half. Formerly Community College STEM Tutor
Tutor Satisfaction Guarantee

Questions

Subject: Web Development

TutorMe
Question:

Why are script tags typically placed at the bottom of the body tag? When would it be okay to not have it at the bottom?

Inactive
Charles T.
Answer:

Script tags are typically at the bottom of the body so that it does not cause render blocking. This is because when a script tag is read, the rest of the code after it will not be read until the script is finished executing. However, script tags can be anywhere in the body and will not render block if the code in the script tag is asynchronous such as using setTimeout.

Subject: Javascript Programming

TutorMe
Question:

Given an array with an unknown amount of numbers, write a function using a for loop to double each number in the array and return the array.

Inactive
Charles T.
Answer:

function doubleNumbers(arr) { for(let i = 0; i < arr.length; i++) { arr *= 2; } return arr; }

Subject: HTML5 Programming

TutorMe
Question:

What are the names of the four attribute syntax styles allowed in HTML5? Give examples of each.

Inactive
Charles T.
Answer:

The four attribute syntax styles allowed in HTML5 are empty, unquoted, single quoted, and double quoted. empty <input type="text" value="John" disabled> Unquoted <input type="text" value=John> Double-quoted <input type="text" value="John Doe"> Single-quoted <input type="text" value='John Doe'>

Contact tutor

Send a message explaining your
needs and Charles will reply soon.
Contact Charles

Request lesson

Ready now? Request a lesson.
Start Lesson

FAQs

What is a lesson?
A lesson is virtual lesson space on our platform where you and a tutor can communicate. You'll have the option to communicate using video/audio as well as text chat. You can also upload documents, edit papers in real time and use our cutting-edge virtual whiteboard.
How do I begin a lesson?
If the tutor is currently online, you can click the "Start Lesson" button above. If they are offline, you can always send them a message to schedule a lesson.
Who are TutorMe tutors?
Many of our tutors are current college students or recent graduates of top-tier universities like MIT, Harvard and USC. TutorMe has thousands of top-quality tutors available to work with you.