070-488 Free Dumps Study Materials
Question 10: Adventure Works uses a SharePoint publishing site for an external website at
www.adventureworks.com. The user interface is implemented by using HTML5, CSS 3, and JavaScript.
You need to ensure that the site designers have an efficient way to create and modify the JavaScript
files.
What should you do?
A. Open the site in SharePoint Designer. From All Files, double-click the _cts folder and then select
the MasterPages folder. Create a folder. Modify the JavaScript files by using Microsoft Notepad.
B. Copy all the JavaScript files to a document library and modify them directly by using Microsoft
Notepad.
C. Open the site in SharePoint Designer. From Master Pages select the JavaScript files to modify
them.
D. Set up a mapped network drive in Design Manager. Open the mapped drive and create a folder.
Modify the JavaScript files by using Microsoft Notepad.
Correct Answer: C
Explanation:
Master Page - Use SharePoint Designer to add code to a master page when you want to code to be
available on every page in a site. You can add the JavaScript inside of <SCRIPT> tags or link to a file
that contains the JavaScript. Typically add your CSS just before the </HEAD> section and your
JavaScript just before the </BODY> tag.
Reference: Adding JavaScript and CSS to SharePoint A company develops a SharePoint app that
employees use to submit expense reports. Employees can approve their own expenses for purchases
less than $100. For expenses greater than $100, the app will authenticate both itself and the user
before approval is requested.