• Skip to primary navigation
  • Skip to content
  • Skip to primary sidebar

Pro Programming

Professional way of Programming: Learn C, C++, Java, Python, Dot Net, Android the professional way

  • Home
  • C MCQs
  • C/C++ Programs
  • Java Programs
  • C#
  • Python
  • MySQL
  • Topics
    • Arrays
    • Strings
    • Link Lists
    • Trees
    • Shapes
  • Projects
  • Articles
  • Games
You are here: Home / Archives for Introduction to HTML CSS | Learn to Design your First Website in Just 1 Week

Introduction to HTML CSS | Learn to Design your First Website in Just 1 Week

How to detect the user’s device using jQuery ?

Leave a Comment


The task is to determine the user’s device, whether it is iPad or not, using JQuery. Below are the required methods:

Example: This example uses the navigator.userAgent property to identify the user’s device.

<!DOCTYPE HTML>

<html>

<head>

<title>

JQuery

| Detect iPad users.

</title>

</head>

<script src=

</script>

<body style="text-align:center;"

id="body">

<h1 style="color:green;">

GeeksForGeeks

</h1>

<p id="GFG_UP"

style="font-size: 17px;

font-weight: bold;">

</p>

<button>

click here

</button>

<p id="GFG_DOWN"

style="color: green;

font-size: 24px;

font-weight: bold;">

</p>

<script>

$('#GFG_UP').text(

"Click on the button to see "+

"whether user's device is iPad or not");

$('button').on('click', function() {

var is_iPad =

navigator.userAgent.match(/iPad/i) != null;

$('#GFG_DOWN').text(is_iPad);

});

</script>

</body>

</html>

Output:

  • Before reaching the bottom:
  • After reaching the bottom:




If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to [email protected]. See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the “Improve Article” button below.

Article Tags :


thumb_up
Be the First to upvote.

Please write to us at [email protected] to report any issue with the above content.


Post navigation


Previous

first_page Generate random alpha-numeric string in JavaScript







Source link

Filed Under: c programming Tagged With: •   Dynamic Programming, About Us, Advanced Data Structure, Advanced Topics, Algo ▼, Algorithm Paradigms ►, Algorithms, All Algorithms, All Data Structures, Analysis of Algorithms, Aptitude, Array, Backtracking, Binary Search Tree, Binary Tree, Bit Algorithms, Branch & Bound, C, Campus Ambassador Program, Campus Geek of the Month, Careers, Company Prep, Company-wise, Competitive Programming, Compiler Design, Computer Graphics, Computer Networks, Computer Organization, Computer Organization & Architecture, Contact Us, contribute.geeksforgeeks.org, Core Subjects ►, Courses, CS Subjects, CS Subjects ▼, CS Subjectwise ►, CSS, Data Structures, DBMS, Design Patterns, Detect a device is iOS or not using JavaScript, Differences between Bootstrap and JQuery UI, Digital Electronics, Divide and Conquer, DS ▼, Engg. Mathematics, Experienced Interviews, Game Theory, GATE ▼, GATE 2019, GATE CS Corner, GATE Notes, GATE Official Papers, GBlog, Geek of the Month, Geek on the Top, Generate random alpha-numeric string in JavaScript, Geometric Algorithms, Graph, Graph Algorithms, Greedy Algorithms, Hashing, Heap, Hire with Us , How to begin?, How to change opacity while scrolling the page?, How to change the background color after clicking the button in JavaScript ?, How to detect a mobile device in jQuery?, How to detect browser or tab closing in JavaScript ?, How to detect escape key press using jQuery?, How to detect touch screen device using JavaScript?, How to detect when user scrolls to the bottom of a div ?, How to get the ID of the clicked button using JavaScript / jQuery ?, How to upload files asynchronously using jQuery?, HTML, HTML & XML, HTML Course - Starting the Project | Creating Directories, HTML Course | Basics of HTML, HTML Course | First Web Page | Printing Hello World, HTML Course | Structure of an HTML Document, https://ajax.googleapis.com/ajax/libs/jquery/3.4.0/jquery.min.js, ide.geeksforgeeks.org, Internship, Internship Interviews, Internships, Interview ▼, Interview Experiences, Introduction to HTML CSS | Learn to Design your First Website in Just 1 Week, ISRO CS Exam, Java, JavaScript, jQuery, jQuery | :contains() Selector, jQuery | :first-child Selector, jQuery | :has() Selector with example, jQuery | :input Selector, jQuery | :nth-of-type() Selector, jQuery | :only-of-type Selector, jQuery | [attribute^=value] Selector, jQuery | [attribute] Selector, jQuery | * Selector, jQuery | Add Elements with Examples, jQuery | ajax() Method, jQuery | ajaxSetup() Method, jQuery | Callback Functions, jQuery | Create a div element, jQuery | css(), JQuery | Detect a textbox content is changed or not, jQuery | Get and Set CSS Classes, jQuery | getJSON() Method, jQuery | getScript() Method, JQuery | How to implement Star-Rating system using RateYo, jQuery | jquery Property, jQuery | jQuery.fx.interval Property with example, jQuery | jQuery.fx.off Property, jQuery | jQuery.support Property, jQuery | multiple classes Selector, jQuery | post() Method, jQuery | Set Content and Attributes, jQuery | text() Method, jQuery | Traversing Filtering, jQuery | trigger() Method, jQuery | unbind() Method, jQuery | val() with Examples, jQuery-Misc, Languages, Languages ►, Languages ▼, Last Minute Notes, LinkedList, Machine Learning, Mathematical Algorithms, Matrix, Microprocessor, Multiple Choice Quizzes, Navigator userAgent Property, Opening google search results simultaneously in new tabs in Chrome, Operating Systems, Pattern Searching, PHP, Placement Course, Practice, Practice Company Questions, Privacy Policy, Program Output, Project, Puzzles, Python, Queue, Quizzes ▼, Randomized Algorithms, Reader's View of a GeeksforGeeks webpage, Scala, School Programming, Scroll to the top of the page using JavaScript/jQuery, Searching Algorithms, Skip to content, Software Engineering, Some rights reserved, Sorting Algorithms, SQL, Stack, Strings, Students ▼, Suggest an Article, Testimonials, Theory of Computation, Top Topics, Topic-wise, Topicwise ►, Tree based DS ►, UGC NET CS Paper II, UGC NET CS Paper III, UGC NET Papers, Video Tutorials, Videos, Web Technologies, Web Technology, What’s Difference?, Write an Article, Write Interview Experience

