INFT 1024 Information Technology Fundamentals Assignment

Assignment Help Computer Engineering
Reference no: EM133140190

INFT 1024 Information Technology Fundamentals - University of South Australia

Assessment - CSS + JavaScript

This CA has two parts. First, create a page that displays an image, and uses JavaScript to allow the user to select which image is displayed. Secondly, use JavaScript to give the user the option to toggle the styling on your page.

Tasks

Select image using JavaScript
This CA requires you to create a HTML page incorporating JavaScript and CSS. Your HTML must include:
1. A correct document type,
2. Correct use of 'head' and 'body' elements,
3. Semantic HTML elements (e.g. 'main'),
L. One 'img' and one 'p' element. The 'img' should appear above the 'p' when viewing the webpage.
5. 5 'button' elements. Each button corresponds to one of the images, listed in the table below. The text shown in each button should be the birds name.
When the page is first viewed, one of the image/text combinations from the table below must be shown, using the 'img' and 'p' elements in your HTML. (You may choose any of the birds as the default image).

Button Name Image Text
Pardalote Pardalote by fir0002 (CC-by-NC)
Purple Swamp Hen Purple swamp hen by Toby Hudson (CC-by-SA) White-headed Stilt White-headed Stilt by JJ Harrison (CC-by-SA) Inland Thornbill

Inland Thornbill by Peter Jacobs (CC-by-SA) Rose Robin Rose Robin by JJ Harrison (CC-by-SA)

You need to include some JavaScript code to make your buttons interactive. When a user clicks one of the buttons, you need to make two changes to the page:
1. Change the displayed image to to the corresponding bird,
2. Update the 'p' element to display the photographer.
Notes: Your HTML must not contain 5 img elements.

CSS Toggle button
You are required to style your HTML page using two themes, and provide a button to toggle between them. To do this, you'll make two variables with the same name in different CSS selectors. For example:

:root {

--primary-color: rgb(255, 255, 255);

}

 

[data-theme="dark"] {

--primary-color: rgb(0, 0, 0);

}

This gives two different values for the same variable. You'll need to style the page using this variable (for example, style the heading color using `primary-color. Refer to the CA3 if you can't remember how to do this).

To toggle between the two themes, you'll need to store a data attribute in the root HTML node. The CSS Learning Activity will guide you on this process. Additionally, this page shows the JavaScript method to set an attribute .
The steps you need to work through are:

1. Create two color palettes in your CSS. There must be 5 colors in each. You can choose any color values you like. The required variable names for your colors are:

2. Style your HTML using the CSS colors you've created.

3. Add a button to your page that will allow the user to toggle the CSS theme.

Attachment:- Information Technology Fundamentals.rar

Reference no: EM133140190

Questions Cloud

Prepare journal entries to record the transactions : On 1 August 2013 truck 1 was traded in for a new truck (Truck 4) at a cost of $115,000. Prepare journal entries to record the transactions
Start building the project schedule : You are to finalize the scope from week two and start building the project schedule.
At what level of production will cwb be indifferent : CWB Corp. sells units for $100 each. Variable costs are $75 per unit, At what level of production will CWB be indifferent between leasing
How many units must be sold to earn a profit : Clear Water Bay, Inc. has fixed costs of $40,000, sales price of $4, and variable cost of $3 per unit. How many units must be sold to earn a profit of $10,071
INFT 1024 Information Technology Fundamentals Assignment : INFT 1024 Information Technology Fundamentals Assignment Help and Solution, University of South Australia - Assessment Writing Service
Difference between liquidity position and liquidity trend : Question - What is the difference between liquidity position and liquidity trend? and what element (such as several ratio formula) determine them
Innovation is disruptive-revolutionary or evolutionary : Examine the innovations that give a competitive advantage to your chosen company and whether this innovation is disruptive/revolutionary or evolutionary.
Data definition language-data manipulation language : Describe the difference between Data Definition Language (DDL), Data Manipulation Language (DML), Data Control Language (DCL),
Prepare journal entries for declaration : Epic Incorporated has 11,300 shares of $2 par value common stock outstanding. Prepare journal entries for declaration

Reviews

Write a Review

Computer Engineering Questions & Answers

  Find out the information that the conceptual model of the

use the internet to research the types of information that a college would want to track in a database. focus your

  What are the major data structures used in rdbms

What are the major data structures used in the following areas : RDBMS, Network data model & Hierarchical data model. If you are using C language to implement the heterogeneous linked list, what pointer type will you use?

  How might the information help you in the real world

Write a 1/2-page reflection based on what you can learn about deploying vSphere vs. an all physical infrastructure? How might this information help you.

  Discuss the advantages of backing up to the cloud

Discuss the advantages and disadvantages of backing up to the Cloud. minimum 150 words not including title and reference page.

  Describe cybersecurity breach emergency response plan

Organizational is a large hospital system that has just had a huge Ransomware attack. 320,000 patients that their health information may have been exposed.

  Benefit and drawback of each major operating system

Benefit and drawback of each major operating system

  Discussion about business process and it outsourcing

The BEST PRACTICE PRESENTATION can be chosen from one of the following topics: Business process and IT outsourcing, Business intelligence and big data.

  How does a table adapter differ from a data adapter

What happens when you drag a dataset table from the Data Sources window onto a blank form? How does a table adapter differ from a data adapter?

  Make a design flow chart or psuedocode algorithm

In either case, show the mortgage payment amount. Then, list the loan balance and interest paid for each payment over the term of the loan. On longer term loans, the list will scroll off the screen.

  Define how the theories and knowledge could be applied

If you are not currently working, share times when you have or could observe how these theories and knowledge could be applied to an employment opportunity.

  How are functions and methods different

How are functions and methods different? How is object-oriented programming different from procedural programming?

  Write and test a data structures template

Write the template for an array of capacity =2 (default constructor) of unspecified type.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd