Problem with "Custom Search Engine"

Hello
How do I add a search feature (such as Google Custom Search Engine) to my website? I use “Websuite builder” and add the Google code to the “HTML box”, but this will not be visible on the website. See below for html code (code: 1).

When I add another Google custom code, google finds nothing on my website. See below for html code (code: 2)

Some special settings in “Website builder”?
Should not the html tag paste into the “Advanced” —> “HTML” tab?
Is there any instruction about this provided by 000webhost?

Thankful for all the help, I have spent three nights trying to get this feature to work.
My page: julrim.000webhostapp.com

(The spacing after <to avoid the html code to appear in the forum.)
Code 1:
< script>
(function() {
var cx = ‘010477270385600501035:sbnso-zbbda’;
var gcse = document.createElement(‘script’);
gcse.type = ‘text/javascript’;
gcse.async = true;
gcse.src = ‘https://cse.google.com/cse.js?cx=’ + cx;
var s = document.getElementsByTagName(‘script’)[0];
s.parentNode.insertBefore(gcse, s);
})();
< /script>
< gcse:search>< /gcse:search>

Code 2:
< !-- Search Google -->
< center>
< form action=“http://www.google.com/search” name=f>
< A HREF=“http://www.google.com/intl/sv/”>
< IMG SRC=“http://www.kolumbus.fi/seanhype/luckan/google_sm.gif” border=0
align=“absmiddle” alt=" GOOGLE - SÖKNING DIREKT… “>< /a>< br>< BR>
Skriv in < b>en specifik fråga< /b>, < b>en fras< /b> eller < b>ett namn< /b>< br>
< input type=radio name=lr value=”"> Sök i < b>julrim.000webhostapp.com< /b>
< input type=radio name=lr value=“lang_sv” checked>På svenska< br>
< input name=q size=44 maxlength=80>< br>
< input type=hidden name=ie value=“UTF-8”>
< input type=hidden name=oe value=“UTF-8”>
< input name=hl type=hidden value=sv>
< input name=sitesearch type=hidden value=julrim.000webhostapp.com>< br>
< input type=“submit” value=“Google-sök” class=“s” style=“font-weight:normal;
color:#FFF; background-color:#036; border-style:outset; border-color:#69F;”>
< input type=submit value=“Jag har tur” name=btnI style=“font-weight:normal;
color:#FFF; background-color:#036; border-style:outset; border-color:#69F;”>
< /form>
< /center>
< !-"- Search Google -->

Hi @fredriik
Try removing value=julrim.000webhostapp.com and then just save it. Your website has Google custom search engine.

Hello, thanks for the answer. :slight_smile:

If I delete “value = julrim.000webhostapp.com” the feature is searching the entire web. I want the search feature to search only on my page.

How do I add code 1 (as above), with “Google Custom Search Engine”? I guess most people use this search feature.
Google provide a specific code for the current website (with https://cse.google.com/). I can see in the “Websuite builder” that it appears a search box when I add the Google html-code (see attached picture), but when I publish the page the HTML window is not visible …?