1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
gavmur [86]
3 years ago
7

S.B. manages the website for the student union at Bridger College in Bozeman, Montana. The student union provides daily activiti

es for the students on campus. As website manager, part of S.B.'s job is to keep the site up to date on the latest activities sponsored by the union. At the beginning of each week, he revises a set of seven web pages detailing the events for each day in the upcoming week. S.B. would like the website to display the current day's schedule within an aside element. To do this, the page must determine the day of the week and then load the appropriate HTML code into the element. He would also like the Today at the Union page to display the current day and date.Complete the following:Use your editor to open the bc_union_txt.html and bc_today_txt.js files from XX folder. Enter your name and the date in the comment section and save them as bc_union.html and bc_today.js. DONEGo to the bc_union.html file in your editor. Directly above the closing tag, insert a script element that links the page to the bc_today.js file. Defer the loading of the script until after the rest of the page is loaded by the browser. Study the contents of the file and save your changes. DONEGo to the bc_today.js file in your editor. At the top of the file, insert a statement indicating that the code will be handled by the browser assuming strict usage. Note that within the file is the getEvent() function, which returns the HTML code for the daily events at the union given a day number ranging from 0 (Sunday) to 6 (Saturday). "use strict";Declare the thisDate variable containing the Date object for the date October 12, 2018. var thisDate = new Date("October 12, 2018");Declare the dateString variable containing the text of the thisDate variable using local conventions. var dateStr = thisDate.toLocaleDateString();Declare the dateHTML variable containing the following text string date where date is the value of the dateString variable. var dateHTML = "" + dateStr + "";Create the thisDay variable containing the day of the week number from the thisDate variable (Hint: use the getDay() method). - confused here, have: var thisDate = thisDate.getDay(); correct?Using the thisDay variable as the parameter value, call the getEvent() function to get the HTML code of that day's events and store that value in a variable named eventHTML. - lost here...Applying the insertAdjacentHTML() method to the page element with the ID unionToday, insert the value of the dateHTML plus the eventHTML variables before the end of the element contents. - again, lost here too. Found this on another site... document.querySelector('#unionToday').insertAdjacentHTML('beforeend',dateHTML +' '+ eventHTML); -- Where do I put it?Document your code with descriptive comments."use strict"; /* #4 pg680 *//* New Perspectives on HTML5 and CSS3, 7th Edition Tutorial 9 Case Problem 2 */ This script uses the getEvent() function to return the HTML code containin the daily events at the Bridger College student union. *//*Display the Current Date*/var thisDate = new Date("October 12, 2018"); var dateStr = thisDate.toLocaleDateString(); /* Display the Date Using Local Conventions as a Header*/var dateHTML = "" + dateStr + ""; /* Display the Day of the Week Number*/var thisDate = thisDate.getDay(); // #8 Correct???/* Display the Event Listings */function getEvent(day) { var eventHTML = day[thisDay]; /* is adding this correct?? = day[thisDay]; part of #9 ??? */ switch (day) { case 0: // Sunday Events eventHTML = " \ Highlights from the Bridger Art Collection \ An exhibition from over 60 items in the BC permanent collection. \ Location: Room A414 \ Time: 12 am – 4 pm \ Cost: free \ \ Bridger Starlight Cinema \ Recent, diverse, and provocative films straight from the art house. 35mm. \ Location: Fredric Whyte Play Circle \ Time: 7 pm – 10 pm \ Cost: $3.75 MWU students, Union members, Union staff. $4.25 all others \ \ "; break; case 1: // Monday Events eventHTML = " \ Monday Billiards \ Play in the BC Billiards league for fun and prizes \ Location: Union Game Room \ Time: 7 pm – 11 pm \ Cost: $3.75 for registration \ \ Distinguished Lecture Series \ Cultural critic Elizabeth Kellog speaks on the issues of the day. \ Location: Union Theater \ Time: 7 pm – 9 pm \ Cost: free, seating is limited \ \ "; break;
Computers and Technology
1 answer:
Varvara68 [4.7K]3 years ago
3 0

Answer:

hi

Explanation:

i did not known answers

You might be interested in
A(n) ___________ analyzes traffic patterns and compares them to known patterns of malicious behavior.
notka56 [123]

Answer:

Intrusion detection system

Explanation:

An intrusion detection system (IDS) is a device or software application that monitors a network for malicious activity or policy violations. Any malicious activity or violation is typically reported or collected centrally using a security information and event management system.

4 0
3 years ago
Questione
umka2103 [35]

Answer:

According to my physics all of functinalitys are made of angles and binary code to perform a new formula and involved to each sides....

Explanation:

HOPE IT HELPS!!!i translate into G your language

5 0
3 years ago
Which describes the safest way to sit at a desk while typing on the computer?
Anna35 [415]

Answer:

Keep the knees and hips at 90-degree angles and the wrists straight.

Explanation:

From computer ergonomics, sitting at a desk and typing can affect the back, cause discomfort and sometimes injury. To protect the back, always sit with the knee and hips positioned at 90 degree while keeping the wrist straight and also position the equipment appropriately to always suite this posture.  

7 0
3 years ago
A _______ is used to present data in a simplified, graphical format that allows your audience to read less text while still bein
steposvetlana [31]
Your correct answer would be Legend.


answer choice is B.
3 0
3 years ago
Read 2 more answers
______ cards contain a chip that can store a large amount of information as well as on a magnetic. ______ cards contain a chip t
yuradex [85]

Answer:

A. Smart card

Explanation:

Smart cards contain a chip that can store a large amount of information as well as on a magnetic stripe for backward compatibility.

Smart card are cards made of plastic or metal material that has an embedded integrated chip that acts as a security token. Smart cards are the same size as a debit or credit card.

They connect to a reader either by a chip (microcontroller or an embedded memory chip) or through a short-range wireless connectivity standard such as radio-frequency identification or near-field communication.

It can be used to perform various functions though most commonly are used for credit cards and other payment cards.

3 0
3 years ago
Other questions:
  • Simon wants to use an invoice template created by Office.com. The first step after selecting the File tab is to select
    14·1 answer
  • Identify four basic data manipulations performed on a relational database using sql
    7·1 answer
  • Technician A says that automotive engine blocks are usually classified by the number of cylinders the block. Technician B says t
    9·1 answer
  • Pauline is a manager of a team in a large website design firm. Her team members come from diverse cultural backgrounds. The perf
    15·1 answer
  • Which of these is a Microsoft certification for system engineers?
    9·1 answer
  • What damage can a virus do to your computer?
    14·1 answer
  • Make a presentation on ms word
    6·2 answers
  • Logan has developed an excellent presentation with interesting content. He received great feedback on the evaluation
    10·1 answer
  • MODERATOR DELETE MY ACC
    8·2 answers
  • Alice has an item x and Bob has a set of five distinct items y1, y2, y3, y4 and y5. Design a protocol through which Alice (but n
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!