Question

In: Computer Science

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 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

Hello , I am writing the answer below and have tried to write complete answer
in simple and easy to understand language. I hope my answer will help you.
PLEASE give me LIKE / UPVOTE if you like my answer. THANK YOU.

(if any changes you want comment me i re-write the answer for you)

im here using the external css in xml file using style link.

the classes name & the using ID style created here, to make a classes good looking.

every class seperate style color & font style .

subject name is font increase , & description font italic using the ID.

index.xml

    

    <?xml-stylesheet type="text/css" href="name.css"?> /* external syle using link*/

    <InformationSystems>

        <Classes><s id="se"> /* using here ID tag style purpose */

            <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>

        </s></Classes>

        <Classes><s id="se">

            <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>

        </s></Classes>

    <Classes><s id="se">

            <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>

        </s></Classes>

       <Classes><s id="se">

            <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>

        </s></Classes>

        <Classes><s id="se">

            <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>

        </s></Classes>

        <Classes><s id="se">

            <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>

       </s> </Classes>

        <Classes><s id="se">

            <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>

       </s> </Classes>

        <Classes><s id="se">

            <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>

       </s> </Classes>

        <Classes><s id="se">

            <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>

       </s> </Classes>

        <Classes><s id="se">

            <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>

        </s></Classes>

        <Classes><s id="se">

            <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>

        </s></Classes>

     </InformationSystems>

name.css

/* * is a all page style */

*{

color: black;

background-color: rgb(143, 186, 241);

}

/* classes style here */

Classes{

    display:block;  

    border: 3px solid blueviolet;

    margin:0.5em;  

    padding:0.5em;   

    margin: 20px;

    font-size: 20px;

    float: left;

    font-family: Verdana, Geneva, Tahoma, sans-serif;

}

CourseName{

    margin-left: 10px;

    

color: mediumblue;

    font-size: 25px;

    font-family: monospace ;

    

}

CourseNumber{

    color: rgb(13, 4, 138);

    font-size: 23px;

}

Description{margin-left: 25px;

    color: rgb(17, 62, 104);

    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;

}

AdditionalInfo{

    color: saddlebrown;

}

Credits{

color: rgb(138, 24, 24);

}

/*using ID style here */

s{

   font-style: italic;

}


Related Solutions

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...
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...
can someone change this code so that timestandard can be calculated at the end of the...
can someone change this code so that timestandard can be calculated at the end of the code using the inputs n,RF,PFD, and the measured cycles, instead of being called from the beginning of the code using namespace std; float timestandard(float time, float rf, float pfd) { return((time / 100) * rf * (1 + pfd)); /* calculating the time standard using the given formula*/ } int main() { int n, rf, pfd, x; /* inputs are taken*/ cout << "****...
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,...
Using Python code create a program only with beginners code. You are taking online reservations at...
Using Python code create a program only with beginners code. You are taking online reservations at the The inn Ask for your client’s name and save in a variable Ask how many nights your client will be staying and save in a variable Room rental is $145 per night Sales tax is 8.5% Habitation tax is $5 per night (not subject to sales tax) Print out: Client’s name Room rate per night Number of nights Room cost (room rate *...
only JAVA code /** Create a method as instructed below and then call it appropriately. */...
only JAVA code /** Create a method as instructed below and then call it appropriately. */ import java.util.Scanner; public class MoreBankCharges { //Constant declarations for base fee and per check fees //Class scope so constants are accessible by all methods static final double BASE_FEE = 10.0; static final double LESS_THAN_20_FEE = 0.10; static final double TWENTY_TO_THIRTYNINE_FEE = 0.08; static final double FORTY_TO_FIFTYNINE_FEE = 0.06; static final double SIXTY_OR_MORE_FEE = 0.04; public static void main(String[] args) { //Variable declarations int numChecks;...
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...
So the problem is to create a plot of points and plot them using only 'o'...
So the problem is to create a plot of points and plot them using only 'o' and no lines then using the polyfit and polyval functions, find a first order equation to curve fit the points (and plot it on the existing plot). I got that part and have the following code clear clc %define measured data temp = [250 300 340 400 460 500 540 600 660 700 750 810 930 1000 1120] HC= [.791 .846 .895 .939 .978...
Can someone create a Test bench for this 4 Bit USR code so that it can...
Can someone create a Test bench for this 4 Bit USR code so that it can shift left, shift right and Load. This is in VHDL. Please type out the code. library IEEE; use IEEE.STD_LOGIC_1164.ALL; entity Uni_reg is port( LR,SP,clk,clear,shL,shR: in std_logic; -- shL = shift left shR= shift right Da,Db,Dc : in std_logic; --inputs for load Qa,Qb,Qc : out std_logic); --out puts from the flipflops end Uni_reg; architecture Structural of Uni_reg is signal lr1,lr2,sp1,sp2,R1,R2,R3 : std_logic; signal L1,L2,L3,LOAD1,LOAD2,LOAD3:std_logic; signal...
"Write in swift code only please, Create a SwiftUI project named DogBreeds based on the Contacts...
"Write in swift code only please, Create a SwiftUI project named DogBreeds based on the Contacts app. The app should be named DogBreeds. The app will display 10 dog images and names in a list"
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT