I followed every step and the date doesnt appear on my page. I tried to open in Chrome and Explorer. Any idea what did I do wrong:)?
Check console in Web Inspector, check for errors. Maybe there's a problem with the path to the resource?
HI, Yes he is wrong . Please follow this and try. <!DOCTYPE html>
Make sure the javascript file is placed under /javascript/
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I followed every step and the date doesnt appear on my page. I tried to open in Chrome and Explorer. Any idea what did I do wrong:)?
Check console in Web Inspector, check for errors. Maybe there's a problem with the path to the resource?
HI, Yes he is wrong . Please follow this and try.
<!DOCTYPE html>
Life Events
Sample Page Website
function myfuc() { document.getElementById('date').innerHTML = new Date().toDateString(); }
Make sure the javascript file is placed under /javascript/