Walk-Through DSA3 : Data Structures and Algorithms Online Course by GeeksforGeeks

Leave a Comment


This is a 10 weeks long online certification program specializing in Data Structures & Algorithms which includes pre-recorded premium Video lectures & programming questions for practice. You will learn algorithmic techniques for solving various computational problems and will implement more than 200 algorithmic coding problems. This course offers you a wealth of programming challenges that you may face at your next job interview. The course focuses mainly on Data Structure & Algorithms: the key to selection in top product based companies.

Recommended for:

  • Pre-Final/Final year students preparing for the Placement drives
  • Employees looking for a job change

This post is designed for all the registered users of the DSA3 course to get familiar with the learning environment of the course.


Let’s begin our tour of the DSA3 course.

Open GeeksforGeeks | Practice. Click on slider on the right side named “Live Batches” to access batches of all of the courses in which you are registered.

Click on the batch for DSA3 course, named “DSA Online 3 – Basic to Advance“.

Clicking on the above link will take you to the landing page of the DSA3 Batch. The landing page of the DSA3 course batch is shown below.


The main page of the batch for DSA3 contains the following components:

  1. Tracks: This part of the batch contains, all of the tracks topic wise, which are released weekly. You can find the details about the topics week wise on the DSA3 Course Page.
  2. Contests: This part contains the contests associated with the weeekly tracks. For each week there will be a contest where you can practice your skills in a timed environment. The contests have their own specific rules that are available on the contest page.
  3. Leader Board: This is the leaderboard of the course and will display ranks of all of the users registered in the course.
  4. Discussion: This is the discussion forum where you can ask any of your queries to our moderators.
  5. Notice Board: The noticeboard is on the rightmost part of the page and will contain all of the important updates related to the course.

Let us look at each of the above-mentioned sections in details and about how to use them?

TRACKS

Each week a cluster of new tracks will be published. The tracks will have an overview, theory, video lectures, problems, and quiz sections. You are advised to read the theory and watch the videos before solving the problems and quiz.

We have used the second track of the first week of the course to show you a glimpse of the details of different parts of tracks.

CONTESTS

The Contests page contains a list of all of the contests associated with the tracks in a particular week. Contests are also released weekly along with the tracks and are open for the entire duration of the week with a time constraint of 2 Hours. That is, any registered user can complete the learning part of the week as soon as possible and can take part in the corresponding contest of that week at any time and can compete for a duration of 2 hours.

For each week there will be a contest where you can practice your skills in a timed environment. The contests have their own specific rules that are available on the contest page.

Below is the screenshot of the contest page of the course.

Discussion

We have also designed a discussion forum to help you troubleshoot the problems that you might comes across. You can ask queries to our doubt-solving team anytime and we assure you to get a reply within 2 hours.

Below is the screenshot of the discussion page:

