התחלתי ללמוד JavaScript ולא הבנתי משהו
שאני עושה נגיד hello world! הכי פשוט
HTML קוד:
<script type="text/javascript">
document.write("Hello World!");
</script>
ואני כותב הערה לדפדפנים שלא תומכים
HTML קוד:
<script type="text/javascript">
document.write("Hello World!")
/* We printed
Hello World! */
</script>
אני לא צריך לשים את הhello world! באיזה " או ' וכו'...
כדי שהדפדפן יבין שאני לא רוצה שהוא יכתוב
"we printed hello world" אלה רק "hello world"
ואני יודע שזוהי שאלה טפשית אבל אני לא הבנתי
תודה