Inside the CSS File you need to set up the following:
You will need to use the following image URL for the logo: http://gdurl.com/DpNL
List of artists performing:
Ultra Festival will take place on Thursday, 23rd – Sunday, 26th August at Hyde Park in London.
We welcome all ages to the festival. However, there are entry restrictions for under 16s and we do advise not bringing young children. Anyone 15 and under must be accompanied by a ticket holder over 18 years old at all times. Children under 13 years are admitted free. ID may be required upon entry to the event.
Tickets for this festival are £125 for the weekend. This includes camping from Friday until Sunday.
We can use HTML and CSS to build forms, but to start doing maths, we need to use a language called Javascript. We want the user to be able to select how many tickets they would like to buy and it to work out the total that needs to be paid.
Follow the guide below to create your form. When it's finished, it should look something like this:
<select id="tickets" onchange="calculateTotal()"> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option></select>You can choose where this code goes. In my example, I have put a heading above it.
<script>function calculateTotal() { var numberOfTickets = document.getElementById("tickets").value; document.getElementById("total").innerHTML = "£" + (numberOfTickets*125);}</script>This code must go just before the closing body tag (</body>).
<h3 id="total"></h3>This is the code that will print the total to your web page, put it in a sensible location!