Skip to content

Commit 01e927e

Browse files
authored
Create index.html
0 parents  commit 01e927e

File tree

1 file changed

+105
-0
lines changed

1 file changed

+105
-0
lines changed

index.html

+105
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
<!DOCTYPE html>
2+
<head>
3+
<meta charset="utf-8">
4+
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
5+
<title></title>
6+
<meta name="description" content="">
7+
<meta name="viewport" content="width=device-width">
8+
<style>
9+
body, html{ margin:10px; font-family:Verdana; }
10+
#output{ display:table; border:1px solid #CCC; }
11+
#output div.cell{ display:table-cell; padding:20px; border-right:1px solid #ccc; }
12+
13+
.footer{ font-size:10px; }
14+
.options{ padding:10px; border:1px solid #CCC; }
15+
</style>
16+
</head>
17+
<body>
18+
<p class='options'>Create word combinations for naming shit...</p>
19+
<p><b>Instructions:</b></p>
20+
<ol style="font-size:12px;"><li>Input your "base" word</li><li>Choose whether your word is before of after the listed word</li><li>Choose if there will be a space or not</li><li>Choose interesting or common word lists</li><li>Press "Do it!"</li></ol>
21+
<p class='options'>Word: <input type="text" id="mainword"> | After?: <input type="checkbox" id="beforeafter" /> | Space?: <input type="checkbox" id="hasspace" /> | Interesting or not?: <input type="checkbox" id="common" /> | <input type="submit" value="Do it!" id="submit"></p>
22+
23+
24+
<p><b id='typeofwords'>Interesting words:</b></p>
25+
<div id="output">
26+
27+
</div>
28+
29+
<p class="footer">References: <a href="http://www.englishclub.com/vocabulary/common-words.htm">Common Words</a> and <a href="http://eqi.org/fw_neg.htm">Interesting words</a></p>
30+
31+
32+
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
33+
34+
<script type="text/javascript">
35+
36+
var commonWordsList = [
37+
{name: 'verbs', list: 'be,have,do,say,get,make,go,know,take,see,come,think,look,want,give,use,find,tell,ask,work,seem,feel,try,leave,call'},
38+
{name: 'nouns', list: 'time,person,year,way,day,thing,man,world,life,hand,part,child,eye,woman,place,work,week,case,point,government,company,number,group,problem,fact'},
39+
{name: 'adjectives', list: 'new,first,last,long,great,little,own,other,old,right,big,high,different,small,large,next,early,young,important,few,public,bad,same,able,good'},
40+
{name: 'adverbs', list: 'up,so,out,just,now,how,then,more,also,here,well,only,very,even,back,there,down,still,in,as,too,when,never,really,most'},
41+
{name: 'prepositions', list: 'of,in,to,for,with,on,at,from,by,about,as,into,like,through,after,over,between,out,against,during,without,before,under,around,among'},
42+
{name: 'pronouns', list: 'it,I,you,he,they,we,she,who,them,me,him,one,her,us,something,nothing,anything,himself,everything,someone,themselves,everyone,itself,anyone,myself'},
43+
{name: 'conjunctions', list: 'and,that,but,or,as,if,when,than,because,while,where,after,so,though,since,until,whether,before,although,nor,like,once,unless,now,except'},
44+
{name: 'conjunctions', list: 'and,that,but,or,as,if,when,than,because,while,where,after,so,though,since,until,whether,before,although,nor,like,once,unless,now,except'},
45+
{name: 'numbers', list: 'one,two,first,last,three,next,million,four,five,second,six,third,billion,hundred,thousand,seven,eight,ten,nine,dozen,fourth,twenty,fifth,thirty'},
46+
{name: 'interjections', list: 'yes,oh,yeah,no,hey,hi,hello,hmm,ah,wow'}
47+
];
48+
49+
var interestingWordsList = [
50+
{name:"a", list:'abandoned,abused,accused,addicted,afraid,aggravated,aggressive,alone,angry,anguish,annoyed,anxious,apprehensive,argumentative,artificial,ashamed,assaulted,atrocious,attacked,avoided,awful,awkward'},
51+
{name:"b", list:'bad,badgered,baffled,banned,barren,beat,beaten,belittled,berated,betrayed,bitched,bitter,bizzare,blacklisted,blackmailed,blamed,bleak,blown,blur,bored,boring,bossed-around,bothered,bothersome,bounded,boxed-in,broken,bruised,brushed-off,bugged,bullied,bummed,burdened,burdensome,burned,burned-out'},
52+
{name:"c", list:'caged,careless,chaotic,chased,cheated,chicken,claustrophobic,clingy,closed,clueless,clumsy,coaxed,codependent,coerced,cold,cold-hearted,combative,commanded,compared,competitive,compulsive,conceited,concerned,condescended,confined,conflicted,confronted,confused,conned,consumed,contemplative,contempt,contentious,controlled,convicted,cornered,corralled,cowardly,crabby,cramped,cranky,crap,crappy,crazy,creeped,creepy,critical,criticized,cross,crowded,cruddy,crummy,crushed,cut-down,cut-off,cynical'},
53+
{name:"d", list:'damaged,damned,dangerous,dark,dazed,dead,deceived,deep,defamed,defeated,defective,defenseless,defensive,defiant,deficient,deflated,degraded,dehumanized,dejected,delicate,deluded,demanding,demeaned,demented,demoralized,demotivated,dependent,depleted,depraved,depressed,deprived,deserted,deserving,desolate,despair,despairing,desperate,despicable,despised,destroyed,destructive,detached,detest,detestable,detested,devalued,devastated,deviant,devoid,diagnosed,dictated,different,difficult,directionless,dirty,disabled'},
54+
{name:"d", list:'disagreeable,disappointed,disappointing,disapproved of,disbelieved,discardable,discarded,disconnected,discontent,discouraged,discriminated,disdain,disdainful,disempowered,disenchanted,disgraced,disgruntled,disgust,disgusted,disheartened,dishonest,dishonorable,disillusioned,dislike,disliked,dismal,dismayed,disorganized,disoriented,disowned,displeased,disposable,disregarded,disrespected,dissatisfied,distant,distracted,distraught,distressed,disturbed,dizzy,dominated,doomed,double-crossed,doubted,doubtful,down,down and out,down in the dumps,downhearted,downtrodden,drained,dramatic,dread,dreadful,dreary,dropped,drunk,dry,dumb,dumped,dumped on,duped'},
55+
{name:"e", list:'edgy,egocentric,egotistic,egotistical,elusive,emancipated,emasculated,embarrassed,emotional,emotionless,emotionally bankrupt,empty,encumbered,endangered,enraged,enslaved,entangled,evaded,evasive,evicted,excessive,excluded,exhausted,exploited,exposed'},
56+
{name:"f", list:'failful,fake,false,fear,fearful,fed,flawed,forced,forgetful,forgettable,forgotten,fragile,freaked,frightened,frigid,frustrated,furious'},
57+
{name:"g", list:'gloomy,glum,gothic,grey,grief,grim,gross,grossed-out,grotesque,grouchy,grounded,grumpy,guilt-tripped,guilty'},
58+
{name:"h", list:'harassed,hard,hard-hearted,harmed,hassled,hate,hateful,hatred,haunted,heartbroken,heartless,heavy-hearted,helpless,hesitant,hideous,hindered,hopeless,horrible,horrified,horror,hostile,hot-tempered,humiliated,hung up,hung over,hurried,hurt,hysterical'},
59+
{name:"i", list:'idiotic,ignorant,ignored,ill,ill-tempered,imbalanced,imposed-upon,impotent,imprisoned,impulsive,inactive,inadequate,incapable,incommunicative,incompetent,incompatible,incomplete,incorrect,indecisive,indifferent,indoctrinated,inebriated,ineffective,inefficient,inferior,infuriated,inhibited,inhumane,injured,injusticed,insane,insecure,insignificant,insincere,insufficient,insulted,intense,interrogated,interrupted,intimidated,intoxicated,invalidated,invisible,irrational,irritable,irritated,isolated'},
60+
{name:"j", list:'jaded,jealous,jerked around,joyless,judged'},
61+
{name:"l", list:'labeled,laughable,laughed,lazy,leaned,lectured,left,letdown,lied,limited,little,lonely,lonesome,longing,lost,lousy,loveless,low'},
62+
{name:"m", list:'mad,man handled,manipulated,masochistic,messy,miffed,miserable,misled,mistaken,mistreated,mistrusted,misunderstood,mixed-up,mocked,molested,moody'},
63+
{name:"n", list:'nagged,needy,negative,nervous,neurotic,nonconforming,numb,nuts,nutty'},
64+
{name:'o', list:'objectified,obligated,obsessed,obsessive,obstructed,odd,offended,on display,opposed,oppressed,out of place,out of touch,over-controlled,over-protected,overwhelmed'},
65+
{name:'p', list:'pain,panic,paranoid,passive,pathetic,pessimistic,petrified,phony,picked,pissed,pissed,plain,played,pooped,poor,powerless,pre-judged,preached,preoccupied,predjudiced,pressured,prosecuted,provoked,psychopathic,psychotic,pulled,punished,pushed,puzzled'},
66+
{name:'q', list:'quarrelsome,queer,questioned,quiet'},
67+
{name:'r', list:'rage,raped,rattled,regret,rejected,resented,resentful,responsible,retarded,revengeful,ridiculed,ridiculous,robbed,rotten'},
68+
{name:"s", list:'sad,sadistic,sarcastic,scared,scarred,screwed,screwed over,screwed up,self-centered,self-conscious,self-destructive,self-hatred,selfish,sensitive,shouted at,shy,singled-out,slow,small,smothered,snapped at,spiteful,stereotyped,strange,stressed,stretched,stuck,stupid,submissive,suffering,suffocated,suicidal,superficial,suppressed,suspicious'}
69+
]
70+
71+
jQuery(document).ready(function(){
72+
$("#submit").click(function(e){
73+
e.preventDefault();
74+
var wordslist = ($("#common").is(':checked')) ? commonWordsList : interestingWordsList;
75+
76+
if($("#common").is(':checked')) $("#typeofwords").html("Common words:");
77+
else $("#typeofwords").html("Interesting words:");
78+
79+
var s = $("#mainword").val().toLowerCase();
80+
var b = $("#beforeafter").is(':checked');
81+
var spc = ($("#hasspace").is(':checked')) ? "&nbsp;" : "";
82+
83+
var o = '';
84+
85+
for(var i=0; i<wordslist.length; i++){
86+
o += "<div class='cell'>";
87+
o += "<p><b>"+wordslist[i].name+"</b></p>";
88+
o += "<p>";
89+
// split words
90+
var list = wordslist[i].list.split(',');
91+
for(var j=0; j<list.length; j++){
92+
if(b) o += list[j] + spc + s + "<br/>";
93+
else o += s + spc + list[j] + "<br/>";
94+
}
95+
o += "</p>";
96+
o += "</div>";
97+
}
98+
99+
$("#output").html(o);
100+
101+
});
102+
});
103+
</script>
104+
</body>
105+
</html>

0 commit comments

Comments
 (0)