Enable contrast version

Tutor profile: Casey D.

Inactive
Casey D.
Web Design and Development Major
Tutor Satisfaction Guarantee

Questions

Subject: Javascript Programming

TutorMe
Question:

Write a function that finds and returns the area of a circle that has a diameter of 8. Include comments that explain clearly what the code is doing.

Inactive
Casey D.
Answer:

//Function for finding the area of a circle function findCircArea { // Assign the diameter to a variable 'd' var d = 8; //Find the radius of the circle using the diameter and assign it to a variable 'r' var r = d/2; //Calculate the answer using the formula pi*r^2. Do this by accessing the Math object for both the value of pi and for squaring the radius. var answer = Math.PI * Math.pow(r, 2); //Return the answer return answer; }

Subject: HTML5 Programming

TutorMe
Question:

In an HTML5 document, where is the <meta> tag located? Why is it located there?

Inactive
Casey D.
Answer:

The <meta> tag is located in the head of the HTML5 document, because it refers to the metadata of the page, and should not be displayed on the page itself, though it may be displayed in a search result.

Subject: CSS

TutorMe
Question:

Say you have several HTML elements on a page that require the same styles. Why would you use a CSS class attribute instead of an ID attribute?

Inactive
Casey D.
Answer:

As a rule, a CSS class attribute can be used more than once on a page. The idea behind a class attribute is that the class refers to a group. An ID is something that is unique, and in proper CSS protocol, a unique ID should only be used once on a page.

Contact tutor

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

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.