Search results “Javascript element display style”
Difference Between Display none vs Visibility hidden (Quick tutorial)
This video will show you what is the difference between visibility: hidden and display: none. How to hide or remove an element. Follow Us Facebook: http://bit.ly/2srBAX7 Twitter: http://bit.ly/2tAEvgG Instagram: http://bit.ly/2tbfnKn Subscribe: https://www.youtube.com/channel/UCaU1VsZaFQ1hHq8P2dGrJMw?sub_confirmation=1 visibility hidden | css visibility hidden | style display none | css hide element | css hide text | css hide div | css remove element | css hide element
Views: 8192 garnatti one
css property display block inline none initial ( HTML5 css3)
CSS3 property Display - What is CSS3 display property - CSS display property values ( block, inline-block, inline, none, initial) - CSS Display property Default value - CSS User Agent Stylesheet Css Display property, html display property, css display properti, css display property tutorial, css display property inline, inline-block, display:none, , css3 , html5, javaScript, html css display property, css display, css display, css display none, css display block,
Views: 21462 techsith
JavaScript DOM Tutorial #3 - Get Elements By Class or Tag
Hey gang, in this JavaScript DOM tutorial, I'll show youhow we can query the DOM for elements with a certain class name, or tag name. The methods we'll use are: - getElementsByTagName() - getElementsByClassName() ----- COURSE LINKS: + Atom editor - https://atom.io/a + GitHub Repo - https://github.com/iamshaunjp/JavaScript-DOM-Tutorial --------------------------------------------------------------------------------------------- Other tutorials: ----- JAVASCRIPT FOR BEGINNERS: https://www.youtube.com/playlist?list=PL4cUxeGkcC9i9Ae2D9Ee1RvylH38dKuET ----- CSS FOR BEGINNERS: https://www.youtube.com/playlist?list=PL4cUxeGkcC9gQeDH6xYhmO-db2mhoTSrT ----- NODE.JS TUTORIALS https://www.youtube.com/playlist?list=PL4cUxeGkcC9gcy9lrvMJ75z9maRw4byYp ----- SUBSCRIBE TO CHANNEL - https://www.youtube.com/channel/UCW5YeuERMmlnqo4oq8vwUpg?sub_confirmation=1 ============== The Net Ninja ===================== For more front-end development tutorials & to black-belt your coding skills, head over to - https://www.youtube.com/channel/UCW5YeuERMmlnqo4oq8vwUpg or http://thenetninja.co.uk ================== Social Links ================== Twitter - @TheNetNinja - https://twitter.com/thenetninjauk
Views: 36022 The Net Ninja
JavaScript Change CSS Class Style className Toggle Tutorial
Lesson Code: http://www.developphp.com/video/JavaScript/Change-CSS-Class-Style-className-Toggle-Tutorial Learn to change, toggle and swap CSS classes using JavaScript event handling.
Views: 35740 Adam Khoury
HTML and CSS Tutorial 13 : Hidden, Block, Inline, None and display properties
. Visit Our Friends @ Stone River E-Learning for Additional Tutorials - http://bit.ly/1fjsXTn Coupon 20% Off HTML & CSS for Beginners - http://bit.ly/1MmuYfw
Views: 7491 mybringback
JavaScript Template Literals: JSON to HTML
Follow along link: https://codepen.io/learnwebcode/pen/qVLOZJ Finished product: https://codepen.io/learnwebcode/pen/eyZMyp New WordPress Course: https://www.udemy.com/become-a-wordpress-developer-php-javascript/?couponCode=YOUTUBEDEAL Git a Web Developer Job Course: https://www.udemy.com/git-a-web-developer-job-mastering-the-modern-workflow/?couponCode=YOUTUBEDEAL HTML & CSS Course: https://www.udemy.com/web-design-for-beginners-real-world-coding-in-html-css/?couponCode=YOUTUBEDEAL WordPress for Beginners Course: https://www.udemy.com/wordpress-for-beginners-create-a-website-blog-step-by-step/?couponCode=YOUTUBEDEAL Follow me on Twitter for updates and cat pics: https://twitter.com/learnwebcode
Views: 62683 LearnWebCode
8.3: Manipulating DOM Elements with html() and position() - p5.js Tutorial
This video shows how to change the content of an HTML element using html() or set its position using position(). These functions are part of p5.dom.js library. Next video: https://youtu.be/NcCEzzd9BGE Support this channel on Patreon: https://patreon.com/codingtrain Contact: https://twitter.com/shiffman Send me your questions and coding challenges!: https://github.com/CodingTrain/Rainbow-Topics Link to code on Github: https://github.com/CodingTrain/Rainbow-Code p5.js: http://p5js.org For More p5.js Videos: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA Help us caption & translate this video! http://amara.org/v/Qbu5/
Views: 49398 The Coding Train
Use Display Inline-Block CSS to Create a Horizontal Nav Menu
Use display inline-block to treat a block element as inline while still retaining abilities to affect size, margins, and padding like it is a block element.
Views: 32908 Ralph Phillips
CSS & HTML Tutorial #14: Element Display and Visibility
DOWNLOAD THE SOURCE: https://www.langmanual.com/post/1548434528grlNt Follow me on Langmanual https://www.langmanual.com/user/shane In this tutorial we cover css element display and visibility, and the difference between the two properties
Views: 5215 jupitershanestap
1. HTML5 Custom Video Player Controls JavaScript Programming Tutorial
Lesson Code: http://www.developphp.com/video/JavaScript/Video-Player-Custom-Controls-Programming-Tutorial In this first part of the tutorial series we will discuss how to set up a custom controls interface starting with the play/pause button. Customizing the HTML5 video controls interface will allow you to achieve a unique and constant look for your video player in all browser software. Different browser software display different looking default controls for the video element. You can also offer your custom programmed video players to others to use on their websites if they also do not want to use the stock controls that are native to browser software for the video element. We use JavaScript to control the video after we remove the default controls. We used to do very similar things in Flash AS3 if you remember. We are going to begin with disabling the default control bar and setting up our own control bar design using a DIV that we can place all of our video controls into as we create them. In this part 1 we will add a play/pause button to the control bar, then in the videos that follow we will customize more aspects of video control interfacing.
Views: 193583 Adam Khoury
Javascript - How To Add Edit Remove Selected LI From UL List Using JS [ with source code ]
insert update delete selected LI from UL in javascript Source code: https://1bestcsharp.blogspot.com/2017/12/javascript-add-edit-delete-li.html Javascript Tutorials For Beginners ➜ http://bit.ly/2k7NMWq Javascript Course For Beginners ➜ http://bit.ly/2IvBCFC visit our blog https://1bestcsharp.blogspot.com/ subscribe: http://goo.gl/nRjPKk In This Javascript Tutorial we will See How To : - Insert A New LI To A UL . - Display The Selected LI From The List To Input Text . - Update The Selected LI From The List Using Input Text . - Remove The Selected LI From The List . On 3 Button Click Event In JS Programming Language And Netbeans Editor . More Javascript Tutorials : get maximum value from html table https://www.youtube.com/watch?v=KU_fUfdIhFM get minimum value from html table https://youtu.be/KU_fUfdIhFM get sum value https://youtu.be/2p39swI3_Rs get avg value of table column https://youtu.be/zeJ4lKgUqig How to get value of selected radio button https://www.youtube.com/watch?v=uzwUBDQfpkU How to append Value to an array https://www.youtube.com/watch?v=KVdY8n6lCy4 javascript images slider 1 https://www.youtube.com/watch?v=QkcemPr4xaU Convert String To Number https://www.youtube.com/watch?v=JMfZG7o_QtE JavaScript Show And Hide Input Password Text https://www.youtube.com/watch?v=Cmo9sjx5eFE change div class name in js https://www.youtube.com/watch?v=X_SDJxKI6HE using checkbox with js https://www.youtube.com/watch?v=yFYEHSh2iTQ get And Set Value To An Input https://www.youtube.com/watch?v=AfRHl3soLDg Search Element In Array https://www.youtube.com/watch?v=LIsjSMr9bJU Add Search Remove Array Element https://www.youtube.com/watch?v=ppLbuVWf6zM Add HTML Table Row https://www.youtube.com/watch?v=FVSfp8yT8lA Get Mouse Position https://www.youtube.com/watch?v=LVi5DN2vtdo Populate UL with LI from array: https://www.youtube.com/watch?v=72AAyx3wFxQ Display Selected LI Text To Input Text: https://www.youtube.com/watch?v=d3ZqI4B8Erc get selected LI index: https://www.youtube.com/watch?v=oKgUp-KBoHU delete selected li: https://www.youtube.com/watch?v=ZG_5a6j-WUQ edit selected LI: https://www.youtube.com/watch?v=ebGNDmfuGCA Insert A New LI To UL List In Javascript : https://youtu.be/JBdyASuhq1c Reverse List Elements: https://youtu.be/EahwqZ5Rf7c Using Range Input: https://www.youtube.com/watch?v=PYbQ8GgKXRw Move HTML Table Selected Row Up And Down: https://www.youtube.com/watch?v=srv5p791Am8 Add Remove Toggle Class: https://www.youtube.com/watch?v=quAfHMl65EE Transfer Rows Between Two HTML Table: https://www.youtube.com/watch?v=E-pLVUjwWSc share this video: https://youtu.be/GBDMr24O_rs
Views: 12509 1BestCsharp blog
HTML5 Basics - Display Types (Part5)
In this video we are going to talk about something inherent to html tags: display types. Display types define how the tags behave when rendered by the browser. We can use Style Sheets to change these at any time, but each tag has a default behavior and its important to understand how they will work when you are describing your page when writing the initial markup. Got that? # Three Types There are a lot, but we are going to concern ourselves with three main display styles. # Block Block level elements are big blocks, just like they sound. They are generally used to divide content, because by default block level elements begin on new lines. Block-level elements may contain inline elements and other block-level elements. Inherent in this structural distinction is the idea that block elements create "larger" structures than inline elements. An example is a "p" tag, that sections off the whole paragraph, and forces the next paragraph tag to a new line. Check out the notes below for a link to a list of all the block level tags in HTML. [https://developer.mozilla.org/en-US/docs/HTML/Block-level_elements] # Inline Inline elements may contain only data and other inline elements. Where block level elements are larger structures that contain all kinds a crap. By default, inline elements do not begin with new line when rendered by the browser. An example of this would be to wrap some words in your paragraph in an "a" tag. the words become a link, but the link does not start a new line in the paragraph, or disrupt the flow of content. It just sits inline in the paragraph. When we get to styling our document, we will note that inline elements cannot take width, height, margin and padding styles. For more on that check out this link [http://www.maxdesign.com.au/articles/inline/] # Inline-block This is the strange, but handy one. An inline block is placed inline (ie. on the same line as adjacent content), but it behaves as a block. So it can take those margins and paddings and dimensions. The only tags that default to inline-block are images and buttons. But with css, later on we will see that we can change any element to inline-block if we want to. Check out the link below for more information on inline-block [http://www.impressivewebs.com/inline-block/] # Display None & Table and others... There are other default display types that all have their little display behavior quirks; like display:table, or display:none. And there are a lot of interesting display methods on the horizon in css3, but today we wanted to just talk about how the html tags cary certain display types by default.
Views: 49180 DevTips
How to Display Code as Code in a Browser
How do you format code to look like code in browsers? How to get monospacing, styling, and syntax highlight to display on a website in any language. I'll show you how in this video and include steps in the description below. ★☆★ DOWNLOAD KOMODO ► http://bit.ly/Komodo-IDE-Learn-Ruby ★☆★ Komodo is one of the best Editors/IDE's for Ruby programming. If you already have an editor, I recommend trying out Komodo. I've tried all the others and I still came back to Komodo. This is important for when you're sharing code on your own blog or website. You need to be able to share your sample code while still allowing the using to highlight the text. Here's the code: Put this script (with script tags) inside your head tags: https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js?lang=ruby&skin=sunburst" Make sure to include the opening and closing script src= tags like I show in the video. (YouTube doesn't allow me to include brackets in this description field.) Wrap your code in this(Don't forget the brackets): pre class="prettyprint" Here's the standard prettify script skin names: default, desert, sunburst, sons-of-obsidian, doxy See what each skin/theme looks like here: https://cdn.rawgit.com/google/code-prettify/master/styles/index.html Prettify Github page: https://github.com/google/code-prettify Prettify Getting Starting page: https://github.com/google/code-prettify/blob/master/docs/getting_started.md Bonus video: Carlos Garcia talk at DevPoint Labs about why he loves Ruby: http://www.youtube.com/watch?v=8FoRISsHs_s
Views: 15117 Jake Day Williams
The 5 Mouseover Tips with JavaScript
The 5 Mouseover Tips with JavaScript The 5 Tips are: 1. Change the text color. 2. Change the background color. 3. Change the text. 4. Change the font size. 5. Show the hidden (or invisible) element. Code: http://codingwithsara.com/the-5-mouseover-tips-with-javascript/ Thanks for BGM "Daily Beetle" Kevin MacLeod (incompetech.com) Licensed under Creative Commons: By Attribution 3.0 License http://creativecommons.org/licenses/by/3.0/
Views: 9965 Coding with Sara
HTML5 Canvas Tutorial for Beginners | An Intro to Becoming a Pro - Ep. 1
🚀Support Chris Courses with Patreon: https://www.patreon.com/chriscourses 🖥Professional Web Development Services from Chris: https://resovere.com/ Down to code some sick nasty interactive animations? Let me show you how. HTML5 canvas easily generates interest to what would be a boring ass website. It's what allows us to create generative art that is simply impossible to recreate by hand. With a little bit of coding, we can animate and interact with this art, creating wonders of beauty that are truly unique to the medium of digital technology. In this multi-part tutorial series, we cover four essential skills for any HTML5 canvas piece: 1. Creating and Resizing Your Canvas 2. Drawing Elements 3. Animating Elements 4. Interacting with Elements If you want to become an HTML5 canvas pro, these four skills will provide a rock solid foundation to build upon. In this episode, we cover skill number one: creating and resizing your canvas. Follow along and you'll be cranking out interactive wonders in no time. Video Timeline: ----------------------------- 0:17 - What is HTML5 canvas and why would we want to use it? 01:35 - The Four Essential Skills for any HTML5 canvas piece 02:46 - Screencast tutorial begins 05:14 - Creating the canvas 06:33 - Resizing the canvas 11:48 - How to draw on the canvas The Platform: ------------------------- http://chriscourses.com is a platform in progress whose goal is to educate aspiring and seasoned web developers via story driven learning. Each course tells a different story, and each milestone reveals a different scene. With an expansive universe to explore, you can track your progress, and gain the necessary skills needed to build your dreams. For updates on the progress of chriscourses.com and future videos, join the Chris Courses mailing list at http://chriscourses.com. Chris Courses Social: ------------------------------------- Twitter: https://twitter.com/chriscourses Facebook: https://www.facebook.com/chriscourses Instagram: https://www.instagram.com/chriscourses Christopher Lis Social: --------------------------------------- Twitter: https://twitter.com/christopher4lis CodePen: http://codepen.io/chriscourses Beats: ------------- Joakim Karud - Looking To The Sky w/Peter Kuli & Kasey Andre
Views: 372763 Chris Courses
JavaScript Style Display
Entretenido ejemplo sobre el uso del atributo display usando JavaScript.
Views: 294 Tutor Web
Move Element to Mouse Click Position
Master the handful of tricks you need to get an element to smoothly move to the exact position of your mouse click.
Views: 31647 Kirupa Chinnathambi
css position property  tutorial ( fixed, absolute, relative, static )
CSS 'position' property explained . Learn how each fixed, absolute, relative, static value works with simple examples. 1. Static . 0:44 . (the default position, disturbing other elements) 2. relative . 2:00 . (remains in original position, but can be moved around without disturbing other elements) 3. Absolute . 7:35 . (remains in original position, but by default disturbs other elements - initially only) 4. fixed . 13:40 . (remains in original position, but by default disturbs other elements - initially only - also stays fixed on screen when scrolling up/down)
Views: 182671 techsith
Change Style Sheet Using Javascript Tutorial CSS Swap Stylesheet
Lesson Code: http://www.developphp.com/video/JavaScript/Change-Style-Sheet-Using-Tutorial-CSS-Swap-Stylesheet Learn to change the entire style of your web page with a click using JavaScript that is targeting the href attribute of your familiar link element using the setAttribute method of JavaScript. DEMO: http://www.adamkhoury.com/demo/js_swap_css_stylesheet/
Views: 45495 Adam Khoury
css div box responsive using flexbox | css flexbox tutorial
this video tutorial about , make a responsive css3 grids div container box layout usgin flex box absolute for beginners . equal with height of div boxs using css and html use flexbox style : display : flex flex-direction : row justify-content : space-around flex-flow : wrap
Views: 20947 Web Zone
3. HTML, CSS and JavaScript: Display Images on a Web Page
This is the third in a sequence of videos about creating a web page by combining HTML, CSS and JavaScript. It starts by reviewing the purpose of HTML then introduces the concept of nesting pairs of well formed tags. The use of the HTML bold and HTML italic tags to enhance the appearance of text is shown. The video then goes on to demonstrate how the img tag (image tag) is used to display a picture on a web page. It covers the use of the src attribute (source attribute) of the img tag when specifying the name of an image file, and its location relative to the web page itself.
Views: 279 Computer Science
Remove Anything with Inspect Element Custom CSS
Learn how to quickly remove any part of your WordPress website using inspect element and writing some custom css and the display none property. Remove elements, images, text, widgets, footer, header, sidebar and more.
Views: 15523 Greg Narayan
Partial Print Document JavaScript Tutorial HTML div Content
Lesson Code: http://www.developphp.com/video/JavaScript/Partial-Print-Document-Tutorial-HTML-div-Content Learn to allow users to print specific parts of your documents instead of printing the entire web page. We will apply print buttons near each printable portion of the document.
Views: 87939 Adam Khoury
How to display or hide website content on mobile devices using CSS?
How to display or hide website content on mobile devices using CSS? For detailed post and demo code visit www.techubber.blogspot.com
Views: 6367 Techubber - Tech Blog
Element hierarchy, nesting, and style cascading - Web design tutorial
To succeed in web design, and with Webflow, it's vital that you understand how elements hierarchy affects styling and sizing. In this video, we’ll cover element hierarchy in three ways: 1. How objects nest inside one another (e.g., parents, children, siblings) 2. How text styling is passed down from parent to child 3. How the sizes of parent elements and child elements affect one another ---------- Get started with Webflow: https://help.webflow.com/courses/getting-started http://webflow.com http://twitter.com/webflow http://facebook.com/webflow
Views: 59232 Webflow
CSS3 Tutorial - display:none and visibility:hidden difference
https://www.facebook.com/pages/WebTunings/339234242822202 https://github.com/webtunings
Views: 3636 WebTunings
Hiding elements with display, opacity or visibility? (CSS)
When it comes to hiding HTML elements on the page, you're most likely going to go with these three options in CSS - but when is it appropriate to use each one? This video takes you through the differences between display: none, opacity: 0 and visibility: hidden. If this video helped you out and you'd like to see more, make sure to leave a like and subscribe to dcode!
Views: 830 dcode
CSS Display
Check out my new site at http://www.youtubemuse.com/ In this screencast, we are going to talk about setting the display property of the HTML element. This CSS rule is most often set to make a HTML element a block element or an inline element. It's also used to make the element show or disappear in the webpage.
Views: 5390 Jeffery Hirono
Click Outside Close Menu Box JavaScript CSS HTML Tutorial
Lesson Code: http://www.developphp.com/video/JavaScript/Click-Outside-Close-Menu-Box-Tutorial In this JavaScript exercise we will demonstrate how to close specific things when a user clicks outside of them. You may have a drop down menu that you want to close when a user interacts with other things on the page. Or perhaps you have information windows that appear over content and you want to close them if the user clicks outside of them.
Views: 36735 Adam Khoury
display: none
Views: 333 matoruev
Move Placeholder To Top on Focus And While Typing - Pure CSS Tutorial - No Javascript
Please LIKE our NEW Facebook page for daily updates... https://www.facebook.com/Online-Tutorial-Html-Css-JQuery-Photoshop-1807958766120070/
Views: 41202 Online Tutorials
CSS Display and Visibility: Making Things Disappear
http://www.frameworktv.com | LearnToProgram is now Framework. Visit and join for free daily videos teaching digital skills like coding and design. SUBSCRIBE TO THE FRAMEWORK CHANNEL http://www.youtube.com/subscription_center?add_user=UC4msOaZNMfPwMe_ztV5jFH SUBSCRIBE TO OUR EMAIL LIST (LEARN FOR FREE!) http://www.frameworktv.com/?src=YOUTUBE You Can Do Magic! In this episode of QuickBytes your host, Rusty, will show you how to make things disappear! In part of the continuing QuickBytes series on CSS, Rusty will be demonstrating display and visibility features in CSS. This episode is a part of QuickByte’s series on Cascading Style Sheets. QuickBytes is produced by LearnToProgram Media. VISIT US ON FACEBOOK https://www.facebook.com/frameworkTechnicallySpeaking/ FOLLOW ON TWITTER https://twitter.com/fw_social INSTAGRAM https://www.instagram.com/frameworksocial/
JavaScript popup window
Link for all dot net and sql server video tutorial playlists http://www.youtube.com/user/kudvenkat/playlists Link for slides, code samples and text version of the video http://csharp-video-tutorials.blogspot.com/2015/01/javascript-popup-window_22.html In this video we will discuss, how to open a popup window using JavaScript. To open a popup window, use window.open() method. All the parameters are optional. window.open(URL, name, features, replace) URL - URL of the page to open. If URL is not specified, a new window with about:blank is opened name - Specifies the target attribute or the name of the window. _blank - URL is loaded into a new window. This is the default value if not specified. _parent - URL is loaded into the parent frame _self - URL replaces the current page _top - URL replaces any framesets that may be loaded name - name of the window features - Must be a comma-separated list. Some of the browsers does not support these features. menubar (yes/no) - Shows or hides the browser menu toolbar (yes/no) - Shows or hides the browser navigation bar location (yes/no) - Shows or hides the address field status (yes/no) - Shows or hides the status bar resizable (yes/no) - Whether or not the window is resizable scrollbars (yes/no) - Whether or not to display scroll bars top(pixels) - The top position of the window left(pixels) - The left position of the window height (pixels) - The height of the new window width (pixels) - The width of the new window replace - Specifies whether the URL creates a new entry or replaces the current entry in the browser history. Works only if the url is loaded into the same window. true - URL replaces the current document in the browser history list false - URL creates a new entry in the browser history list No parameters are passed to window.open() method. Since URL is not specified, a new window with about:blank will be opened. [input type="button" value="Open popup" onclick="window.open()" /] Most modern browsers open new tabs instead of separate windows. If you want to open the popup in a new window, one workaround I have found is to specify the URL, name, and features(height and width) parameters. This may not work in all browsers and it also depends on user's browser preferences. [input type="button" value="Open popup" onclick="window.open('http://google.com', '_blank', 'height=200,width=200')" /] When name parameter is set to _self, the new window replaces the current window [input type="button" value="Open popup" onclick="window.open('http://google.com', '_self')" /] Specify where you want the new popup window to be positioned using top and left features. [input type="button" value="Open popup" onclick="window.open('http://google.com', 'My Window', 'height=300,width=300, top=400, left=400')" /] Disable scrollbars and resizing. Works in IE but not in Chrome. [input type="button" value="Open popup" onclick="window.open('http://google.com', 'My Window', 'height=300,width=300, scrollbars=no, resizable=no')" /] To close pouup use window.close() method. [input type="button" value="Open popup" onclick="openPopup()" /] [input type="button" value="Close popup" onclick="closePopup()" /] [script type="text/javascript"] var popup; function openPopup() { popup = window.open("http://google.com","My Window", "height=300,width=300") } function closePopup() { popup.close(); } [/script]
Views: 143850 kudvenkat
CSS Positioning Tutorial for Beginners
How can we position our elements in CSS and how do the different values for the position property work? Limited Offer! Join the Full CSS Course at 90% off: https://acad.link/css Read the full article: https://academind.com/learn/css/understanding-css/the-position-property Check out all our other courses: https://academind.com/learn/our-courses ---------- Source code: https://github.com/academind/understanding-css/tree/01-position ---------- • Go to https://www.academind.com and subscribe to our newsletter to stay updated and to get exclusive content & discounts • Follow @maxedapps and @academind_real on Twitter • Join our Facebook community on https://www.facebook.com/academindchannel/ See you in the videos! ---------- Academind is your source for online education in the areas of web development, frontend web development, backend web development, programming, coding and data science! No matter if you are looking for a tutorial, a course, a crash course, an introduction, an online tutorial or any related video, we try our best to offer you the content you are looking for. Our topics include Angular, React, Vue, Html, CSS, JavaScript, TypeScript, Redux, Nuxt.js, RxJs, Bootstrap, Laravel, Node.js, Progressive Web Apps (PWA), Ionic, React Native, Regular Expressions (RegEx), Stencil, Power BI, Amazon Web Services (AWS), Firebase or other topics, make sure to have a look at this channel or at academind.com to find the learning resource of your choice!
Views: 147732 Academind
Events in JavaScript
Link for all dot net and sql server video tutorial playlists http://www.youtube.com/user/kudvenkat/playlists Link for slides, code samples and text version of the video http://csharp-video-tutorials.blogspot.com/2015/01/events-in-javascript.html What is an event An event is a signal from the browser that something has happened. For example, 1. When a user clicks on an HTML element, click event occurs 2. When a user moves the mouse over an HTML element, mouseover event occurs When events occur, we can execute JavaScript code or functions in response to those events. To do this we need to associate JavaScript code or functions to the events. The function that executes in response to an event is called event handler. In JavaScript, there are several ways to associate an event handler to the event 1. Using the attributes of an HTML tag 2. Using DOM object property 3. Using special methods In this video we will discuss associating event handler methods to events using the attributes of HTML tags. In the following example, the code to execute in response to onmouseover & onmouseout events is set directly in the HTML markup. The keyword "this" references the current element. In this example "this" references the button control. [input type="button" value="Click me" id="btn" onmouseover="this.style.background= 'red'; this.style.color = 'yellow'" onmouseout="this.style.background= 'black'; this.style.color = 'white'" /] The above example, can be rewritten as shown below. In this case the code to execute in response to the event is placed inside a function and then the function is associated with the event. [input type="button" value="Click me" id="btn" onmouseover="changeColorOnMouseOver()" onmouseout="changeColorOnMouseOut()" /] [script type="text/javascript"] function changeColorOnMouseOver() { var control = document.getElementById("btn"); control.style.background = 'red'; control.style.color = 'yellow'; } function changeColorOnMouseOut() { var control = document.getElementById("btn"); control.style.background = 'black'; control.style.color = 'white'; } [/script] Events are very useful in real-world applications. For example they can be used to 1. Display confirmation dialog box on submitting a form 2. Form data validation and many more How to show confirmation dialog in JavaScript [input type="submit" value="Submit" id="btn" onclick="return confirmSubmit()" /] [script type="text/javascript"] function confirmSubmit() { if (confirm("Are you sure you want to submit")) { alert("You selected OK"); return true; } else { return false; confirm("You selected cancel"); } } [/script] JavaScript form validation example : In this example, both First Name and Last Name fields are required fields. When you type the first character in any of the textbox, the background colour is automatically changed to green. If you delete all the characters you typed or if you leave the textbox without entering any characters the background colour changes to red indicating the field is required. We made this possible using onkeyup and onblur events. onkeyup occurs when the user releases a key. onblur occurs when an element loses focus. [table] [tr] [td] First Name [/td] [td] [input type="text" id="txtFirstName" onkeyup="validateRequiredField('txtFirstName')" onblur="validateRequiredField('txtFirstName')"/] [/td] [/tr] [tr] [td] Last Name [/td] [td] [input type="text" id="txtLastName" onkeyup="validateRequiredField('txtLastName')" onblur="validateRequiredField('txtLastName')"/] [/td] [/tr] [/table] [script type="text/javascript"] function validateRequiredField(controlId) { var control = document.getElementById(controlId); control.style.color = 'white'; if (control.value == "") { control.style.background = 'red'; } else { control.style.background = 'green'; } } [/script]
Views: 72681 kudvenkat
CSS Display: Inline-Block 1 of 2
In this video we introduce the concept of inline-block and what advantages and disadvantages it has over floats. The second video is here: http://youtu.be/fJHYN-1Y3Ls
Views: 8043 Brad Westfall
Javascript Form Select Change Options Tutorial Dynamic List Elements HTML5
Lesson Code: http://www.developphp.com/video/JavaScript/Form-Select-Change-Dynamic-List-Option-Elements-Tutorial In this Javascript video lesson you will learn how to program dynamic select form list elements. To demonstrate the logic we will show how to change options of a select list based on the selection the user makes from the first list. A web application developer will definitely need to know how to do this when they get into form programming that involves data intake of categories and subcatories from a user.
Views: 232178 Adam Khoury
css selectors tutorial ( by element , class id ) - HTML5
CSS3 tutorial for selecting elements by element name, class, id and attribute. We use code snippets and clear examples to expiln this important topic in HTML5 + CSS3 - How to style and element - difference between id and class in html - css hooks - difference between inline-styling and css - css How to change background color of an element - css HOw to change font-size of an element - css applying multiple styles to an element Keywords: css li last child css class selector css id selector css attribute selector css select all children css tutorel
Views: 17841 techsith
jQuery Element Selector
Link for all dot net and sql server video tutorial playlists http://www.youtube.com/user/kudvenkat/playlists Link for slides, code samples and text version of the video http://csharp-video-tutorials.blogspot.com/2015/03/jquery-element-selector.html In this video we will discuss jQuery Element Selector, i.e selecting elements by tag name. To select the elements by tag name use jQuery Element Selector Syntax : $(element) $('td') // Selects all td elements $('div a') // Select all anchor elements that are descendants of div element $('div, span, a') // Selects all div, span and anchor elements Alerts the total count of td elements on the page [script type="text/javascript"] $(document).ready(function () { alert($('td').length); }); [/script] Selects all the tr elements on the page and changes their background colour to red [script type="text/javascript"] $(document).ready(function () { $('tr').css('background-Color', 'red'); }); [/script] Alerts the HTML content of the table [script type="text/javascript"] $(document).ready(function () { alert($('table').html()); }); [/script] Alerts the HTML content of each table row [script type="text/javascript"] $(document).ready(function () { $('table tr').each(function () { alert($(this).html()); }); }); [/script] Select and changes the background colour of all the div, span and anchor elements [script type="text/javascript"] $(document).ready(function () { $('div, span, a').css('background-Color', 'yellow'); }); [/script] Select all anchor elements that are descendants of div element [html] [head] [title][/title] [script src="jquery-1.11.2.js"][/script] [script type="text/javascript"] $(document).ready(function () { $('div a').css('background-Color', 'yellow'); }); [/script] [/head] [body] [div] [a href="http://pragimtech.com"]PragimTech[/a] [/div] [br /] [a href="http://microsoft.com"]Microsoft[/a] [/body] [/html] Changes the background color of even rows to gray and odd rows to yellow in both the tables. [script type="text/javascript"] $(document).ready(function () { $('tr:even').css('background-Color', 'gray'); $('tr:odd').css('background-Color', 'yellow'); }); [/script] To change the background color of even rows to gray and odd rows to yellow just for one of the table, use #id selector along with element selector. [script type="text/javascript"] $(document).ready(function () { $('#table1 tr:even').css('background-Color', 'gray'); $('#table1 tr:odd').css('background-Color', 'yellow'); }); [/script]
Views: 144194 kudvenkat
Digital Clock in JS | JavaScript Tutorials | Web Development Tutorials
Digital Clock using HTML, CSS & JS (Video Tutorial). Learn some JS fundamentals by working with its functions, variable, Date object, timer & accessing the page element. Website: http://samsolomonprabu.com/ Donate & Support: https://www.verkkonet.com/downloads/donate.php?id=j1 Digital Clock in JS - Source File: https://verkkonet.com/downloads/index.php?id=j1
Views: 67316 VerkkoNet
Create Shopping Cart Using PHP and Mysql
Create Shopping Cart Using PHP and Mysql Hello Friends, In this Video We are creating Simple Php Cart Tutorial. Download Sorce File :) https://github.com/akashyap2013/Php-shopping-cart.git Create new shopping cart project and add four product images. Create new database Product detail, create a new table product and add 4 column id, pname , images and price. now we are inserting our product details in our table we are adding four product in table. before we start make sure that you had subscribe to daily tuition channel. First Create a new php file with php extenstion. We are using bootstrap framework with javascript library. Copy bootstrap cdn in your cart.php file in head section. Now we are import google font in for better font family. Copy google font url and paste in style tag in our file. Now create new php session on top of the page. And create a new variable and assign database name to that variable. Now create Database connection and pass four parameter . Host name, username, password and database name. Now create sql query to fetch data from our table. Execute mysql query with two parameter connection and Query string. Now we are check if product table number of rows is greater than 0. In while condition we are fetch array and store in $row variable in array format. Now we are display dynamic images so we are adding php tag in source of image tag. This way we are display Dynamic image on our page. Now I want to display product name php $row["pname"] in this way we are display product name from sql table. Do the same to display price also. Now add input type text to add quantity of product Now create submit button input type="submit" Add css style to division tag of product class. Now create a table to display product details. Create a php code to calculate total amount of product. So first we are check that our cart session is empty or not if it is not empty To display product information in key and value pairs. This way we can access all values of session cart. Now I want to display item name so is have use echo To display item name from our cart session Now I want to display item quantity and price so I do that same as I do this before. After this we want to calculate price of product base on quanitity. So we are adding item quantity divide by item price. After this we want to remove item from cart so we are add to access the id of product. Now we want to calculate total price of product so we add After this create new row with colspan three and align this to right. Now display total amount of your product with after this create new css style to table table head and table data. And also style up shopping cart details titile. So now run script We are getting error in the line no 137 So make sure that you are compete all curly brackets. Here we miss one curly bracket so we add this to remove this error and again run this project. Now we cannot see the image because we only specify the name of our image not the absolute path of our image so I have move this image from image folder to our root path. And delete image folder. Now we are creating a php code top of the page Then check that our session cart variable value is set or not with isset function. Create new variable item array id with two parameters. Now add in array function to check whether a value exists or not. Create item array variable Now after this assign item array value to session cart to count index we already specify session cart to count variable. Now redirect our page with echo window.location=cart.php And redirect page to window location = cart.php page. After this check if session cart variable is not set then the isset execute else block. Now we will run our project but we find that table is not display properly so let’s find out what is the problem In this code we missing the table tag so we will insert table tag with table and table bordered. Then we are check that if get action is equal to delete if it is true then further code is execute. Now create a for each to access the value of session cart variable. After that check that if product if is equal to get id. If it is true then execute further code and unset session cart variable. Now we cannot see product price and name so let’s find out what is the problem. We are missing the echo function in the h5 tag in design section. Add laptop bag one quantity and vivo v5 with three quantity. Iphone 6 with 2 quantity and Phillips trimmer with one quantity. And at the bottom you will see the total price is calculated. Now we are remove vivo v5 item from the cart and it was removed. At again remove iphone 6 and you will see the difference in total price is reduced because we was removed one product. so if you have any question or any opinion please comment on my video and share this video to you friends. If you have any other question you can chat with me in channel discussion. You can follow me on Facebook Page. Thank You...!
Views: 70225 Daily Tuition
CSS Display:Block Declaration Explained In Detail
CSS Display:Block Declaration Explained In Detail https://youtu.be/1IgGXzGI5AU Display block css will make it so an element takes up the entire width inside the HTML element where it resides. This is common for headlines and divs. These means if the HTML element is set to be 200 pixels wide then a block element will take up all 200 pixels of that width. Similary, if the element is 1000 pixels wide a block element will take up the whole 1000 pixel width. Or if an element is set to 100% of the page, a block element within that 100% wide parent will take up 100% of the page. The other display values available to you are: Block makes the element take up a whole row in the HTML element where it resides. Here's how it looks: display:block; Inline makes the element take up only the space it needs. Here's how it looks: display:inline; Inherit applies the same display property as its parent element. Here's how it looks: display:inherit; Display none makes elements disappear. It also makes it so the hidden element does not take up any space on the page. Here's how it looks: display:none; That's all there is to it. I hope this video helps you! If you have any questions, please leave them in the comments below. And before you go, subscribe and like :) If you're into Wordpress, check out my WPLearningLab channel to learn more about WordPress so you can earn more for yourself, for your clients or for your business.
How To Link an External JavaScript File to an HTML Document
My Recording Equipment Set-up and other things - https://www.amazon.com/shop/robinhaney Grab a 7 Day FREE Trial of Treehouse Techdegree Here - http://treehouse.7eer.net/c/251417/228915/3944 Subscribe To The Channel Here - https://www.youtube.com/channel/UCHLgef6oQmhazaaHAwwcVyg?sub_confirmation=1
Views: 55958 Robin Haney
Where should the script tag be placed in html
Link for all dot net and sql server video tutorial playlists http://www.youtube.com/user/kudvenkat/playlists Link for slides, code samples and text version of the video http://csharp-video-tutorials.blogspot.com/2014/11/where-should-script-tag-be-placed-in.html In this video we will discuss, where should the script tag be placed in the html. Should it be placed in the body or head section of the page. In general the script tag can be placed either in the head or body section. Let's look at a few examples : Example 1 : Script tag in the head section [html] [head] [script type="text/javascript"] alert("Welcome to JavaScript Tutorial"); [/script] [/head] [body] [form id="form1" runat="server"] [/form] [/body] [/html] Example 2 : Script tag in the body section [html] [head] [/head] [body] [form id="form1" runat="server"] [/form] [script type="text/javascript"] alert("Welcome to JavaScript Tutorial"); [/script] [/body] [/html] In Example 1 we placed the script tag in the head section and in Example 2, we placed it in body section. In both the cases JavaScript works as expected. Example 3 : Sets the background color of the TextBox to red. [html] [head] [/head] [body] [form id="form1" runat="server"] [asp:TextBox ID="TextBox1" runat="server"][/asp:TextBox] [/form] [script type="text/javascript"] document.getElementById("TextBox1").style.backgroundColor = "red"; [/script] [/body] [/html] Example 4 : This is same as Example 3, except we moved the script tag to the head section. In this case the script will not work as expected. Depending on the browser you are using you get one of the following JavaScript error. Firefox - TypeError: document.getElementById(...) is null Chrome - Uncaught TypeError: Cannot read property 'style' of null IE - Unable to get property 'style' of undefined or null reference To see these JavaScript errors press F12 which launches developer tools. F12 works for all the 3 browsers. [html] [head] [script type="text/javascript"] document.getElementById("TextBox1").style.backgroundColor = "red"; [/script] [/head] [body] [form id="form1" runat="server"] [asp:TextBox ID="TextBox1" runat="server"][/asp:TextBox] [/form] [/body] [/html] Why did the JavaScript did not work in this case JavaScript code is present before the textbox control. By the time the JavaScript code is executed, the textbox is still not loaded into browser DOM (Document Object Model). This is the reason JavaScript can't find the textbox and throws a NULL reference error. In Part 6, we discussed that, in general it is a good practice to store JavaScript in an external .js file. So, if the JavaScript is present in an external file and if you are referencing it on a page using [script] element, where should such [script] element be placed. To answer this question, first let's understand what happens when a browser starts loading a web page. 1. The browser starts parsing the HTML 2. When the parser encounters a [script] tag that references an external JavaScript file. The parser stops parsing the HTML and the browser makes a request to download the script file. Until the download is complete, the parser is blocked from parsing the rest of the HTML on the page. 3. When the download is complete, that's when the parser will resume to parse the rest of the HTML. This means the page loading is stopped until all the scripts are loaded which affects user experience. In general, the suggested good practice is to place the [script] tag just before the closing [body] tag, so it doesn't block the HTML parser. However, modern browsers support async and defer attributes on scripts. These attributes tell the browser it's safe to continue parsing while the scripts are being downloaded. But even with these attributes, from a performance standpoint it is still better to place [script] tag just before closing [body] tag. According to HTTP/1.1 specification browsers download no more than two components in parallel. So, if the page has several images to download and if you place [script] tags at the top of the page, the script files start to download first which blocks the images download which adds to the total page load time.
Views: 101342 kudvenkat
1.3: Getting Text form User: Text Input - Programming with Text
In this video, I demonstrate how you can get text input from a user with DOM elements ("input" and "textarea" in combination with the p5.dom.js library. Next Video: https://youtu.be/0Mq2CxspF5s Introduction to Programming from A to Z: http://shiffman.net/a2z/intro/ Support this channel on Patreon: https://patreon.com/codingtrain Send me your questions and coding challenges!: https://github.com/CodingTrain/Rainbow-Topics Contact: https://twitter.com/shiffman GitHub Repo with all the info for Programming from A to Z: https://github.com/shiffman/A2Z-F16 Source Code for the all Video Lessons: https://github.com/CodingTrain/Rainbow-Code p5.js: https://p5js.org/ Processing: https://processing.org createInput() reference: https://p5js.org/reference/#/p5/createInput Drag and Drop with p5.js video: https://www.youtube.com/watch?v=o4UmGrPst_c For More Programming from A to Z videos: https://www.youtube.com/user/shiffman/playlists?shelf_id=11&view=50&sort=dd For More Coding Challenges: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH Help us caption & translate this video! http://amara.org/v/V9bp/
Views: 55895 The Coding Train
CSS - ( Part 2 : Adding Icon ) Simple Input Text Box
Code used : https://codepen.io/zFunx/pen/XRyqvx Part 1 : https://youtu.be/omJfspwjnZk Get started with Font Awesome : http://fontawesome.io/get-started/ Learn more about aria-hidden : http://csskarma.com/blog/difference-rolepresentation-aria-hiddentrue/ Website : https://web.zfunx.xyz/ Facebook : https://www.facebook.com/zfunxWeb Google+ : https://plus.google.com/113560671967552430928 Twitter : http://twitter.com/PleeZfunx Instagram : https://www.instagram.com/zfunx/
AngularJS ng src directive
angular ng-src vs src difference between img src and ng-src in angularjs In this video we will discuss the use of ng-src directive in AngularJS Let us understand this with an example : We want to display the name of the country, capital and it's flag. AngularJS Code : The controller builds the country model. The flag property of the country object has the path of the image. var myApp = angular .module("myModule", []) .controller("myController", function ($scope) { var country = { name: "United States of America", capital: "Washington, D.C.", flag: "/Images/usa-flag.png" }; $scope.country = country; }); HTML Code : In the view we are binding country.flag property with the src attribute of the image element. [!doctype html] [html ng-app="myModule"] [head] [script src="Scripts/angular.js"][/script] [script src="Scripts/Script.js"][/script] [/head] [body] [div ng-controller="myController"] [div] Country : {{ country.name }} [/div] [div] Capital : {{ country.capital }} [/div] [div] [img src="{{country.flag}}" alt="{{ country.name + ' Flag' }}" style="height:100px; width:200px" /] [/div] [/div] [/body] [/html] When you view the page in the browser, the country details and the flag are displayed as expected. The problem with the img src attribute is that we get a 404 error. To see the error, launch the developer tools. Let's now understand the reason for the 404 error As soon as the DOM is parsed, an attempt is made is to fetch the image from the server. At this point, AngularJS binding expression that is specified with the src attribute is not evaluated. Hence 404 (not found) error. To fix the 404 error use the ng-src directive : ng-src attribute ensures that a request is issued only after AngularJS has evaluated the binding expression Link for all dot net and sql server video tutorial playlists https://www.youtube.com/user/kudvenkat/playlists?sort=dd&view=1 Link for slides, code samples and text version of the video http://csharp-video-tutorials.blogspot.com/2015/11/angularjs-ng-src-directive.html
Views: 441505 kudvenkat
How to make a Triangle and circle in css - html div element
How to draw a triangle and circle in html using pure css html triangle shape css triangle div element html triangle down html symbols html triangle button html triangle right css triangle with border Make Shapes with CSS The Shapes of CSS html circle shape css circle div element css circle with border radius css shapes arrow css circles how to make a triangle in css how to make a triangle button in css how to make a triangle div css how to draw a triangle in css how to draw a triangle in css3 how to make a circle in css how to draw a circle in css how to draw a circle in css3 how to make a circle div in css how to create circles with css
Views: 64443 techsith
jquery draggable widget
Link for all dot net and sql server video tutorial playlists https://www.youtube.com/user/kudvenkat/playlists?sort=dd&view=1 Link for slides, code samples and text version of the video http://csharp-video-tutorials.blogspot.com/2015/07/jquery-draggable-widget.html In this video we will discuss jquery draggable widget jquery draggable widget allow elements to be moved using the mouse. This widget is in interactions category on the jQuery UI website. http://jqueryui.com/draggable/ Consider the following HTML <div id="draggableDiv" class="divClass"> Drag me around </div> .divClass { height: 200px; width: 200px; background-color: red; color: white; display:table-cell; vertical-align:middle; text-align:center; } To make the above div element draggable $('#draggableDiv').draggable(); Some of the useful options to customize the draggable widget axis - Constrains dragging to either x or y axis containment - Constrains dragging to within the bounds of the specified element or region cursor - The CSS style of the cursor during the drag operation opacity - opacity during the drag operation revert - Boolean property that specifies if the element should revert to its start position when dragging stops revertDuration - The duration of the revert animation, in milliseconds snap - Specifies whether the element being dragged should snap to other elements. Value can be boolean or a selector. When set to true, the element will snap to all other draggable elements. When a selector is specified the element being dragged will snap to the element specified by the selector snapTolerance - The distance in pixels between the element being dragged and the element to which to snap to, at which snapping should occur. cancel - Prevents dragging from starting on specified elements Constrains dragging to x axis $('#draggableDiv').draggable({ axis : 'x' }); Constrains dragging to within the bounds of the parent element HTML <div id="containerDiv" style="height:300px; width:300px; border:3px solid black"> <div id="draggableDiv" class="divClass"> Drag me around </div> </div> jQuery $('#draggableDiv').draggable({ containment : 'parent' }); Changes the cursor style to "move" during the drag operation $('#draggableDiv').draggable({ cursor: 'move' }); Changes the opacity to 0.3 during the drag operation $('#draggableDiv').draggable({ opacity : '0.3' }); Reverts the div element to its start position when dragging stops. Revert animation completes in 1000 milli-seconds. $('#draggableDiv').draggable({ revert: true, revertDuration : 1000 }); The following example 1. Snaps the coloured div elements to the div element with thick black border. 2. The snapping occurs as soon as the distance between any of the coloured div element and the div element with thick black border is 50 pixels 3. The cancel option cancels dragging from starting on the div element with thick black border HTML <div id="redDiv" class="divClass" style="background-color: red"> Red Div </div> <div id="greeDiv" class="divClass" style="background-color: green"> Green Div </div> <div id="blueDiv" class="divClass" style="background-color: blue"> Blue Div </div> <div id="brownDiv" class="divClass" style="background-color: brown"> Brown Div </div> <br /> <br /> <div id="snapDiv" style="height: 400px; width: 400px; border: 5px solid black"> </div> Style .divClass { height: 200px; width: 200px; color: white; display: table-cell; vertical-align: middle; text-align: center; } jQuery $('div').draggable({ snap: '#snapDiv', snapTolerance: 50, cancel : '#snapDiv' });
Views: 25536 kudvenkat