Skip to content

Tag: html

What is making these subnavs expand?

I’m looking at http://voky.com.ua/showcase/sky-mega-menu/examples/demo-personal.html and I can’t figure out what is making the subnavs expand. For example, hover over “Portfolio” and see the subnav expand. I’ve inspected all the elements around the nav items and I can’t fin…

How to place Javascript in a separate file from HTML

I have this code placed in index.html, all together – Javascript and HTML. what I want is to place the JS into another, separate file called “pw.js”. I have created a blank JS file located in folder “js”. I have added it to (head) as well like this <script src=”js/pw.js&…

Bootstrap Large table with Pop ups

I have created table with 21 columns, since the names of each column was too big I reduced them and now I would like to add pop-over on:hover, on each of them which will display the full text. Here is the HTML: Answer You can use title attribute in <th title=”colName”>, you can write full na…

New line that is visible in both HTML and console.log

I have this simple JavaScript: The problem is that I would like a newline to be shown when the function output is displayed in console.log() without the <br> tag (because <br> displays on the console) , but also be able to write the text “Unknown Error” to a newline in html without usi…

html css and js not working

This is my code: The css: And the jquery: I’m using the Brackets program to write my code, but when I go to the live view after I saved everything and i press “toggle” the page wont move and I looked over everything and Im 98% sure its correct. Answer Put <script src=”Home.js”…