Laboratory 3– Express js (Compulsory)


Download 18.58 Kb.
bet3/3
Sana18.06.2023
Hajmi18.58 Kb.
#1596791
1   2   3
Bog'liq
Laboratory 3– Express.js (Compulsory) V5

(1.5 pts) Cookies: You can implement a cookie functionality in which the selected background is remembered when the user refreshes the webpage by using cookies. For example, if the user selects for background colour “green”, if it closes the browser and accesses again, the colour green will come up. The same applies to the index position in which the user was in the last session. Rather than starting in 1 when pressing “Show colour”, start with the last colour in which the user was. (See how to implement this in the references). Make sure that the cookies work using Google Chrome which is the browser that will be used to mark the assignment.



References:

  • https://www.tutorialspoint.com/expressjs/index.htm

  • https://www.tutorialspoint.com/expressjs/expressjs_cookies.htm

Download 18.58 Kb.

Do'stlaringiz bilan baham:
1   2   3




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling