Skip to content

Commit d847f55

Browse files
committed
added browser comptability steps
1 parent 3199fbc commit d847f55

File tree

1 file changed

+22
-2
lines changed

1 file changed

+22
-2
lines changed

js3.html

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ <h2>part -3: intermediate</h2>
8080
<p class="gray"> <span class="purpleBold">More Questions</span> <a href="css.html">css interview questions</a>, <a href="html.html">html interview questions</a> </p> -->
8181

8282
<div id="responsiveWebsite">
83+
<h2>responsive</h2>
8384
<p><strong>Question:</strong> What are the things you would consider to make a website responsive?</p>
8485
<p><strong>Answer:</strong> It depends on what I am trying to do but you can talk about a some of them-</p>
8586
<ul>
@@ -94,8 +95,27 @@ <h2>part -3: intermediate</h2>
9495
</ul>
9596
<p>ref: <a href="http://www.1stwebdesigner.com/css/responsive-website-tutorial/">responsive tutorial</a>, <a href="http://readwrite.com/2013/04/16/10-developer-tips-to-build-a-responsive-website-infographic#awesm=~ou5vLQZqqXIubV">Read best practices</a></p>
9697
</div>
97-
98-
98+
<div id="browserCompatible">
99+
<h2>browser compatibility</h2>
100+
<p><strong>Question:</strong> How will you make a website compatible to multiple browsers?</p>
101+
<p><strong>Answer:</strong></p>
102+
<ul>
103+
<li><strong>html</strong>, write valid html. use doctype.</li>
104+
<li><strong>css</strong>, understand box model, float, clear and other css properties. Remember older browser doesnt support css3</li>
105+
<li><strong>browser prefix</strong>, dont use browser prefix. Or you could use it if you implement <a href="http://dev.opera.com/articles/view/graceful-degradation-progressive-enhancement/">graceful degradation</a></li>
106+
<li><strong>tools</strong>, reset, bootstrap, <a href="http://modernizr.com/">modernizr</a>, jquery, etc.</li>
107+
<li><strong>never same</strong>, something will never be same across browsers like drop down menu</li>
108+
<li><strong>internet explorer</strong>, understand problems in IE6, IE7. IE6 becomes problematic when float is overused like double margin on floated elements, negative margin. You can have a stylesheet for IE specific version.</li>
109+
<li><strong>test</strong>, ther is no alternative to test your website as many browser versions as possible</li>
110+
<p>ref: <a href="http://coding.smashingmagazine.com/2010/06/07/the-principles-of-cross-browser-css-coding/">cross-browser css coding</a>, <a href="http://coding.smashingmagazine.com/2010/04/28/css3-solutions-for-internet-explorer/">css3 solutions for IE</a></p>
111+
</ul>
112+
</div>
113+
<div id="compatibilityTest">
114+
<h2>test compatibility</h2>
115+
<p><strong></strong></p>
116+
<p><strong></strong></p>
117+
<p>ref: <a href="http://browsershots.org/">browsershots</a>, <a href="http://www.browserstack.com/screenshots">browserStack</a>, <a href="http://www.hongkiat.com/blog/complete-guide-to-cross-browser-compatibility-check/">compatibility checking tools</a>, <a href="http://www.1stwebdesigner.com/design/tools-browser-compatibility-check/">10 tools</a></p>
118+
</div>
99119
<div>
100120
<!-- <h3 class="purpleBold">Express anger!</h3>
101121
<p class="gray">Feel free to express your anger (sorry u have to use facebook). also find out mistakes ( technical, wrong answer, spelling, grammar, sentence, whatever), let ur dude learn and grow.</p>

0 commit comments

Comments
 (0)