0

I looking for sample javascript code that shows how to get the first day of summer with event handling...

I had

var $ = function(id) { return document.getElementById(id);...

however im not sure since I'm just begnining to cover event handling

I thought about using a div also, when the user clicks a div with the mouse to display a message like

The first day summer is .......

Christos
  • 53,228
  • 8
  • 76
  • 108
steven
  • 47
  • 1
  • 6
  • Looks like you are requiring a code to complete your homework. – Tân Mar 02 '17 at 20:53
  • ? I dont attend school, I'm currently trying to see what the layout looks like – steven Mar 02 '17 at 20:54
  • This question is too specific for stack overflow. But start by breaking it into steps. Here's some code that finds the first day of the month in javascript: http://stackoverflow.com/questions/13571700/get-first-and-last-date-of-current-month-with-javascript-or-jquery now see if you can modify that to get the first day of summer. Then, if you get stuck, update your question above with a more specific problem. – joshua.paling Mar 02 '17 at 20:55

0 Answers0