tools-theme 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +0 -0
- data/_data/about/en/about.json +0 -0
- data/_data/blog/alertbar.yml +0 -0
- data/_data/blog/authors.yml +0 -0
- data/_data/blog/blog.yml +0 -0
- data/_data/blog/nav.json +0 -0
- data/_data/blog/share.yml +0 -0
- data/_data/contact/en/contact.json +0 -0
- data/_data/customcdns/customcdns.yml +0 -0
- data/_data/disclaimer/en/disclaimer.json +0 -0
- data/_data/feature/en/compress-pdf.json +0 -0
- data/_data/feature/en/split-pdf.json +0 -0
- data/_data/footer/en/data.json +116 -59
- data/_data/footer/hi/data.json +0 -0
- data/_data/header/en/data.json +47 -128
- data/_data/header/hi/data.json +0 -0
- data/_data/help/en/help.json +0 -0
- data/_data/home/en/en.json +62 -241
- data/_data/home/hi/hi.json +0 -0
- data/_data/privacy/en/privacyPolicy.json +0 -0
- data/_data/termAndCondition/en/termAndCondition.json +0 -0
- data/_includes/author_bio.html +0 -0
- data/_includes/authors/authors.html +0 -0
- data/_includes/cssfile/links.html +0 -0
- data/_includes/custom-head.html +0 -0
- data/_includes/dropdown/langdropdown.html +0 -0
- data/_includes/footer/index.html +66 -41
- data/_includes/google-analytics.html +0 -0
- data/_includes/head/index.html +59 -59
- data/_includes/header/blogHeader.html +0 -0
- data/_includes/header/index.html +57 -85
- data/_includes/paginationBlogPage.html +0 -0
- data/_includes/paginationPostPage.html +0 -0
- data/_includes/postauthorbio.html +0 -0
- data/_includes/postbox.html +0 -0
- data/_includes/script.html +0 -0
- data/_includes/section/alertbar.html +0 -0
- data/_includes/section/count.html +0 -0
- data/_includes/section/recent_posts.html +0 -0
- data/_includes/section/related_categories_post.html +0 -0
- data/_includes/section/related_tag_post.html +0 -0
- data/_layouts/aboutUs.html +0 -0
- data/_layouts/blog.html +0 -0
- data/_layouts/contactUs.html +0 -0
- data/_layouts/disclaimer.html +0 -0
- data/_layouts/feature.html +5 -29
- data/_layouts/help.html +0 -0
- data/_layouts/home.html +76 -77
- data/_layouts/post.html +0 -0
- data/_layouts/privacyPolicy.html +0 -0
- data/_layouts/termAndCondition.html +0 -0
- data/assets/bulb.svg +0 -0
- data/assets/cloud.svg +0 -0
- data/assets/cross.svg +0 -0
- data/assets/css/blog.css +0 -0
- data/assets/css/tools.css +179 -1491
- data/assets/easy.svg +0 -0
- data/assets/facebook.svg +0 -0
- data/assets/files/en/jpg.json +0 -0
- data/assets/files/en/png.json +0 -0
- data/assets/guaranty.svg +0 -0
- data/assets/images/arrow.svg +1 -0
- data/assets/images/avatar.png +0 -0
- data/assets/images/logo.png +0 -0
- data/assets/instagram.svg +0 -0
- data/assets/js/TopScroll.js +0 -0
- data/assets/js/X-letter.js +124 -0
- data/assets/js/advancedFilter.js +2 -0
- data/assets/js/advancedFilter2.js +5 -0
- data/assets/js/advancedFilter3.js +2 -0
- data/assets/js/scrabbleDictonary.js +163 -0
- data/assets/js/wordScrabble.js +233 -0
- data/assets/linkdin.svg +0 -0
- data/assets/pdf.svg +0 -0
- data/assets/protect.svg +0 -0
- data/assets/star.svg +4 -5
- data/assets/support.svg +0 -0
- data/assets/twitter.svg +0 -0
- data/assets/youtube.svg +0 -0
- metadata +14 -32
- data/LICENSE.txt +0 -21
- data/_data/feature/hi/compress-pdf.json +0 -82
- data/_data/files/en/jpg.json +0 -153
- data/_data/files/en/png.json +0 -61
- data/_data/languagesupport/compress-pdf-langs.json +0 -12
- data/_data/languagesupport/index-langs.json +0 -14
- data/_data/rating/rating.json +0 -1
- data/_includes/Rating/rating.html +0 -89
- data/_includes/Rating/structureddata.html +0 -35
- data/_includes/Usp/usp.html +0 -20
- data/_includes/disqus_comments.html +0 -11
- data/_includes/fileformat/comparisonfiles.html +0 -153
- data/_includes/fileformat/fileformatdetail.html +0 -104
- data/_includes/share/socialshare.html +0 -49
- data/_layouts/categories.html +0 -26
- data/_layouts/default.html +0 -1
- data/_layouts/page.html +0 -5
- data/assets/images/Ankita.webp +0 -0
- data/assets/images/Anushka.webp +0 -0
- data/assets/images/Arjyahi.webp +0 -0
- data/assets/images/Nikita.webp +0 -0
- data/assets/images/alka.webp +0 -0
- data/assets/images/keshav.webp +0 -0
- data/assets/images/paavan.webp +0 -0
- data/assets/images/rating.png +0 -0
data/assets/easy.svg
CHANGED
File without changes
|
data/assets/facebook.svg
CHANGED
File without changes
|
data/assets/files/en/jpg.json
CHANGED
File without changes
|
data/assets/files/en/png.json
CHANGED
File without changes
|
data/assets/guaranty.svg
CHANGED
File without changes
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns='http://www.w3.org/2000/svg' fill='#262628' width='12' height='8' viewBox='0 0 12 8'><path d='M11.25,2.504L6,7.229L0.75,2.504l0.658-0.732L6,5.903l4.591-4.132L11.25,2.504z'/></svg>
|
data/assets/images/avatar.png
CHANGED
File without changes
|
data/assets/images/logo.png
CHANGED
Binary file
|
data/assets/instagram.svg
CHANGED
File without changes
|
data/assets/js/TopScroll.js
CHANGED
File without changes
|
@@ -0,0 +1,124 @@
|
|
1
|
+
let errorMsg = document.querySelector('.errorMsg')
|
2
|
+
let wordCount = document.querySelector('.wordCount')
|
3
|
+
let main = document.querySelector('.main')
|
4
|
+
|
5
|
+
const params = new URLSearchParams(window.location.search)
|
6
|
+
let serachValue = params.get('serach')
|
7
|
+
let prefixValue = params.get('prefix')
|
8
|
+
let containsValue = params.get('contains')
|
9
|
+
let suffixValue = params.get('suffix')
|
10
|
+
let lengthValue = params.get('length')
|
11
|
+
|
12
|
+
const getData = async (serachValue) => {
|
13
|
+
try {
|
14
|
+
main.innerHTML = `<div class="loader">
|
15
|
+
<img src='/assets/images/loading.gif'>
|
16
|
+
</div>`
|
17
|
+
const response = await fetch(
|
18
|
+
`http://127.0.0.1:9000/getWords?name=${serachValue}`
|
19
|
+
)
|
20
|
+
const data = await response.json()
|
21
|
+
main.innerHTML = ''
|
22
|
+
x_with_letters(data)
|
23
|
+
} catch (error) {
|
24
|
+
console.log(error)
|
25
|
+
}
|
26
|
+
}
|
27
|
+
// calling function
|
28
|
+
getData(serachValue)
|
29
|
+
|
30
|
+
function x_with_letters(data) {
|
31
|
+
if (typeof data === 'string') {
|
32
|
+
errorMsg.innerHTML = 'No words found'
|
33
|
+
wordCount.innerHTML = `<strong> 0 words with letters ${serachValue.split(
|
34
|
+
''
|
35
|
+
)}</strong>`
|
36
|
+
} else {
|
37
|
+
let newWordsLength = 0
|
38
|
+
let filterData = ''
|
39
|
+
|
40
|
+
if (
|
41
|
+
window.location.pathname ==
|
42
|
+
'/thirteen-letter-words-with-these-letters/result'
|
43
|
+
) {
|
44
|
+
filterData = data.filter((item) => item.length == 13)
|
45
|
+
} else if (
|
46
|
+
window.location.pathname ==
|
47
|
+
'/twelve-letter-words-with-these-letters/result'
|
48
|
+
) {
|
49
|
+
filterData = data.filter((item) => item.length == 12)
|
50
|
+
} else if (
|
51
|
+
window.location.pathname ==
|
52
|
+
'/eleven-letter-words-with-these-letters/result'
|
53
|
+
) {
|
54
|
+
filterData = data.filter((item) => item.length == 11)
|
55
|
+
} else if (
|
56
|
+
window.location.pathname == '/ten-letter-words-with-these-letters/result'
|
57
|
+
) {
|
58
|
+
filterData = data.filter((item) => item.length == 10)
|
59
|
+
} else if (
|
60
|
+
window.location.pathname == '/nine-letter-words-with-these-letters/result'
|
61
|
+
) {
|
62
|
+
filterData = data.filter((item) => item.length == 9)
|
63
|
+
} else if (
|
64
|
+
window.location.pathname ==
|
65
|
+
'/eight-letter-words-with-these-letters/result'
|
66
|
+
) {
|
67
|
+
filterData = data.filter((item) => item.length == 8)
|
68
|
+
} else if (
|
69
|
+
window.location.pathname ==
|
70
|
+
'/seven-letter-words-with-these-letters/result'
|
71
|
+
) {
|
72
|
+
filterData = data.filter((item) => item.length == 7)
|
73
|
+
} else if (
|
74
|
+
window.location.pathname == '/six-letter-words-with-these-letters/result'
|
75
|
+
) {
|
76
|
+
filterData = data.filter((item) => item.length == 6)
|
77
|
+
} else if (
|
78
|
+
window.location.pathname == '/five-letter-words-with-these-letters/result'
|
79
|
+
) {
|
80
|
+
filterData = data.filter((item) => item.length == 5)
|
81
|
+
} else if (
|
82
|
+
window.location.pathname == '/four-letter-words-with-these-letters/result'
|
83
|
+
) {
|
84
|
+
filterData = data.filter((item) => item.length == 4)
|
85
|
+
} else if (
|
86
|
+
window.location.pathname ==
|
87
|
+
'/three-letter-words-with-these-letters/result'
|
88
|
+
) {
|
89
|
+
filterData = data.filter((item) => item.length == 3)
|
90
|
+
} else if (
|
91
|
+
window.location.pathname == '/two-letter-words-with-these-letters/result'
|
92
|
+
) {
|
93
|
+
filterData = data.filter((item) => item.length == 2)
|
94
|
+
}
|
95
|
+
|
96
|
+
if (filterData.length === 0) {
|
97
|
+
main.innerHTML += ''
|
98
|
+
errorMsg.innerHTML = 'No words Found with this length'
|
99
|
+
} else {
|
100
|
+
newWordsLength += filterData.length
|
101
|
+
let itemLength = ''
|
102
|
+
const result = filterData.map((item) => {
|
103
|
+
itemLength = item.length
|
104
|
+
return ` <li><a>${item}</a></li>`
|
105
|
+
})
|
106
|
+
|
107
|
+
main.innerHTML += `
|
108
|
+
<div class="allGroupWords">
|
109
|
+
<div class="wordListHeading">
|
110
|
+
<h3 class="lead">${itemLength} Letter Words</h3>
|
111
|
+
</div>
|
112
|
+
<div class="wordList">
|
113
|
+
<ul class="ul list-unstyled">
|
114
|
+
${result.join('')}
|
115
|
+
</ul>
|
116
|
+
</div>
|
117
|
+
</div>
|
118
|
+
`
|
119
|
+
}
|
120
|
+
wordCount.innerHTML = `<strong>${newWordsLength} words with letters ${serachValue.split(
|
121
|
+
''
|
122
|
+
)}</strong>`
|
123
|
+
}
|
124
|
+
}
|
@@ -0,0 +1,163 @@
|
|
1
|
+
// getqueryUrl from form
|
2
|
+
const params = new URLSearchParams(window.location.search)
|
3
|
+
let serachValue = params.get('search')
|
4
|
+
|
5
|
+
// DICTONARY
|
6
|
+
|
7
|
+
const fetchTWL06Dic = async (serachValue) => {
|
8
|
+
let newAlphabet = {
|
9
|
+
a: 1,
|
10
|
+
e: 1,
|
11
|
+
i: 1,
|
12
|
+
o: 1,
|
13
|
+
u: 1,
|
14
|
+
l: 1,
|
15
|
+
n: 1,
|
16
|
+
r: 1,
|
17
|
+
s: 1,
|
18
|
+
t: 1,
|
19
|
+
d: 2,
|
20
|
+
g: 2,
|
21
|
+
b: 3,
|
22
|
+
c: 3,
|
23
|
+
m: 3,
|
24
|
+
p: 3,
|
25
|
+
f: 4,
|
26
|
+
h: 4,
|
27
|
+
v: 4,
|
28
|
+
w: 4,
|
29
|
+
y: 4,
|
30
|
+
k: 5,
|
31
|
+
j: 8,
|
32
|
+
x: 8,
|
33
|
+
q: 10,
|
34
|
+
z: 10,
|
35
|
+
}
|
36
|
+
|
37
|
+
let sum = 0
|
38
|
+
let item = serachValue.toLowerCase()
|
39
|
+
|
40
|
+
for (let i = 0; i < item.length; i++) {
|
41
|
+
sum += newAlphabet[item[i]] || 0 // for unknown characters
|
42
|
+
}
|
43
|
+
|
44
|
+
try {
|
45
|
+
let res = await fetch(`/.netlify/functions/gettwl06?search=${serachValue}`)
|
46
|
+
let getData = await res.text()
|
47
|
+
|
48
|
+
if (getData) {
|
49
|
+
document.getElementsByClassName('found-word')[0].innerHTML = 'Yes'
|
50
|
+
document.getElementsByClassName('word-score')[0].innerHTML =
|
51
|
+
sum + ' ' + 'Points'
|
52
|
+
} else {
|
53
|
+
document.getElementsByClassName('found-word')[0].style.background =
|
54
|
+
'#F34423'
|
55
|
+
document.getElementsByClassName('found-word')[0].innerHTML = 'No'
|
56
|
+
}
|
57
|
+
} catch (error) {
|
58
|
+
console.log(error)
|
59
|
+
}
|
60
|
+
}
|
61
|
+
fetchTWL06Dic(serachValue)
|
62
|
+
|
63
|
+
const fetchSOWPODSDic = async (serachValue) => {
|
64
|
+
let newAlphabet = {
|
65
|
+
a: 1,
|
66
|
+
e: 1,
|
67
|
+
i: 1,
|
68
|
+
o: 1,
|
69
|
+
u: 1,
|
70
|
+
l: 1,
|
71
|
+
n: 1,
|
72
|
+
r: 1,
|
73
|
+
s: 1,
|
74
|
+
t: 1,
|
75
|
+
d: 2,
|
76
|
+
g: 2,
|
77
|
+
b: 3,
|
78
|
+
c: 3,
|
79
|
+
m: 3,
|
80
|
+
p: 3,
|
81
|
+
f: 4,
|
82
|
+
h: 4,
|
83
|
+
v: 4,
|
84
|
+
w: 4,
|
85
|
+
y: 4,
|
86
|
+
k: 5,
|
87
|
+
j: 8,
|
88
|
+
x: 8,
|
89
|
+
q: 10,
|
90
|
+
z: 10,
|
91
|
+
}
|
92
|
+
let sum = 0
|
93
|
+
|
94
|
+
let item = serachValue.toLowerCase()
|
95
|
+
|
96
|
+
for (let i = 0; i < item.length; i++) {
|
97
|
+
sum += newAlphabet[item[i]] || 0 // for unknown characters
|
98
|
+
}
|
99
|
+
|
100
|
+
let res = await fetch(`/.netlify/functions/getsowpods?search=${serachValue}`)
|
101
|
+
let getData = await res.text()
|
102
|
+
if (getData) {
|
103
|
+
document.getElementsByClassName('found-word')[1].innerHTML = 'Yes'
|
104
|
+
document.getElementsByClassName('word-score')[1].innerHTML =
|
105
|
+
sum + ' ' + 'Points'
|
106
|
+
} else {
|
107
|
+
document.getElementsByClassName('found-word')[1].style.background =
|
108
|
+
'#F34423'
|
109
|
+
document.getElementsByClassName('found-word')[1].innerHTML = 'No'
|
110
|
+
}
|
111
|
+
}
|
112
|
+
fetchSOWPODSDic(serachValue)
|
113
|
+
|
114
|
+
const fetchEnableDic = async (serachValue) => {
|
115
|
+
let newAlphabet = {
|
116
|
+
a: 1,
|
117
|
+
b: 4,
|
118
|
+
c: 4,
|
119
|
+
d: 2,
|
120
|
+
e: 1,
|
121
|
+
f: 4,
|
122
|
+
g: 3,
|
123
|
+
h: 3,
|
124
|
+
i: 1,
|
125
|
+
j: 10,
|
126
|
+
k: 5,
|
127
|
+
l: 2,
|
128
|
+
m: 4,
|
129
|
+
n: 2,
|
130
|
+
o: 1,
|
131
|
+
p: 4,
|
132
|
+
q: 10,
|
133
|
+
r: 1,
|
134
|
+
s: 1,
|
135
|
+
t: 1,
|
136
|
+
u: 2,
|
137
|
+
v: 5,
|
138
|
+
w: 4,
|
139
|
+
x: 8,
|
140
|
+
y: 3,
|
141
|
+
z: 10,
|
142
|
+
}
|
143
|
+
let sum = 0
|
144
|
+
let item = serachValue.toLowerCase()
|
145
|
+
|
146
|
+
for (let i = 0; i < item.length; i++) {
|
147
|
+
sum += newAlphabet[item[i]] || 0 // for unknown characters
|
148
|
+
}
|
149
|
+
|
150
|
+
let res = await fetch(`/.netlify/functions/getenable?search=${serachValue}`)
|
151
|
+
let getData = await res.text()
|
152
|
+
if (getData) {
|
153
|
+
document.getElementsByClassName('found-word')[2].innerHTML = 'Yes'
|
154
|
+
document.getElementsByClassName('word-score')[2].innerHTML =
|
155
|
+
sum + ' ' + 'Points'
|
156
|
+
} else {
|
157
|
+
document.getElementsByClassName('found-word')[2].style.background =
|
158
|
+
'#F34423'
|
159
|
+
document.getElementsByClassName('found-word')[2].innerHTML = 'No'
|
160
|
+
}
|
161
|
+
}
|
162
|
+
|
163
|
+
fetchEnableDic(serachValue)
|
@@ -0,0 +1,233 @@
|
|
1
|
+
// grab some html elements
|
2
|
+
let form = document.querySelector('#form')
|
3
|
+
let wordCount = document.querySelector('.wordCount')
|
4
|
+
let main = document.querySelector('.main')
|
5
|
+
let errorMsg = document.querySelector('.errorMsg')
|
6
|
+
|
7
|
+
// getqueryUrl from form
|
8
|
+
const params = new URLSearchParams(window.location.search)
|
9
|
+
let serachValue = params.get('search')
|
10
|
+
let prefixValue = params.get('prefix')
|
11
|
+
let containsValue = params.get('contains')
|
12
|
+
let suffixValue = params.get('suffix')
|
13
|
+
let lengthValue = params.get('length')
|
14
|
+
|
15
|
+
let dictonary = params.get('dictonary')
|
16
|
+
|
17
|
+
let tab_container = document.querySelector('.tab_container')
|
18
|
+
|
19
|
+
let ok = true
|
20
|
+
|
21
|
+
var sortValue
|
22
|
+
var sortBool = false
|
23
|
+
var theSelect = document.getElementById('select_dropDown')
|
24
|
+
|
25
|
+
// getWords define...
|
26
|
+
const getData = async (serachValue) => {
|
27
|
+
try {
|
28
|
+
main.innerHTML = `<div class="loader">
|
29
|
+
<img src='/assets/images/loading.gif'>
|
30
|
+
</div>`
|
31
|
+
/// loader
|
32
|
+
const response = await fetch(
|
33
|
+
`http://127.0.0.1:9000/getWords?name=${serachValue}`
|
34
|
+
)
|
35
|
+
const data = await response.json()
|
36
|
+
main.innerHTML = ''
|
37
|
+
getWords(data)
|
38
|
+
//getWords calling...
|
39
|
+
} catch (error) {
|
40
|
+
console.log(error)
|
41
|
+
}
|
42
|
+
}
|
43
|
+
//getData calling...
|
44
|
+
if (lengthValue === '1') {
|
45
|
+
errorMsg.innerHTML = 'words length should be more than 1'
|
46
|
+
} else {
|
47
|
+
getData(serachValue.toLowerCase())
|
48
|
+
}
|
49
|
+
|
50
|
+
// getWords function define...
|
51
|
+
function getWords(data) {
|
52
|
+
if (typeof data === 'string') {
|
53
|
+
errorMsg.innerHTML = 'no words found'
|
54
|
+
wordCount.innerHTML = `<strong> 0 words with letters ${serachValue.split(
|
55
|
+
''
|
56
|
+
)}</strong>`
|
57
|
+
} else {
|
58
|
+
let newWordsLength = 0
|
59
|
+
for (let i = serachValue.length; i >= 1; i--) {
|
60
|
+
var newdata = data.filter((item) => item.length === i)
|
61
|
+
if (prefixValue) {
|
62
|
+
newdata = newdata.filter((item2) =>
|
63
|
+
item2.startsWith(prefixValue.toLowerCase())
|
64
|
+
)
|
65
|
+
}
|
66
|
+
if (containsValue) {
|
67
|
+
newdata = newdata.filter((item) =>
|
68
|
+
item.includes(containsValue.toLowerCase())
|
69
|
+
)
|
70
|
+
}
|
71
|
+
if (suffixValue) {
|
72
|
+
newdata = newdata.filter((item) =>
|
73
|
+
item.endsWith(suffixValue.toLowerCase())
|
74
|
+
)
|
75
|
+
}
|
76
|
+
if (lengthValue) {
|
77
|
+
newdata = newdata.filter((item) => item.length == lengthValue)
|
78
|
+
}
|
79
|
+
|
80
|
+
if (newdata.length === 0) {
|
81
|
+
main.innerHTML += ''
|
82
|
+
} else {
|
83
|
+
newWordsLength += newdata.length
|
84
|
+
|
85
|
+
theSelect.addEventListener('change', () => {
|
86
|
+
sortValue = theSelect[theSelect.selectedIndex].text
|
87
|
+
console.log(sortValue)
|
88
|
+
})
|
89
|
+
// // if (!sortBool) {
|
90
|
+
// console.log(newdata.sort())
|
91
|
+
// // }
|
92
|
+
|
93
|
+
// if (sortValue === 'Z-A') {
|
94
|
+
// newdata = newdata.reverse()
|
95
|
+
// }else{
|
96
|
+
// newdata = newdata.sort()
|
97
|
+
// }
|
98
|
+
|
99
|
+
const result = newdata.map((item) => {
|
100
|
+
if (item.length === 1) {
|
101
|
+
ok = false
|
102
|
+
newWordsLength = newWordsLength - 1
|
103
|
+
} else {
|
104
|
+
let ScrabbleLetterScore = ScrabbleScore()
|
105
|
+
let sum = 0
|
106
|
+
item = item.toLowerCase()
|
107
|
+
for (let i = 0; i < item.length; i++) {
|
108
|
+
sum += ScrabbleLetterScore[item[i]] || 0 // for unknown characters
|
109
|
+
}
|
110
|
+
|
111
|
+
return `<li><a title="Lookup python in Dictionary" target="_blank" href="word-meaning?search=${item}">
|
112
|
+
${item}</a>
|
113
|
+
<span class="points" value="${sum}" style="position:relative; top:4px;"> ${sum}</span>
|
114
|
+
</li>`
|
115
|
+
}
|
116
|
+
})
|
117
|
+
|
118
|
+
if (ok) {
|
119
|
+
tab_container.innerHTML += `
|
120
|
+
<a href="#${i}">
|
121
|
+
<input type="button" value="${i} Letter" id="Tab_${i}" onclick="addFilter(${i})"
|
122
|
+
class="tab_link">
|
123
|
+
</a>
|
124
|
+
`
|
125
|
+
let tabs = document.getElementsByClassName('tab_link')
|
126
|
+
tabs[0] ? tabs[0].classList.add('active-tab') : ''
|
127
|
+
|
128
|
+
main.innerHTML += `
|
129
|
+
<div class="allGroupWords" id="${i}">
|
130
|
+
<div class="wordListHeading">
|
131
|
+
<h3 class="lead">${i} Letter Words</h3>
|
132
|
+
</div>
|
133
|
+
<div class="wordList">
|
134
|
+
<ul class="ul list-unstyled">
|
135
|
+
${result.join('')}
|
136
|
+
</ul>
|
137
|
+
</div>
|
138
|
+
</div>
|
139
|
+
`
|
140
|
+
}
|
141
|
+
}
|
142
|
+
}
|
143
|
+
|
144
|
+
if (newWordsLength === 0) {
|
145
|
+
errorMsg.innerHTML = 'no words found'
|
146
|
+
} else {
|
147
|
+
wordCount.innerHTML = `<strong>${newWordsLength} words with letters ${serachValue.split(
|
148
|
+
''
|
149
|
+
)}</strong>`
|
150
|
+
}
|
151
|
+
}
|
152
|
+
}
|
153
|
+
|
154
|
+
// Implement Active class
|
155
|
+
const addFilter = () => {
|
156
|
+
let tabs = document.getElementsByClassName('tab_link')
|
157
|
+
tabs[0] ? tabs[0].classList.add('active-tab') : ''
|
158
|
+
|
159
|
+
Array.from(tabs).map((item) => {
|
160
|
+
item.classList.remove('active-tab')
|
161
|
+
})
|
162
|
+
main.innerHTML += ``
|
163
|
+
let activeLetter = event.target
|
164
|
+
// console.log(activeLetter)
|
165
|
+
activeLetter.classList.add('active-tab')
|
166
|
+
}
|
167
|
+
|
168
|
+
// ScrabbleScore Counter
|
169
|
+
const ScrabbleScore = () => {
|
170
|
+
let twl06_sowpods = {
|
171
|
+
a: 1,
|
172
|
+
e: 1,
|
173
|
+
i: 1,
|
174
|
+
o: 1,
|
175
|
+
u: 1,
|
176
|
+
l: 1,
|
177
|
+
n: 1,
|
178
|
+
r: 1,
|
179
|
+
s: 1,
|
180
|
+
t: 1,
|
181
|
+
d: 2,
|
182
|
+
g: 2,
|
183
|
+
b: 3,
|
184
|
+
c: 3,
|
185
|
+
m: 3,
|
186
|
+
p: 3,
|
187
|
+
f: 4,
|
188
|
+
h: 4,
|
189
|
+
v: 4,
|
190
|
+
w: 4,
|
191
|
+
y: 4,
|
192
|
+
k: 5,
|
193
|
+
j: 8,
|
194
|
+
x: 8,
|
195
|
+
q: 10,
|
196
|
+
z: 10,
|
197
|
+
}
|
198
|
+
|
199
|
+
let wwfScore = {
|
200
|
+
a: 1,
|
201
|
+
b: 4,
|
202
|
+
c: 4,
|
203
|
+
d: 2,
|
204
|
+
e: 1,
|
205
|
+
f: 4,
|
206
|
+
g: 3,
|
207
|
+
h: 3,
|
208
|
+
i: 1,
|
209
|
+
j: 10,
|
210
|
+
k: 5,
|
211
|
+
l: 2,
|
212
|
+
m: 4,
|
213
|
+
n: 2,
|
214
|
+
o: 1,
|
215
|
+
p: 4,
|
216
|
+
q: 10,
|
217
|
+
r: 1,
|
218
|
+
s: 1,
|
219
|
+
t: 1,
|
220
|
+
u: 2,
|
221
|
+
v: 5,
|
222
|
+
w: 4,
|
223
|
+
x: 8,
|
224
|
+
y: 3,
|
225
|
+
z: 10,
|
226
|
+
}
|
227
|
+
|
228
|
+
if (dictonary === 'wwf') {
|
229
|
+
return wwfScore
|
230
|
+
} else {
|
231
|
+
return twl06_sowpods
|
232
|
+
}
|
233
|
+
}
|
data/assets/linkdin.svg
CHANGED
File without changes
|
data/assets/pdf.svg
CHANGED
File without changes
|
data/assets/protect.svg
CHANGED
File without changes
|
data/assets/star.svg
CHANGED
@@ -1,5 +1,4 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
2
|
-
|
3
|
-
|
4
|
-
</path>
|
5
|
-
</svg>
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="#fff" width="36" height="36" style=""><rect id="backgroundrect" width="100%" height="100%" x="0" y="0" fill="none" stroke="none"/>
|
2
|
+
|
3
|
+
<g class="currentLayer" style=""><title>Layer 1</title><path d="M6,6 L9,18 L6,30 L18,27 L30,30 L27,18 L30,6 L18,9 L6,6 Z M3,3 L18,6.75 L33,3 L29.25,18 L33,33 L18,29.25 L3,33 L6.75,18 L3,3 Z" id="svg_1" class="" fill="#052625" fill-opacity="1" stroke-opacity="1" stroke="#ffffff">
|
4
|
+
</path></g></svg>
|
data/assets/support.svg
CHANGED
File without changes
|
data/assets/twitter.svg
CHANGED
File without changes
|
data/assets/youtube.svg
CHANGED
File without changes
|