Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Node.js Build a dynamic website using Node.js with Express.js and Pug.js. For this assignment, pick a country and build a brochure website (ie a one

Node.js

Build a dynamic website using Node.js with Express.js and Pug.js. For this assignment, pick a country and build a brochure website (ie a one page website with information), all facts listed on the page can be made up. This website will change based on the system time of the machine running Node.js. If the user views the page from 7 am to 7 pm (inclusive), the page should have a CSS and look based around day. The facts about that country should be day oriented. If the page is viewed outside of 7 am to 7 pm, the facts and CSS theme should change to be night oriented. The majority of the pages look and information should change based on being day or night.

Also, your page must accept a query parameter called hour that will instead use that time instead of the system time. The hour must be able to be input as military time (ie 1 is 1 am and 13 is 1 pm).

Rejection

Rejected if:

You use any third party libraries besides Express.js and Pug.js

Your website isnt the base path (/)

Your website doesnt feature a day and night theme that change based on system clock

Your website doesnt have facts that change based on day or night

Your Pug templates contain any HTML

Your server doesnt accept the query parameter hour, which is military time

All JavaScript code must pass the class esLints configuration file located in the Google Drive

You dont print a console log for what port your server is running on at start up

Your submission contains a node_modules folder

Your submission is missing a package.json with author set to your name,entry point set to your servers JavaScript file, and dependencies listed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Advanced Database Systems

Authors: Carlo Zaniolo, Stefano Ceri, Christos Faloutsos, Richard T. Snodgrass, V.S. Subrahmanian, Roberto Zicari

1st Edition

155860443X, 978-1558604438

More Books

Students also viewed these Databases questions

Question

What is the growth rate of GDP per capita?

Answered: 1 week ago