Front-End Dev Quiz Name* First Last Email* 1. In the code snippet below, remove the inline styling and rewrite the CSS in the style tags provided.*<!-- Remove the inline styling and replace it with a block of internal css. --> <style type="text/css"> /* Your code here */ </style> <div id="css_text_container" style="background-color: #3d6e86; padding: 32px;"> <p style="color: #fff; font-size: 16px; text-align: center; margin: 0;"> CSS is designed to enable the separation of presentation and content, including layout, colors, and fonts. This separation can improve content accessibility, provide more flexibility and control in the specification of presentation characteristics, enable multiple web pages to share formatting by specifying the relevant CSS in a separate .css file, and reduce complexity and repetition in the structural content. </p> </div>2. A template called 'template-full-width.php' exists in the theme but does not display as an option under the Page Attributes section in the Dashboard. Which of the following is required to display that template as a global option?* Rename to page-full-width.php < ?php /* Template Name: Full Width Layout */ ?> Make sure the template exists in the 'templates/' folder of the theme Reset Permalinks 3. In this block of information used to configure a child theme which lines would you need to change to specify what parent theme to use?* /* Theme Name: Twenty Fifteen Child Theme URI: http://example.com/twenty-fifteen-child/ Description: Twenty Fifteen Child Theme Author: John Doe Author URI: http://example.com Template: twentyfifteen Version: 1.0.0 License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Tags: light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready Text Domain: twenty-fifteen-child */ The Theme Description line The Text Domain line The Template line 4. Resolve all syntax and validation errors in the code below.*<div id="main"> <h1>"Hello, World!" program</h1> <p id="ptxt-light"> A "Hello, World!" program is a computer program that outputs or displays "Hello, World!" to a user. Being a very simple program in most programming languages, it is often used to illustrate the basic syntax of a programming language for a working program, and as such is often the very first program people write. </p> <h2>Purpose<h2> <p id="ptxt-light"> A "Hello, World!" program is traditionally used to introduce novice programmers to a programming language. "Hello, world!" is also traditionally used in a sanity test to make sure that a computer language is correctly installed, and that the operator understands how to use it. <p/> <a href+"https://en.wikipedia.org/wiki/%22Hello,_World!%22_program">Read More</a> </div>5. What type of file (extension) is generated by a translator (person or service)?* 6. By default all core WordPress Javascript files in the admin area are concatenated into one URL.* True False 7. What can you do to protect sensitive files on your server, for example a git repository?* Block access to certain files using an .htaccess file Change the permissions on your .git folder to 644 Turn safe mode on in your php_ini file chown root:root -R on the .git folder 8. What are the preferred methods for passing variables from PHP for use in an external Javascript file?* wp_localize_script(), wp_enqueue_script() wp_enqueue_editor() Using data attributes It is not possible to pass PHP variables to Javascript