html cheetsheet.com code example

Example 1: html cheat sheet

<!-- Answer to: "html cheat sheet" -->

<!--
  An image of a useful HTML Cheat Sheet:
  https://websitesetup.org/wp-content/uploads/2014/09/html5-cheat-sheet.png
-->

Example 2: html cheetsheet.com

var d = new Date();
a = d.getDay();     // getting the weekday

getDate();          // day as a number (1-31)
getDay();           // weekday as a number (0-6)
getFullYear();      // four digit year (yyyy)
getHours();         // hour (0-23)
getMilliseconds();  // milliseconds (0-999)
getMinutes();       // minutes (0-59)
getMonth();         // month (0-11)
getSeconds();       // seconds (0-59)
getTime();          // milliseconds since 1970

Example 3: html cheat sheet

<!-- HTML CHEAT SHEET ANSWER -->
<!-- https://htmlcheatsheet.com/ -->

Tags:

Css Example