Question

In: Computer Science

Create CSS code 4.3. Change/update the CSS to display multiple blocks/courses per line, in a way...

Create CSS code

4.3. Change/update the CSS to display multiple blocks/courses per line, in a way that responds to the width of the browser window and reduces the number of elements per line appropriately.

4.3.1. You may add IDs or classes to the XML file as desired.

<InformationSystems>
   <Classes>
       <CourseHeader>
           <CourseNumber>CIS 145</CourseNumber>
           <CourseName>Introduction to Relational Database</CourseName>
           <Credits>5</Credits>
       </CourseHeader>
       <Description><![CDATA[Introduces relational database concepts and practices using business-related examples. OFTEC 111 or 108 recommended, or comparable competencies. Prerequisite: OFTEC 141 or MATH 097 with a "C" or better.]]></Description>
       <AdditionalInfo>Additional Notes</AdditionalInfo>
   </Classes>
   <Classes>
       <CourseHeader>
           <CourseNumber>CIS 160</CourseNumber>
           <CourseName>Programming Fundamentals</CourseName>
           <Credits>5</Credits>
       </CourseHeader>
       <Description><![CDATA[Introduces programming structures, concepts, techniques and terminology using visual studio development environment and the c# programming language.Prerequisite: MATH 097. Distribution: AA, AS, DTA.]]></Description>
       <AdditionalInfo>Additional Notes</AdditionalInfo>
   </Classes>
   <Classes>
       <CourseHeader>
           <CourseNumber>CIS 166</CourseNumber>
           <CourseName>Programming Business Objects</CourseName>
           <Credits>5</Credits>
       </CourseHeader>
       <Description><![CDATA[Introduces concepts and techniquies of object oriented programming,validation and storage of business data sets, and user interfaces. Prerequisite:CIS 160.]]></Description>
       <AdditionalInfo>Additional Notes</AdditionalInfo>
   </Classes>
   <Classes>
       <CourseHeader>
           <CourseNumber>CIS 169</CourseNumber>
           <CourseName>Requirements Analysis</CourseName>
           <Credits>5</Credits>
       </CourseHeader>
       <Description><![CDATA[Introduces planning,analysis and design of software with an emphasis on development methodologies, design process and communication techniques. Prerequisite: CIS: 145 and CIS 166.]]></Description>
       <AdditionalInfo>Additional Notes</AdditionalInfo>
   </Classes>
   <Classes>
       <CourseHeader>
           <CourseNumber>CIS 182</CourseNumber>
           <CourseName>SQL Fundamentals</CourseName>
           <Credits>5</Credits>
       </CourseHeader>
       <Description><![CDATA[Introduces Structured Query Language (SQL). Emphasizes techniques for writing efficient SQL queries using a common commercial implementation of SQL. Prerequisite: CIS 145 and CIS 160 or instructor's permission.]]></Description>
       <AdditionalInfo>Additional Notes</AdditionalInfo>
   </Classes>
   <Classes>
       <CourseHeader>
           <CourseNumber>CIS 185</CourseNumber>
           <CourseName>HTML, CSS, JavaScript</CourseName>
           <Credits>5</Credits>
       </CourseHeader>
       <Description><![CDATA[Introduces creating web pages with HTML5 and CSS. Covers JavaScript coding to create, test, debug, and document programs. Prerequisite: CIS 166.]]></Description>
       <AdditionalInfo>Additional Notes</AdditionalInfo>
   </Classes>
   <Classes>
       <CourseHeader>
           <CourseNumber>CIS 218</CourseNumber>
           <CourseName>PowerShell, Cybersecurity, Ethics</CourseName>
           <Credits>5</Credits>
       </CourseHeader>
       <Description><![CDATA[Introduces PowerShell scripting, basic cybersecurity concepts, and ethical issues for software development. Prerequisite: CIS 166 and "C" or better in ENGL& 101.]]></Description>
       <AdditionalInfo>Additional Notes</AdditionalInfo>
   </Classes>
   <Classes>
       <CourseHeader>
           <CourseNumber>CIS 245</CourseNumber>
           <CourseName>Business Information Systems</CourseName>
           <Credits>5</Credits>
       </CourseHeader>
       <Description><![CDATA[Introduces business information systems. Explores the role of software developers and database managers in developing, refining, and supporting these systems. Prerequisite: CIS 266.]]></Description>
       <AdditionalInfo>Additional Notes</AdditionalInfo>
   </Classes>
   <Classes>
       <CourseHeader>
           <CourseNumber>CIS 266</CourseNumber>
           <CourseName>Introduction to Business Applications</CourseName>
           <Credits>5</Credits>
       </CourseHeader>
       <Description><![CDATA[Explores how to edit, present, and store data using object-oriented programming and relational databases. Prerequisite: CIS 166 and CIS 182.]]></Description>
       <AdditionalInfo>Additional Notes</AdditionalInfo>
   </Classes>
   <Classes>
       <CourseHeader>
           <CourseNumber>CIS 282</CourseNumber>
           <CourseName>SQL Programming</CourseName>
           <Credits>5</Credits>
       </CourseHeader>
       <Description><![CDATA[Continues development of relational databases and associated services using Structured Query Language (SQL) in Microsoft SQL Server. Introduces transaction processing, stored procedures, indices, constraints, triggers, and views. Prerequisite: CIS 182 and CIS 166.]]></Description>
       <AdditionalInfo>Additional Notes</AdditionalInfo>
   </Classes>
   <Classes>
       <CourseHeader>
           <CourseNumber>CIS 284</CourseNumber>
           <CourseName>Web Application Development</CourseName>
           <Credits>5</Credits>
       </CourseHeader>
       <Description><![CDATA[Introduces development of interactive web pages using ASP.NET server-side programming. Web programming with SQL databases, addresses security issues, develops web services, and introduces deployment to cloud services. Prerequisite: CIS 166, CIS 182, and CIS 185.]]></Description>
       <AdditionalInfo>Additional Notes</AdditionalInfo>
   </Classes>
</InformationSystems>

Solutions

Expert Solution

CSS code :

CourseHeader{

background-color: blueviolet;

color: white;

font-size: larger;

font-weight: bold;

display: block;

border-bottom: 1px solid black;

}

CourseNumber, CourseName, Credits {

display: inline-block;

padding: 10px;

}

CourseNumber {

text-decoration: underline;

}

Credits::after {

content: '.0CR';

}

Description {

background-color: lightblue;

color: black;

display: block;

font-size: large;

padding: 10px;

border-bottom: 1px solid black;

}

AdditionalInfo {

background-color: lightgrey;

color: black;

display: block;

font-size: small;

padding: 10px;

border-bottom: 2px solid black;

}

Websites designed generally without using CSS responsively makes the website to invisible effectively either on a laptop or on mobile.

so, the CSS code that is used to display multiple blocks responsively is

display: inline-block;

To make the website responsive enter this code in the CSS file at the start

*

{

heading: 0;

padding: 0;

}

Then enter the code as

@media screen and (min-wdith: 601px)

{

.classes

{

font-size: 60px; // set the font size as you wish to get in your laptop

}

@media screen and (max-wdith: 601px)

{

.classes

{

font-size: 40px; // set the font size as you wish to get in your mobile

}

In the above code, you can keep the same text size if you wish and you can also change the font color, and so on by placing the text here.

in this way, the text will be responsive as per your requirement.


Related Solutions

Create CSS styling for this xml code 5.2. Change the CSS so only a single course...
Create CSS styling for this xml code 5.2. Change the CSS so only a single course is displayed. 5.2.1. You may add IDs or classes to the XML file a desired. <InformationSystems>    <Classes>        <CourseHeader>            <CourseNumber>CIS 145</CourseNumber>            <CourseName>Introduction to Relational Database</CourseName>            <Credits>5</Credits>        </CourseHeader>        <Description><![CDATA[Introduces relational database concepts and practices using business-related examples. OFTEC 111 or 108 recommended, or comparable competencies. Prerequisite: OFTEC 141 or MATH...
Create a welcome website in html/css for the fictional college elliott university, this website will consist of at least 4 in-page-content-blocks
Create a welcome website in html/css for the fictional college elliott university, this website will consist of at least 4 in-page-content-blocksElliott university welcome block :2-3 pictures with bordersThree paragraphs describing a student experience the collegeAppropriate for the contentGallery page block:Consisting of 8 to 10 imagesFormatted for best loading on the web across all devicesText paragraph under each imageRemaining Two blocks can reflect content that you choose:Consisting of 3 paragraphs of text per blockConsisting of at least one image per blockLook...
Q2. Update the given code 2 to implement the following problem: Create a class triangle Use...
Q2. Update the given code 2 to implement the following problem: Create a class triangle Use dynamic memory allocation to create 10 objects of the class triangle Set default height and base of all created objects (triangle) to 5 and 10 respectively using a constructor Ask user to change only the height of the 5th triangle Print height and base of all (10) triangles to demonstrate that you did the task correctly Deallocate the 5th object Print height and base...
I want the code in the following three PHP files without any CSS. Thank you Create...
I want the code in the following three PHP files without any CSS. Thank you Create a Input.php. Create a PHP script that will perform the following tasks: 1. Divide the content area of this page into two sections (Side by Side) 2. On the left side: create a form that accepts the following information from the user a. Text box, Employee Name b. Text box, Employee ID c. Text box, Telephone Number d. Text box, Email Address e. Radio...
Write a C program (using Code::blocks) that outputs a formatted header line and creates 10 children...
Write a C program (using Code::blocks) that outputs a formatted header line and creates 10 children processes each of which displays a line of the output as shown below. Notice the values of Child no and x, they have to be the same as shown here while the processes PIDs values are based on the what your system assigns to these processes. Child    PID        PPID      X 0           13654    13653    5 1           13655    13653    10 2           13656    13653    15 3           13657   ...
Modify the provided code to create a program that calculates the amount of change given to...
Modify the provided code to create a program that calculates the amount of change given to a customer based on their total. The program prompts the user to enter an item choice, quantity, and payment amount. Use three functions: • bool isValidChoice(char) – Takes the user choice as an argument, and returns true if it is a valid selection. Otherwise it returns false. • float calcTotal(int, float) – Takes the item cost and the quantity as arguments. Calculates the subtotal,...
Create all necessary code to make this main function work. It is not allowed to change...
Create all necessary code to make this main function work. It is not allowed to change the main function. int main() {        int ListDataSample1[] = { 1, 1, 1 };        int ListDataSample2[] = { 2, 2, 2 };        List<int> List1 = List<int>(ListDataSample2, 3);        List<int> List2 = List<int>(ListDataSample2, 3);               cout << "List1 :" << List1 << endl;        cout << "List2 :" << List2 << endl << endl;        List1 += List2;               cout...
Create C# code that can search a text file and output the data at the line...
Create C# code that can search a text file and output the data at the line number inputted and amount of entries needed. Example of call in command window: Search16s filename.txt 273   10 Where 273 is the line number to start the output from, and 10 is the number of sequences that the program should output. The number of sequences entered on call should always be a odd number or give an error in console. The output should also display...
USING C PROGRAMMING ***CODE MUST BE MODULARIZED** Instructions: Create a program that will collect multiple receipts...
USING C PROGRAMMING ***CODE MUST BE MODULARIZED** Instructions: Create a program that will collect multiple receipts from multiple classrooms to accumulate total cookie sales.   Once all receipts have been processed, the program must show what classroom is won and the total amount of cookies they sold. The classrooms that are participating are from the:                 2nd Floor: 201, 202, 203, 204, 205, 206, 207, 208                 3rd Floor: 301,302, 303, 304, 305, 306, 307, 308, 309                 4th Floor: 401,...
Create a two-page mini pragmatic change plan: imagine you have to introduce a new dress code...
Create a two-page mini pragmatic change plan: imagine you have to introduce a new dress code in your team e.g.(white shirt policy). People so far have had no expectations set as per their dressing, some feel awkward and surprised. You are in charge as a leader to introduce and implement this change. For example: How can you encourage your team to go through the change? How can you make change fearless, how can you create clarity, how can you encourage...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT