TutorMe homepage
Subjects
PRICING
COURSES
SIGN IN
Start Free Trial
Pamela B.
Senior Software Enginner, Part-time On Demand Tutor
Tutor Satisfaction Guarantee
Javascript Programming
TutorMe
Question:

What is scope and what is the difference between global and local scope?

Pamela B.
Answer:

Scope is the code's ability to access variables depending on where they are declared. Local scope refers to variables declared within functions that are then only available within the same function. A different function in the same file will not have access. Global scope refers to variables that are declared outside functions which are then available to any function following.

HTML Programming
TutorMe
Question:

What are 3 potential attributes an input element can be assigned.

Pamela B.
Answer:

Type, Value, Name.

CSS
TutorMe
Question:

What are 2 general ways to center an element within its wrapper?

Pamela B.
Answer:

Use flex display on the wrapper with align items center and justify-content center. Use margin auto, or 0 auto.

Send a message explaining your
needs and Pamela will reply soon.
Contact Pamela
Ready now? Request a lesson.
Start Session
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 Session" 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.