70-480 Programming in HTML5 with JavaScript and CSS3

Loading demo links...

Showing 10–12 of 15 questions

Question 10

You have the following markup.

You need to change the markup programmatically to display as follows:

Which line of code should you use?

Select an option, then click Submit answer.

  • document.getElementById("blue").style.display = "none"

  • $("#blue").css("visibility", "collapse");

  • document.getElementById("blue").style.visibility = "hidden"

  • $("#blue").css("display", "hidden");

  • document/getElementById (“blue”).style.visibility = “hidden”

Question 11

You are developing a web form that includes the following HTML.

You need to ensure that a value is entered into txtValue before the form is submitted.

Which code segment should you use?

Select an option, then click Submit answer.

  • Option A

  • Option B

  • Option C

  • Option D

Question 12

You are developing a web page that will be divided into three vertical sections. The main content of the site will be placed in the center section. The two outer sections will contain advertisements.

You have the following requirements:

The main content section must be set to two times the width of the advertising sections. The layout must be specified by using the CSS3 flexible box model.

You need to ensure that the visual layout of the page meets the requirements.

Which CSS3 property should you use?

Select an option, then click Submit answer.

  • box-orient

  • box-flex-group

  • box-flex

  • box-direction