Doubt Solving:

  1. Please post your doubt with the link to the question in which you are facing difficulty.
  2. We assure you to provide assistance within 2 hours.
  3. You may ask queries during Weekdays in the time-slot 10 AM to 10 PM (IST), and during Weekend in the slot 10 AM to 6 PM (IST).
  4. If you think a particular reply answers your query then please click on resolved.
  5. For non-coding queries like certificates and all, please shoot a mail to [email protected]

You may ask any question by clicking on the “Ask / Start a new Discussion” button and filling up the modal as shown below:



Senior Technical Content Engineer | GeeksforGeeks


If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to [email protected]. See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the “Improve Article” button below.

Article Tags :


thumb_up
2

Please write to us at [email protected] to report any issue with the above content.


Post navigation


Previous

first_page Increase your salary as Software Developer : Learn Programming from Industry Experts here







Source link

Filed Under: c programming Tagged With: ..., •   Dynamic Programming, A subtle guide to get that college internship, About Us, Adobe, Advanced Data Structure, Advanced Topics, AKTU (UPTU) Previous Year Solved Papers | C Programming, Algo ▼, Algorithm Paradigms ►, Algorithms, All Algorithms, All Data Structures, Analysis of Algorithms, Aptitude, Array, Articles, Backtracking, Binary Search Tree, Binary Tree, Bit Algorithms, Branch & Bound, C, Campus Ambassador Program, Campus Geek of the Month, Careers, Chatbot Theory Explained !, Company Prep, Company-wise, Competitive Programming, Compiler Design, Computer Graphics, Computer Networks, Computer Networks | Data Link Layer, Computer Organization, Computer Organization & Architecture, Contact Us, Contests, contribute.geeksforgeeks.org, Core Subjects ►, Courses, CS Subjects, CS Subjects ▼, CS Subjectwise ►, CSS, CTS, Data Structures, DBMS, Design Patterns, Digital Electronics, Divide and Conquer, DS ▼, DSA3 course, DSA3 Course Page, Engg. Mathematics, Experienced Interviews, Functions of Operating System, Game Theory, GATE ▼, GATE 2019, GATE CS Corner, GATE Notes, GATE Official Papers, GBlog, Geek of the Month, Geek on the Top, GeeksforGeeks | Practice, Geometric Algorithms, Graph, Graph Algorithms, Greedy Algorithms, Hashing, HCL, Heap, Hire with Us , How to prepare for AMCAT?, HQL | Introduction, HTML, HTML & XML, HTML Course | Structure of an HTML Document, IBM …, ide.geeksforgeeks.org, Increase your salary as Software Developer : Learn Programming from Industry Experts here, Indentation and Comment in Python, Internship, Internship Interviews, Internships, Interview ▼, Interview Experiences, Introduction to .NET Framework, Introduction to HTML CSS | Learn to Design your First Website in Just 1 Week, ISRO CS Exam, Java, JavaScript, jQuery, Languages, Languages ►, Languages ▼, Last Minute Notes, LinkedList, Machine Learning, Mathematical Algorithms, Matrix, Meteor | Introduction to Meteor, Microprocessor, Microsoft, Min Heap in Java, Multiple Choice Quizzes, Must Do Coding Questions Company-wise, Must Do Coding Questions for Companies like Amazon, Must Do Questions for Companies like TCS, Namespaces and Scope in Python, OpenMP | Introduction with Installation Guide, Operating Systems, Pattern Searching, PHP, Placement Course, Practice, Practice Company Questions, Print all subsequences of a string using ArrayList, Privacy Policy, Program Output, Project, Puzzles, Python, Queue, Quizzes ▼, Randomized Algorithms, Scala, School Programming, Searching Algorithms, Skip to content, Software Engineering, Some rights reserved, Sorting Algorithms, SQL, Stack, Statement, Step by Step guide to Write your own WordPress Template, StringBuilder Class in Java with Examples, Strings, Structured Programming Approach with Advantages and Disadvantages, Students ▼, Subjective Questions, Sudo Placement 2 | Course Structure, Suggest an Article, Testimonials, Theory of Computation, Top Topics, Topic-wise, Topicwise ►, Tree based DS ►, UGC NET CS Paper II, UGC NET CS Paper III, UGC NET Papers, Video Tutorials, Videos, Web Technology, What’s Difference?, Why learning C Programming is a must?, Write an Article, Write Interview Experience

Primary Sidebar

Recent Posts

  • 5 Women Programmers Who Changed The World!
  • Wwe network subscribers reached 2.1 million
  • Surveying Questions and Answers – City and Township Surveying
  • Qualcomm Interview Experience ( On-Campus Drive)
  • 10k. Advanced WebDriver – Using Log4j Part 1
  • Privacy Policy
  • About
  • Contact US

© 2019 ProProgramming
 Privacy Policy About Contact Us