/    Sign up×
Community /Pin to ProfileBookmark

Still having menu problems–HELP!!!-placing functions

I’ve posted twice, still having problems with getting this menu to come up the right way. Part of my problem is not knowing where to list everything I think. Where do the functions go. I assume the dish names and dish descriptions (arrays) go where the comment lines tell me to go. But, I’m told to write a function in the <head> of my document. So, where should I be listing my functions, my arrays, and my variables. I’m very new at this, so please don’t call me stupid.
Thank you.

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@FangNov 10.2007 — &lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"&gt;
&lt;html lang="en"&gt;
&lt;head&gt;
&lt;title&gt;Basic HTML&lt;/title&gt;
&lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8"&gt;

&lt;script type="text/javascript"&gt;
// All functions, arrays and variables here
&lt;/script&gt;

&lt;style type="text/css"&gt;

&lt;/style&gt;

&lt;/head&gt;
&lt;body&gt;

&lt;/body&gt;
&lt;/html&gt;
×

Success!

Help @Mariko1222 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.2,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,
)...