<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by GDSC CU on Medium]]></title>
        <description><![CDATA[Stories by GDSC CU on Medium]]></description>
        <link>https://medium.com/@gdsc.cu?source=rss-c8eb60562400------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*Sjb-Y93kvfYUBenCoF522A.jpeg</url>
            <title>Stories by GDSC CU on Medium</title>
            <link>https://medium.com/@gdsc.cu?source=rss-c8eb60562400------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 22 Nov 2026 14:41:43 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@gdsc.cu/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Winter Of Code]]></title>
            <link>https://medium.com/@gdsc.cu/winter-of-code-8774f74a202?source=rss-c8eb60562400------2</link>
            <guid isPermaLink="false">https://medium.com/p/8774f74a202</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[winter-of-code]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[project-management]]></category>
            <category><![CDATA[google]]></category>
            <dc:creator><![CDATA[GDSC CU]]></dc:creator>
            <pubDate>Fri, 19 Nov 2021 15:58:21 GMT</pubDate>
            <atom:updated>2021-11-19T15:58:21.910Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7qfWOXUxel0c6K5_Y6YKqw.png" /></figure><p>Winter of Code is a program aiming at extending participation for the Google Summer of Code program amongst students in colleges and universities. Winter of Code is right here to delicate up your wintry weather spirits with the wide world of open source development. This program targets to prepare you for the grand Google Summer of Code. Join us for a month-long programming project with an open-source organization. As a part of the Winter of Code, college students are allotted mentors from the collaborating organization. This initiative targets growing your skills in real-global software development in an extensive range of specializations. Besides learning about your potential, participating organizations provide you with the exposure you need in your formative years. The main goal is to get you endorsed into the open-source arena and help you create more code for the benefit of everyone.</p><h3>Timeline of the Program:</h3><h4>(<strong>1st November 2021 –26th November 2021</strong>)</h4><p>Student Pre-registration period.</p><h4>(13th November 2021–27 November 2021)</h4><p>Within this period, many organizations publish their project proposal.</p><h4>(29th November 2021— 1st December 2021)</h4><p>During this period, an assessment of the projects submitted by the organizations is done. The Organizations selected for the occasion will be announced during this period.</p><h4>(2nd December 2021–16th December 2021)</h4><p>Student application starts for the program. Students select their organizations and apply to them during this period.</p><h4>(17th December 2021–20th December 2021)</h4><p>In this period, application submitted by students are reviewed.</p><h4>(21st December 2021–22nd December 2021)</h4><p>Selected students are announced for the organizations. Students receive an email regarding their selection and are assigned projects by their respective organizations.</p><h4>(23rd December 2021–25th December 2021)</h4><p>This period is known as the community bonding period. Students come to know of their respective organizations. Mentors are assigned to students. Strategies and approaches towards their project are discussed over platforms like slack.</p><h4>(26th December 2021— 26th January 2022)</h4><p>In this period, selected students will perform given tasks by their respective organizations.</p><h4>(27th January 2022–29th January 2022)</h4><p>Evaluation of the task given to the students will be done in this period.</p><h4>(30th January 2022–31st January 2022)</h4><p>In this period, mentors will evaluate student’s projects and will submit a work report of the student.</p><h4>(4th February 2022)</h4><p>On 4th February names of students who have successfully completed the event will be announced.</p><h3>What’s there for you?</h3><p>Benefits of applying to the program</p><ul><li>Exciting swags on completion of Coding Month.</li><li>Certificate of participation and completion of the program.</li><li>Exposer Google Summer of Code.</li><li>Mentorship from Industrial Experts.</li><li>Contribution in Open-Source Organizations.</li><li>Connections with industrial experts.</li><li>Additional benefits from our sponsors.</li></ul><h3>What does this program offer to students, organizations, and mentors?</h3><h4>Students:</h4><p>Interested students can register for the Winter of Code by filling a form. Students who’re selected will work with mentors of the organization. If accepted, students amalgamate with their organizations before coding and analyzing more about their organization’s community. Students then have one month to code and meet the time limits agreed upon with their mentors. On a successful final touch of the program, students are rewarded with some cool schwag.</p><h4>Organizations:</h4><p>Open source organizations can apply to be mentor organizations. Once accepted, organizations discuss possible ideas with students, after which they decide on the proposals they want to mentor for the winter. They offer remarks to help guide every student through the program. Mentors and students work collectively to decide on suitable milestones and necessities for the winter. Mentor interaction is the most vital part of the program.</p><h4>Mentors:</h4><p>Mentors guide the students in the course of their tasks and review their code samples multiple times. They offer valuable feedback and advocate possible enhancements to the code. They additionally decide if a scholar has efficiently finished the Winter of code project. Students are notified of pass/fail status, and the schwag is delivered accordingly.</p><h3>Frequently Asked Questions</h3><h4>1: What programming language (s) should I know to take part in Winter of Code?</h4><p>The programming language you want to know relies upon which organization you’re interested in working with. You need to be acquainted with the programming language (s) used by that organization.</p><h4>2: Can I participate in Winter of Code as both a mentor and a student?</h4><p>No. We need to ensure that every project and student gets enough attention, and we feel this can create a bad experience for those involved. Please select whether participation as a mentor or a student is more appealing to you and plan accordingly.</p><blockquote><em>Feel free to ask for more queries in the comment box and we will try our best to resolve your queries :)</em></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8774f74a202" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Top 7 UI/UX Design Trends in 2021]]></title>
            <link>https://medium.com/@gdsc.cu/top-7-ui-ux-design-trends-in-2021-68137d0dd54c?source=rss-c8eb60562400------2</link>
            <guid isPermaLink="false">https://medium.com/p/68137d0dd54c</guid>
            <category><![CDATA[ui]]></category>
            <category><![CDATA[ui-design]]></category>
            <category><![CDATA[ux-design]]></category>
            <category><![CDATA[google]]></category>
            <category><![CDATA[ux]]></category>
            <dc:creator><![CDATA[GDSC CU]]></dc:creator>
            <pubDate>Wed, 10 Nov 2021 15:12:07 GMT</pubDate>
            <atom:updated>2021-11-10T15:12:07.333Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*NJ7VVDZqvNfYsgYEeSx-AQ.jpeg" /><figcaption><a href="https://www.pinterest.com/iburgarth/">Ilona Burgarth</a></figcaption></figure><p>UX (user experience) and UI (user interface) depend on each other. While UI offers the interplay among users and computer systems, software programs, and applications, UX offers users with standard experience with a brand, product, or service. They’re commonly positioned collectively in a single term, UI/UX design, and considered from, the surface they appear to be describing the identical thing.</p><blockquote><strong>UI Design</strong></blockquote><p>UI designs all the displays through which a user will move while using a website, app, or video game, while additionally developing the visual design factors that make this movement possible. UI design includes the buttons customers click on, the textual content they read, the images, sliders, text entry fields, and the rest of the objects with which the user interacts.</p><blockquote><strong>UX Design</strong></blockquote><p>“UX” is termed as “user experience.” A user’s experience of the app is determined by how they interact with it. User experience is determined by how clean or hard it is to interact with the user interface factors that the UI designers have created.</p><p>As a follow-up to our discussion of UI/UX, we will see to the UI/UX trends that every user has to know about.</p><h3>1. 3D Illustrations</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*7DIhaO_uZyy530BAR_38Xg.jpeg" /><figcaption><a href="https://nl.pinterest.com/jushhuang/">jushhuang</a></figcaption></figure><p>3-D illustration has to turn out to be a big UI design trend in 2021. Using tools along with <a href="https://www.maxon.net/en/cinema-4d">Cinema 4D </a>or <a href="https://www.blender.org/">Blender</a> will help you in your UI design and helps in user interaction. 3-D illustrations help to bring life to the designer’s ideas. The exercise of 3D design permits designers to boost their 2D thoughts off the page.</p><h3>2. Real-life pictures</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*S1qVD-Bg_TRgYrt9" /></figure><p>Real-life pictures are one of the best ways to describe your thoughts in front of your users. Real Life pictures help a lot to the designer and make a vast impact on the users. These pictures give visitors a real sense of your work. Having real-life photographs on your website can improve your credibility and upgrade the user experience. Images allow you to draw interest and to guide your visitor’s line of sight. They may be of great value to present critical information.</p><h3>3. Glassmorphism</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*8s5ViuF2k4l7bxFdeh9Rfw.jpeg" /><figcaption><a href="https://dribbble.com/Skrill52">Skrill52</a></figcaption></figure><p>Glass morphism is a term used to explain UI design that emphasizes mild or darkish items, on top of colorful backgrounds. A background blur is at the items which permit the background to shine, giving it the influence of frosted glass. This effect lets you add intensity and visual hierarchy for your UI and can efficiently put attention to the content material you need to highlight.</p><h3>4. Soft Gradients</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*v4TBDbs2vnLWSm5nzCep1A.jpeg" /></figure><p>Gradients help to give the image volume and depth. Soft gradients improve a website’s appearance and give a good experience to the user. Flashy and bright gradients make the website messy and do not help the user focus on the critical information of the website. You can create your own soft and modern gradients from any regular color.</p><h3>5. Motion Graphics:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*DW7u5D94KbCq2KFUQc586w.gif" /></figure><p>Motion Graphics is about bringing the design understanding to new mediums by including the factors of time and space to it — i.e. creating movement. Motion graphics make the user attend to the information provided on the website or suggest the following path of action. The transitions with motion photos are clean and fluid. Motion Graphics turns out to be the best way to deliver your idea to the user.</p><h3>6. Large Typography:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*N3vG0LD1_tszefJp" /></figure><p>Typography performs a crucial role in product design. Sometimes, the goods are designed absolutely on the premise of typography. The choice of the proper form of fonts and font length can regularly carry out top-notch results. UI/UX trends have also seen this fashion come to rise. Graphic designers use massive typography to draw the user’s interest and maintain it there. Typography helps the user quickly find what they are looking for.</p><h3>7. Emoji Designs:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/479/1*8e3AYQaiiFC8Cz8H-wl5nw.jpeg" /></figure><p>Emoji helps to deliver the information to the user in a very short form. Emojis are one of the most trending elements, you can find emojis everywhere. Emoji will let you say more with much less on your UI design and boost the user experience amongst all demographics. Emoji can upload persona on your UI design, permitting users (and designers!) to express themselves in a greater emotive way.</p><blockquote>These were the top 7 UI/UX Design Trends. If you loved this blog, don’t forget to follow <a href="https://medium.com/@gdsc.cu">GDSC CU</a> for more such amazing blogs.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=68137d0dd54c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Python Project For Beginners Part 2]]></title>
            <link>https://medium.com/@gdsc.cu/python-project-for-beginners-part-2-6f9f372e58da?source=rss-c8eb60562400------2</link>
            <guid isPermaLink="false">https://medium.com/p/6f9f372e58da</guid>
            <category><![CDATA[google]]></category>
            <category><![CDATA[python3]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[projects]]></category>
            <category><![CDATA[developer-student-club]]></category>
            <dc:creator><![CDATA[GDSC CU]]></dc:creator>
            <pubDate>Sat, 30 Oct 2021 14:51:05 GMT</pubDate>
            <atom:updated>2021-10-30T14:51:05.738Z</atom:updated>
            <content:encoded><![CDATA[<h4>Python Project: Beginners Level</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/680/1*Mxev_PjwAX-k78l52Vff0w.png" /></figure><h3>1. Hangman Game</h3><p>We all played different games when we were kids, but some were very popular, like hangman. For this game, draw out a Hangman board. Then, each player gets a turn to guess a consonant or vowel to see if they can figure out what the word or phrase is. In school, we used to play this game with pencil and paper, but now we will create this game with the help of Python.</p><blockquote>For this project, we will use the basics of <strong>Python.</strong></blockquote><h3>Prerequisites</h3><p>This project requires the knowledge of python functions and for/while loops. The functions that we use here include arguments that are declared in a global scope, which may be further used in different functions to improve game quality. It also can offer specific steps when required to execute upon situations through for and while loops.</p><h3>Hangman Python Code</h3><blockquote>Source code of Python Hangman: <a href="https://data-flair.s3.ap-south-1.amazonaws.com/python-projects/Hangman-DataFlair.zip">Python Hangman Project</a></blockquote><h3>Project File Structure</h3><p>First, let’s check the steps to build the Hangman game in Python:</p><ul><li>Import random and time modules.</li><li>Define functions.</li><li>Implementing loops.</li><li>Passing the function.</li></ul><h4>1. Importing the random and time libraries:</h4><pre>import random<br>import time</pre><pre># Initial Steps to invite in the game:<br>print(&quot;\nWelcome to Hangman game \n&quot;)<br>name = input(&quot;Enter your name: &quot;)<br>print(&quot;Hello &quot; + name + &quot;! Best of Luck!&quot;)<br>time.sleep(2)<br>print(&quot;The game is about to start!\n Let&#39;s play Hangman!&quot;)<br>time.sleep(3)</pre><h4>Code Explanation:</h4><ul><li><strong>Import random</strong>: Randomly choose an item from a list []</li><li><strong>Import time</strong>: This module is used to import the actual time from your pc to use in the program.</li><li><strong>Time.sleep()</strong>: This will pause the execution of the program for selected seconds.</li></ul><h4>2. Define the main function:</h4><pre>def main():<br>    global count<br>    global display<br>    global word<br>    global already_guessed<br>    global length<br>    global play_game<br>    words_to_guess = [&quot;january&quot;,&quot;border&quot;,&quot;image&quot;,&quot;film&quot;,&quot;promise&quot;,&quot;kids&quot;,&quot;lungs&quot;,&quot;doll&quot;,&quot;rhyme&quot;,&quot;damage&quot;,&quot;plants&quot;]<br>    word = random.choice(words_to_guess)<br>    length = len(word)<br>    count = 0<br>    display = &#39;_&#39; * length<br>    already_guessed = []<br>    play_game = &quot;&quot;</pre><h4>Code Explanation:</h4><ul><li>In the above code, we defined the main function. It initializes the various arguments: global count, global display, global word, global already_guessed, global length, and global play_game.</li><li><strong>Word</strong>: This random module will randomly choose the word from words_to_guess in the game.</li><li><strong>Length</strong>: It helps us to get the length of the string.</li><li><strong>Count</strong>: Count is initialized to zero.</li><li><strong>Display</strong>: This will draw a line for the word.</li></ul><h4>3. Develop a loop to execute the game again:</h4><pre># A loop to re-execute the game when the first round ends:</pre><pre>def play_loop():<br>    global play_game<br>    play_game = input(&quot;Do You want to play again? y = yes, n = no \n&quot;)<br>    while play_game not in [&quot;y&quot;, &quot;n&quot;,&quot;Y&quot;,&quot;N&quot;]:<br>        play_game = input(&quot;Do You want to play again? y = yes, n = no \n&quot;)<br>    if play_game == &quot;y&quot;:<br>        main()<br>    elif play_game == &quot;n&quot;:<br>        print(&quot;Thanks For Playing! We expect you back again!&quot;)<br>        exit()</pre><ul><li><strong>Play_loop</strong>: This function takes in the argument of play_game.</li><li><strong>Play_game</strong>:<strong> </strong>This argument will give an option to the player to quit or to play round 2.</li></ul><h4>4. Initialize conditions for hangman game:</h4><pre># Initializing all the conditions required for the game:<br>def hangman():<br>    global count<br>    global display<br>    global word<br>    global already_guessed<br>    global play_game<br>    limit = 5<br>    guess = input(&quot;This is the Hangman Word: &quot; + display + &quot; Enter your guess: \n&quot;)<br>    guess = guess.strip()<br>    if len(guess.strip()) == 0 or len(guess.strip()) &gt;= 2 or guess &lt;= &quot;9&quot;:<br>        print(&quot;Invalid Input, Try a letter\n&quot;)<br>        hangman()</pre><h4>Code Explanation:</h4><ul><li>All the arguments are called under the hangman() function.</li><li><strong>Limit:</strong> It is the maximum attempt given to the player to guess the word.</li><li><strong>Guess:</strong> It is used to take the input from the user.</li><li>If the user gives the invalid input, then the hangman function is executed again.</li></ul><p><strong>5. The rest of the whole hangman program combined:</strong></p><pre>elif guess in word:<br>        already_guessed.extend([guess])<br>        index = word.find(guess)<br>        word = word[:index] + &quot;_&quot; + word[index + 1:]<br>        display = display[:index] + guess + display[index + 1:]<br>        print(display + &quot;\n&quot;)</pre><pre>    elif guess in already_guessed:<br>        print(&quot;Try another letter.\n&quot;)</pre><pre>    else:<br>        count += 1</pre><pre>        if count == 1:<br>            time.sleep(1)<br>            print(&quot;   _____ \n&quot;<br>                  &quot;  |      \n&quot;<br>                  &quot;  |      \n&quot;<br>                  &quot;  |      \n&quot;<br>                  &quot;  |      \n&quot;<br>                  &quot;  |      \n&quot;<br>                  &quot;  |      \n&quot;<br>                  &quot;__|__\n&quot;)<br>            print(&quot;Wrong guess. &quot; + str(limit - count) + &quot; guesses remaining\n&quot;)</pre><pre>        elif count == 2:<br>            time.sleep(1)<br>            print(&quot;   _____ \n&quot;<br>                  &quot;  |     | \n&quot;<br>                  &quot;  |     |\n&quot;<br>                  &quot;  |      \n&quot;<br>                  &quot;  |      \n&quot;<br>                  &quot;  |      \n&quot;<br>                  &quot;  |      \n&quot;<br>                  &quot;__|__\n&quot;)<br>            print(&quot;Wrong guess. &quot; + str(limit - count) + &quot; guesses remaining\n&quot;)</pre><pre>        elif count == 3:<br>           time.sleep(1)<br>           print(&quot;   _____ \n&quot;<br>                 &quot;  |     | \n&quot;<br>                 &quot;  |     |\n&quot;<br>                 &quot;  |     | \n&quot;<br>                 &quot;  |      \n&quot;<br>                 &quot;  |      \n&quot;<br>                 &quot;  |      \n&quot;<br>                 &quot;__|__\n&quot;)<br>           print(&quot;Wrong guess. &quot; + str(limit - count) + &quot; guesses remaining\n&quot;)</pre><pre>        elif count == 4:<br>            time.sleep(1)<br>            print(&quot;   _____ \n&quot;<br>                  &quot;  |     | \n&quot;<br>                  &quot;  |     |\n&quot;<br>                  &quot;  |     | \n&quot;<br>                  &quot;  |     O \n&quot;<br>                  &quot;  |      \n&quot;<br>                  &quot;  |      \n&quot;<br>                  &quot;__|__\n&quot;)<br>            print(&quot;Wrong guess. &quot; + str(limit - count) + &quot; last guess remaining\n&quot;)</pre><pre>        elif count == 5:<br>            time.sleep(1)<br>            print(&quot;   _____ \n&quot;<br>                  &quot;  |     | \n&quot;<br>                  &quot;  |     |\n&quot;<br>                  &quot;  |     | \n&quot;<br>                  &quot;  |     O \n&quot;<br>                  &quot;  |    /|\ \n&quot;<br>                  &quot;  |    / \ \n&quot;<br>                  &quot;__|__\n&quot;)<br>            print(&quot;Wrong guess. You are hanged!!!\n&quot;)<br>            print(&quot;The word was:&quot;,already_guessed,word)<br>            play_loop()</pre><pre>    if word == &#39;_&#39; * length:<br>        print(&quot;Congrats! You have guessed the word correctly!&quot;)<br>        play_loop()</pre><pre>    elif count != limit:<br>        hangman()<br></pre><pre>main()</pre><pre>hangman()</pre><h4>Code Explanation:</h4><ul><li>The limit is set to five and the limit count will tell the guesses left for the user.</li><li>If the limit is reached, then the game will end.</li><li>If the user guesses the word correctly, then the user has won the game.</li><li>Play_loop: This will ask the user to play again or quit. If this executes to Yes, then the main and hangman will start again.</li></ul><h3>Output:</h3><p><strong>Enter Your Name:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ew083q_VadAs2UZl13E-Kg.png" /></figure><p><strong>The Game will start:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2YHWEqmB0K-RxcWGu4jpgQ.png" /></figure><h4>Summary:</h4><p>The project is successfully completed. You have created your second game of this series.</p><p>This was Python Project For Beginners Part 2. To read Part 1 click on the link <a href="https://medium.com/@gdsc.cu/python-project-for-beginners-part-1-fe03566eb4b7"><strong>Mad Lib Generator</strong></a><strong>.</strong></p><blockquote>Stay tuned for upcoming project ideas and show some love to this series of blogs:)</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6f9f372e58da" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Memory Management in Javascript]]></title>
            <link>https://medium.com/@gdsc.cu/memory-management-in-javascript-bf5d7c048054?source=rss-c8eb60562400------2</link>
            <guid isPermaLink="false">https://medium.com/p/bf5d7c048054</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[javascript-development]]></category>
            <category><![CDATA[javascript-tips]]></category>
            <category><![CDATA[google]]></category>
            <dc:creator><![CDATA[GDSC CU]]></dc:creator>
            <pubDate>Sat, 23 Oct 2021 17:11:32 GMT</pubDate>
            <atom:updated>2021-10-23T17:11:32.316Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*sVZMm171aPCCPF2h" /></figure><p>While learning about memory management, we need to deal with 2 things basically, i.e. How memory is allocated and how we are going to access it.</p><p>The memory life cycle comprises of 3 phases:</p><ol><li>Allocation</li><li>Use</li><li>Release</li></ol><p>The Allocation and the Release phase are handled by JavaScript. Knowing this memory management, the process helps programs to use memory efficiently while coding.</p><h3>Javascript Storage</h3><p>It uses 2 types of Data Structure for storage, i.e.</p><ol><li><strong>Stack</strong>- It is a Static memory allocation. Which stores all primitive data types like boolean, or var, and references. The size of these data types is calculated at the compile time by the program. Stack is a data structure that works on last in, first-out (LIFO). While using this data structure, the memory occupies the space until the end of the program, which makes it inefficient memory management.</li><li><strong>Heap</strong> — it is a dynamic memory allocation. Objects, functions, and arrays in JavaScript are allocated in a heap. Its size is determined at the runtime of the program (not in compile-time, which makes it dynamic.</li></ol><p>The data is stored in the heap while the reference of that dynamic memory is stored in the stack.</p><h3>Releasing memory in JavaScript</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*zJ0J3gC_-KwuvHSX" /></figure><p>In this, we will discuss garbage collection. In Javascript, these algorithms are used</p><p><strong>1. Reference-counting garbage collection </strong>— First, let’s try to understand what a reference is. Given two things, one item is said to point to another object if the first object can access the paths or structures of the second object. Now let’s move on to the algorithm.</p><p>The reference calculation algorithm is very simple and determines the usefulness of an object by determining whether an object is intended for another object. If an object can be directed to another object, then it is taken as a garbage can and collected.</p><p>Here, two objects are created and one is represented by the property of another. Another factor is the provision of variable flex. As far as trust is concerned, there is no scope for garbage collection.</p><h4>Drawback</h4><p>There is a limit for cycles. Suppose two elements are created and interact, thus forming a circle. They will run out of space behind the work fence, so they are useless and can be released. However, the reference calculation algorithm determines each item is identified at least once, and garbage can be collected.</p><h4>2. Mark-and-sweep algorithm</h4><p>The Mark-and-sweep algorithm goes through these 3 steps:</p><p>Roots: Roots are the universal variables shown in the code. In JavaScript, for example, a global variable that can act as root is a “window”. The same thing for Node.js is called “global”. A complete list of all the roots is made by the garbage collector.</p><p>The algorithm then scans all the roots and their offspring and marks them as active (that is, they are not trash). Any root that can reach it will be marked as garbage.</p><p>Finally, the trash collector removes all unmarked pieces of memory as working and restores that memory to the OS.</p><p>This algorithm is better than the previous one because “something with zero references” leads to this item not being found. The opposite is not true, as we have seen in cycles.</p><h4>Contrary to popular opinion, garbage collectors</h4><p>Although garbage collectors are easy to come with their own trading sets. One of them is non-deterministic. GCs are not expected. You can’t say when the collection will be made. This means that sometimes, programs use more memory than is required. Sometimes, a temporary shutdown may be seen in the most critical applications.</p><h3>What is a memory leak?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/357/1*8sPC3lrYOD8ABtq1t3E5cg.png" /></figure><p>As memory suggests, memory leaks are pieces of memory of an app that you used to use in the past, but are no longer needed, but have not been returned to the OS or the free memory pool.</p><p>Planning languages ​​prefer different ways of managing memory. However, whether a memory clip is used is an insurmountable problem. Only developers can determine if a memory clip can be restored to the app or not. Certain programming languages ​​provide features that help engineers do this. Some expect developers to be completely clear about when a memory clip is unused.</p><h4>Four types of common JavaScript leaks</h4><ol><li>Global diversity</li><li>Callbacks or Forgotten timers</li><li>Out of DOM references</li><li>Closures</li></ol><h4>Prevent memory leakage</h4><ul><li>Leaking to avoid leaks provides indicators within setInterval () / setTimeout () such as tasks that need to be performed before the garbage can be collected.</li><li>Call directly to delete tasks when they are no longer needed.</li></ul><h3>Unscrupulous behavior by garbage collectors</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/310/1*mQNDMpoZKAlD71Ln31ZmcA.jpeg" /></figure><p>Although garbage collectors are easy to come with their own trading sets. One of those trades is non-determinism. GCs are not expected. It is often not possible to determine when a collection will be made. This means that sometimes, more memory than the system needs is used. Sometimes, a temporary shutdown may be seen in the most critical applications. Although non-determinism means that one cannot be sure when a collection will be made, many uses of GC share the same pattern to make the collection pass during distribution. When no assignment is made, most GCs stay at rest. Consider the following scenario:</p><p>1: A large set of sharing is being done.</p><p>2: Most of these items (or all of them) are marked as inaccessible (suppose we do not apply the reference to the archive we no longer need).</p><p>3: No other distributions are made.</p><p>Here, most GCs will not continue to pass ongoing collections. Although there are inaccessible references available for collection, these are not required by the collector. This is not a solid leak, but it still results in higher memory usage than usual.</p><p>If you loved this blog, don’t forget to follow GDSC CU for more amazing content :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bf5d7c048054" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Devfest India 2021]]></title>
            <link>https://medium.com/@gdsc.cu/devfest-india-2021-30f3bd4db8f5?source=rss-c8eb60562400------2</link>
            <guid isPermaLink="false">https://medium.com/p/30f3bd4db8f5</guid>
            <category><![CDATA[google]]></category>
            <category><![CDATA[devfest]]></category>
            <category><![CDATA[developer-student-club]]></category>
            <category><![CDATA[events]]></category>
            <dc:creator><![CDATA[GDSC CU]]></dc:creator>
            <pubDate>Tue, 19 Oct 2021 11:17:04 GMT</pubDate>
            <atom:updated>2021-10-19T11:17:04.163Z</atom:updated>
            <content:encoded><![CDATA[<h4>India’s Largest Developer Event of 2021</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7GCM9hQ_hSizY4LJ1jf6lg.png" /></figure><p>DevFest India is the largest annual developer’s fest prepared by Google Developer Groups throughout India. DevFest, or ‘Developer Festival, is a technical conference for developers. It is aimed towards students, professionals, or simply curious techies. Like 2020, this year too we have got 50+ GDG Communities uniting together to deliver before you DevFest India 2021.</p><h3>About this program:</h3><p>DevFests are community-led developer events hosted by Google Developers Groups around the globe. This event is organized every year with the help of GDG communities. This time 50+ GDG Communities are coming together to host this event. This is a 3 day event, and this time the event will be hosted from October 22 to October 24. From beginners to experts, DevFest India 2021 is for everyone, so come along, share your knowledge and learn something new.</p><h4>Where to start?</h4><ul><li>To register for DevFest India 2021, click on the link. <a href="https://devfestindia.com/registration?code=GDSCCU"><strong>DevfestIndia2021</strong></a></li><li>After registering, create your Devfest profile here. By clicking <a href="https://devfestindia.com/profile"><strong>Devfestprofile</strong></a></li><li>Create your DevFest Profile Badge by clicking on the link <a href="https://devfestindia.com/badge"><strong>DevfestProfileBadge</strong></a> and share it on social media with <em>#DevfestIndia.</em></li></ul><h3>Timeline of the Event:</h3><h3>Day 1</h3><p><strong>04:00 PM: </strong>Opening Keynote of DevFest India 2021</p><p><strong>04:20 PM</strong>: Roadmap for Android Developers and getting started with Kotlin Details</p><p><strong>05:10 PM: </strong>Roadmap for ML professionals and building end to end pipelines using ML</p><p><strong>06:00 PM: </strong>Building Open Source Presence on GitHub</p><p><strong>06:15 PM:</strong> Roadmap for Web developers and building your first website</p><p><strong>07:05 PM:</strong> Roadmap for Flutter Developers and getting started with Dart</p><p><strong>07:55 PM:</strong> Roadmap to Becoming a Cloud Professional and GCP Cloud Service Overview &amp; Decision Trees</p><p><strong>08:30 PM:</strong> Networking Session with Web Experts, Android Experts, and ML Experts</p><h3>Day 2</h3><p><strong>04:00 PM:</strong> Using Jetpack Compose in your Android applications</p><p><strong>04:55 PM:</strong> Image Classification using TensorFlow Hub and Neural network Compression Techniques</p><p><strong>05:45 PM:</strong> Making web accessible &amp; performant to all</p><p><strong>06:35 PM: </strong>An Ultimate Guide to Build Tech Resume</p><p><strong>06:50 PM:</strong> Selecting the right widget from the alternatives</p><p><strong>07:40 PM:</strong> Introduction to Google Kubernetes Engine</p><p><strong>08:30 PM:</strong> Networking Session with Cloud Experts, Flutter Experts and Hiring Managers</p><h3>Day 3</h3><p><strong>04:00 PM:</strong> Data management in your Android app and testing it</p><p><strong>04:55 PM:</strong> Exploring end-to-end principles for Democratization of AI/ML and exploring possibilities to contribute to Open Source</p><p><strong>05:45 PM:</strong> Advancing your website with payment integration and ML/AR/VR</p><p><strong>06:35 PM:</strong> Salary Negotiation &amp; Finding Jobs</p><p><strong>06:50 PM:</strong> Explore State Management</p><p><strong>07:40 PM:</strong> How to build Data Lake on GCP</p><p><strong>08:30 PM:</strong> Closing Keynote.</p><h3>What does this program offer?</h3><blockquote><strong>3 Days (22 to 24 October)</strong></blockquote><blockquote><strong>15+Sessions</strong></blockquote><blockquote><strong>50+Communities</strong></blockquote><h4>Hand on sessions:</h4><p>Don’t just watch the sessions. Follow along and learn more.</p><h4>Roadmap For Developers:</h4><p>This year you will get a Roadmap for each track and tips on answering the most commonly asked interview questions</p><h4>Panel Discussions:</h4><p>Learn from the interactions of a group of panelists.</p><h4>Networking Sessions:</h4><p>Networking Sessions (Fireside chat with the experts from Android, Web, ML, Cloud, and Flutter fields.</p><h4>Job Opportunities:</h4><p>Connect with recruiters whose requirements match your skills.</p><h4>Developer Certifications:</h4><p>Slingshot your career with Developer Certifications.</p><h4>Swags and Goodies:</h4><p>Even though Devfest2021 is online but still swags and goodies distribution will be done.</p><h4>Ice Breaker Activites:</h4><p>Get refreshed by participating in ice breaker activities.</p><h3>Partner Communities Devfest2021:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HfgV8kEw8VjMkA6D9Zumtg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1005/1*kdgME1RX22KbYzvDu901lA.jpeg" /></figure><h3>Frequently asked questions:</h3><h4>1. What is DevFest?</h4><p>DevFests are community-led developer events hosted by Google Developers Groups around the globe.</p><h4>2. What are GDGs?</h4><p>GDGs are focused on community building and learning about Google’s technologies.</p><h4>3. Who can register for DevFest?</h4><p>Beginners, experts, literally everyone. Anyone with a passion for learning, who’s fond of technology, passionate programmers, everybody can register and attend.</p><h4>4. Is it mandatory to register to take part in the event?</h4><p>Yes. Each individual may register for only one ticket. You may not register on behalf of anyone else.</p><p>Register for DevFest 2021 and attend these amazing three days&#39; events. Grab as much experience as you can from this event and if you like this blog show some love and follow to get more amazing content in the future.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=30f3bd4db8f5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Python Project For Beginners Part 1]]></title>
            <link>https://medium.com/@gdsc.cu/python-project-for-beginners-part-1-fe03566eb4b7?source=rss-c8eb60562400------2</link>
            <guid isPermaLink="false">https://medium.com/p/fe03566eb4b7</guid>
            <category><![CDATA[computer-science]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[google]]></category>
            <category><![CDATA[python-programming]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[GDSC CU]]></dc:creator>
            <pubDate>Sat, 16 Oct 2021 17:35:47 GMT</pubDate>
            <atom:updated>2021-10-16T17:35:47.854Z</atom:updated>
            <content:encoded><![CDATA[<h4>Python Project: Beginners Level</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/680/1*Mxev_PjwAX-k78l52Vff0w.png" /></figure><h3>1. Mad Libs Generator Game</h3><p>Mad libs generator is a fun game for kids.</p><p>In this python game, the user has to enter substitutes for blanks in the story without knowing the story. This game helps students to advance their vocab by the game.</p><h3>Python Mad Libs Generator</h3><p>The goal of this task is to develop a Mad Libs Generator python project. In this game, the user has to select a story taking reference from the titles. Then the person has to go into precise phrases like a noun, adverb, verb, food, adjective, etc., in keeping with the requirements. And then the story could be generated.</p><p>For this project, we will use the basics of <strong>Python</strong> and <strong>Tkinter</strong>.</p><h3>Prerequisites for the project:</h3><p>In order to complete the project, you will need the Tkinter library. Write the following command in the command line if you want to get Tkinter. Then wait a few seconds if you want to get to the library.</p><pre>pip install tkinter</pre><h3>Download Python Mad Libs Generator Code</h3><p>To download the source code of the project, click on the link given: <a href="https://data-flair.s3.ap-south-1.amazonaws.com/python-projects/python-mad-libs-generator.zip"><strong>Python Mad Libs Generator</strong></a></p><h3>Project File Structure</h3><p>Using the source code as a starting point, let’s discuss the project’s structure. The following steps will guide you in building our project:</p><ul><li>Import modules</li><li>Create a display window</li><li>Define functions</li><li>Create buttons</li></ul><h4>1. Import Modules</h4><p>Now that we have downloaded the Tkinter library, it is time to import the packages.</p><pre>from tkinter import *</pre><h4>2. Create a Display Window</h4><pre>root = Tk()<br>root.geometry(&#39;300x300&#39;)<br>root.title(&#39;DataFlair-Mad Libs Generator&#39;)<br>Label(root, text= &#39;Mad Libs Generator \n Have Fun!&#39; , font = &#39;arial 20 bold&#39;).pack()<br>Label(root, text = &#39;Click Any One :&#39;, font = &#39;arial 15 bold&#39;).place(x=40, y=80)</pre><ul><li><strong>Tk()</strong> used for initializing Tkinter</li><li><strong>geometry()</strong> it is used to set the height and width of the window</li><li><strong>title()</strong> use to create the title of the window</li><li><strong>Label()</strong> displays text that users can’t able to modify</li><li><strong>root</strong> it is the name given to our window</li><li><strong>text </strong>It takes the<strong> </strong>text on the label</li><li><strong>font</strong> used to set the size and type of fonts</li><li><strong>pack </strong>organized widget in block</li><li><strong>place() </strong>used when we want to place widgets in a specific position</li></ul><h4>3. Define Function</h4><pre>def madlib1():</pre><pre>    animals= input(&#39;enter a animal name : &#39;)<br>    profession = input(&#39;enter a profession name: &#39;)<br>    cloth = input(&#39;enter a piece of cloth name: &#39;)<br>    things = input(&#39;enter a thing name: &#39;)<br>    name= input(&#39;enter a name: &#39;)<br>    place = input(&#39;enter a place name: &#39;)<br>    verb = input(&#39;enter a verb in ing form: &#39;)<br>    food = input(&#39;food name: &#39;)<br>    print(&#39;say &#39; + food + &#39;, the photographer said as the camera flashed! &#39; + name + &#39; and I had gone to &#39; + place +&#39; to get our photos taken on my birthday. The first photo we really wanted was a picture of us dressed as &#39; + animals + &#39; pretending to be a &#39; + profession + &#39;. when we saw the second photo, it was exactly what I wanted. We both looked like &#39; + things + &#39; wearing &#39; + cloth + &#39; and &#39; + verb + &#39; --exactly what I had in mind&#39;)<br></pre><pre>def madlib2():<br>   <br>    adjactive = input(&#39;enter adjective : &#39;)<br>    color = input(&#39;enter a color name : &#39;)<br>    thing = input(&#39;enter a thing name :&#39;)<br>    place = input(&#39;enter a place name : &#39;)<br>    person= input(&#39;enter a person name : &#39;)<br>    adjactive1 = input(&#39;enter a adjactive : &#39;)<br>    insect= input(&#39;enter a insect name : &#39;)<br>    food = input(&#39;enter a food name : &#39;)<br>    verb = input(&#39;enter a verb name : &#39;)</pre><pre>    print(&#39;Last night I dreamed I was a &#39; +adjactive+ &#39; butterfly with &#39; + color+ &#39; splocthes that looked like &#39;+thing+ &#39; .I flew to &#39; + place+ &#39; with my bestfriend and &#39;+person+ &#39; who was a &#39;+adjactive1+ &#39; &#39; +insect +&#39; .We ate some &#39; +food+ &#39; when we got there and then decided to &#39;+verb+ &#39; and the dream ended when I said-- lets &#39; +verb+ &#39;.&#39;)<br></pre><pre>def madlib3():</pre><pre>    person = input(&#39;enter person name: &#39;)<br>    color = input(&#39;enter color : &#39;)<br>    foods = input(&#39;enter food name : &#39;)<br>    adjective = input(&#39;enter aa adjective name: &#39;)<br>    thing = input(&#39;enter a thing name : &#39;)<br>    place = input(&#39;enter place : &#39;)<br>    verb = input(&#39;enter verb : &#39;)<br>    adverb = input(&#39;enter adverb : &#39;)<br>    food = input(&#39;enter food name: &#39;)<br>    things = input(&#39;enter a thing name : &#39;)<br>   <br>    print(&#39;Today we picked apple from &#39;+person+ &quot;&#39;s Orchard. I had no idea there were so many different varieties of apples. I ate &quot; +color+ &#39; apples straight off the tree that tested like &#39;+foods+ &#39;. Then there was a &#39;+adjective+ &#39; apple that looked like a &#39; + thing + &#39;.When our bag were full, we went on a free hay ride to &#39;+place+ &#39; and back. It ended at a hay pile where we got to &#39; +verb+ &#39; &#39; +adverb+ &#39;. I can hardly wait to get home and cook with the apples. We are going to make appple &#39;+food+ &#39; and &#39;+things+&#39; pies!.&#39;)</pre><ul><li><strong>input() </strong>It is used to take input from the user</li><li><strong>print()</strong> it prints the text.</li></ul><h4>4. Define Buttons</h4><pre>Button(root, text= &#39;The Photographer&#39;, font =&#39;arial 15&#39;, command= madlib1, bg = &#39;ghost white&#39;).place(x=60, y=120)<br>Button(root, text= &#39;apple and apple&#39;, font =&#39;arial 15&#39;, command = madlib3 , bg = &#39;ghost white&#39;).place(x=70, y=180)<br>Button(root, text= &#39;The Butterfly&#39;, font =&#39;arial 15&#39;, command = madlib2, bg = &#39;ghost white&#39;).place(x=80, y=240)</pre><pre>root.mainloop()</pre><p><strong>Button()</strong> It displays buttons on the window.</p><p><strong>root.mainloop()</strong> is used to run the program.</p><h3>Mad Libs Generator Game Output:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wLh0a9TAMUvAbLoyMZ0vlA.jpeg" /></figure><h4>Summary of the project:</h4><p>The project is successfully completed. We used the Tkinter library for this project. You have created your first game. Surely comment down about the project.</p><blockquote>This is just part 1. Stay tuned for upcoming project ideas and show some love to this series of blogs :)</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fe03566eb4b7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Grid or Flexbox?]]></title>
            <link>https://medium.com/@gdsc.cu/grid-or-flexbox-e112bc585c1c?source=rss-c8eb60562400------2</link>
            <guid isPermaLink="false">https://medium.com/p/e112bc585c1c</guid>
            <category><![CDATA[google]]></category>
            <category><![CDATA[html]]></category>
            <category><![CDATA[css]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[GDSC CU]]></dc:creator>
            <pubDate>Thu, 14 Oct 2021 13:52:23 GMT</pubDate>
            <atom:updated>2021-10-14T13:52:23.479Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*lSO-F09yUfMBDHK9" /></figure><p>While CSS <strong>Flexbox </strong>offers a one-dimensional layout model powerful alignment and space distribution, CSS <strong>Grid </strong>lets you quickly create flexible and two-dimensional layouts.</p><p>They can both be used to place, size, align and architect the website designs.</p><p>But dimensions aren’t the only value proposition between the two. Let’s learn about CSS <strong>Grid </strong>and <strong>Flexbox </strong>together!</p><h3>The Fundamentals</h3><p>The CSS <strong>Grid</strong> Layout offers a two-dimensional grid-based layout system, with rows and columns. It makes designing web pages easier, without having to use floats and positioning.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/908/0*JtLaJC4YqdXhmfFY" /><figcaption><em>Layout design of CSS Grid</em></figcaption></figure><p>The CSS <strong>Flexbox</strong> offers a one-dimensional layout. It is helpful in allocating and aligning the space among items in a container (made of grids). It works with all kinds of display devices and screen sizes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/906/0*nik_mMDczc50VoiV" /><figcaption><em>Layout design of CSS Flexbox</em></figcaption></figure><p>Let’s take a look at the two major points of difference between Flex and Grid</p><h3>One vs Two Dimension</h3><p><strong><em>Grid </em></strong><em>is made for two-dimensional layout while </em><strong><em>Flexbox </em></strong><em>is for one. </em>This means <strong>Flexbox </strong>can work on either row or columns at a time, but <strong>Grids </strong>can work on both.</p><p>When working on either element (row or column), you are most associated with the content. <strong>Flexbox</strong>, here, gives you more flexibility. HTML markup and CSS will be easy to manage in this type of scenario.</p><p>However, when working with the overall web page layouts, CSS <strong>Grid </strong>does away with the nightmares of coding. It gives you more flexibility to move around the blocks irrespective of your HTML markup.</p><h3>Content-First vs Layout-First</h3><p>Another major difference between Flexbox and Grids is that the former works on content while the latter is based on the layout. Let’s take a quick look:</p><p><strong>Flexbox</strong></p><p>Let’s say we want to recreate this design in Flex</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/512/0*-kdnIADmYNH0QpA0" /></figure><p><strong>HTML:</strong></p><pre>&lt;header&gt;</pre><pre>&lt;div&gt;Home&lt;/div&gt;</pre><pre>&lt;div&gt;Search&lt;/div&gt;</pre><pre>&lt;div&gt;Logout&lt;/div&gt;</pre><pre>&lt;/header&gt;</pre><p><strong>CSS:</strong></p><pre>header {</pre><pre>display: flex;</pre><pre>}</pre><pre>header &gt; div:nth-child(3) {</pre><pre>margin-left: auto;</pre><pre>}</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/982/0*pFV-GDRoYUAnKR_P" /></figure><p>Items will place automatically in one line and you don’t have to add anything else except <strong>display: flex ;;</strong> so the items are free to take their appropriate place.</p><p>Let’s see how we will achieve the same design with CSS <strong>Grids</strong>.</p><p>header {</p><p>display: grid;</p><p>grid-template-columns: repeat(10, 1fr);</p><p>}</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/980/0*k_Fj0qPYfuJtyke3" /></figure><p>Although they both look similar, the difference in layout can be seen with Chrome dev tools.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/989/0*qUXiPboZo-IkUvJQ" /></figure><h4><strong>Can you see the grid columns &amp; content? So what did Grid actually do?</strong></h4><p>It divided the wrapper into 10 columns and placed each item into those <strong>grid cells</strong>. It forced us to divide the layout into 10 columns. But this limitation was not there in the flexbox since it adjusts the items automatically.</p><p>We move forward with shifting one element (say, log out) to the extreme right.</p><p>Here’s how we do it.</p><p>header &gt; div:nth-child(3) {</p><p>grid-column: 10;</p><p>}</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/512/0*ocoeqxchK5i1Z5c7" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/989/0*2hKmrM9uM1ZLt8iE" /></figure><p>In this case, we are forcefully moving log out to the last column, which is wrong.</p><p>This is how it will look like when we will combine both the header and other web page blocks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/512/0*IXwMzICk1G_h2UNY" /></figure><h3>Conclusion</h3><ul><li>CSS Grids helps you create the outer layout of the webpage. You can build complex as well responsive design with this. This is why it is called ‘layout first’.</li><li>Flexbox mostly helps align content &amp; move blocks.</li><li>CSS grids are for 2D layouts. It works with both <em>rows </em>and <em>columns</em>.</li><li>Flexbox works better in one dimension only (either rows OR columns).</li><li>It will be more time saving and helpful if you use both at the same time.</li></ul><p>While Grid and Flexbox can be defined as the parent-children element, both have their own strengths and limitations. It is wise to understand their ability before deciding upon which one to choose.</p><p><strong>Congrats … You have learned how to use Flex and Grid, now you can easily design your own website.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e112bc585c1c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[All about HTML and CSS tags]]></title>
            <link>https://medium.com/@gdsc.cu/all-about-html-and-css-tags-d0eccbdea568?source=rss-c8eb60562400------2</link>
            <guid isPermaLink="false">https://medium.com/p/d0eccbdea568</guid>
            <category><![CDATA[developer-student-club]]></category>
            <category><![CDATA[css]]></category>
            <category><![CDATA[google]]></category>
            <category><![CDATA[html]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[GDSC CU]]></dc:creator>
            <pubDate>Mon, 11 Oct 2021 17:11:48 GMT</pubDate>
            <atom:updated>2021-10-11T17:11:48.652Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/880/1*qxLGP021WLMK-0bnmyZq4Q.png" /></figure><h3>What is HTML?</h3><p>HTML stands for HyperText Markup Language. It is a standard markup language for creating Web pages and also describes the structure of a Web page.</p><p>So, basically, HTML consists of a series of elements, and these elements tell the browser how to display the content.</p><p>HTML elements label pieces of content such as “this is a heading”, “this is a paragraph”, “this is a link”, etc.</p><h3>HTML TAGS</h3><p>HTML tags are like keywords that define that how a web browser will format and display the content. With the help of tags, a web browser can distinguish between HTML content and simple content.</p><p>These tags contain three main parts:</p><ul><li>Opening tag</li><li>Content</li><li>Closing tag.</li></ul><h3>Syntax</h3><pre>&lt;tag&gt; content &lt;/tag&gt;</pre><h4>HTML Tag Example:</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/807/1*6fzS81ThngIHfcCih0udEw.png" /></figure><h4><strong>Code:</strong></h4><pre>&lt;!DOCTYPE html&gt;</pre><pre>&lt;html lang=”en”&gt;</pre><pre>&lt;head&gt;</pre><pre>&lt;meta charset=”UTF-8&quot;&gt;</pre><pre>&lt;title&gt;HTML — html tag&lt;/title&gt;</pre><pre>&lt;/head&gt;</pre><pre>&lt;body&gt;</pre><pre>&lt;p&gt;html tag is the root of HTML document.&lt;/p&gt;</pre><pre>&lt;/body&gt;</pre><pre>&lt;/html&gt;</pre><p>Let’s talk about more HTML TAGS…..</p><h4>Unclosed HTML Tags</h4><p>Some HTML tags are not closed, for example, br and hr.</p><p><strong>&lt;br&gt; Tag</strong>: br stands for break line, it breaks the line of the code.</p><p><strong>&lt;hr&gt; Tag</strong>: hr stands for Horizontal Rule. This tag is used to put a line across the webpage.</p><p><strong>HTML Meta Tags</strong></p><p>DOCTYPE, title, link, meta, and style</p><p><strong>HTML Text Tags</strong></p><p>&lt;p&gt;, &lt;h1&gt;, &lt;h2&gt;, &lt;h3&gt;, &lt;h4&gt;, &lt;h5&gt;, &lt;h6&gt;, &lt;strong&gt;, &lt;em&gt;, &lt;abbr&gt;, &lt;acronym&gt;, &lt;address&gt;, &lt;bdo&gt;, &lt;blockquote&gt;, &lt;cite&gt;, &lt;q&gt;, &lt;code&gt;, &lt;ins&gt;, &lt;del&gt;, &lt;dfn&gt;, &lt;kbd&gt;, &lt;pre&gt;, &lt;samp&gt;, &lt;var&gt; and &lt;br&gt;</p><p><strong>HTML Link Tags</strong></p><p>&lt;a&gt; and &lt;base&gt;</p><p><strong>HTML Image and Object Tags</strong></p><p>&lt;img&gt;, &lt;area&gt;, &lt;map&gt;, &lt;param&gt; and &lt;object&gt;</p><p><strong>HTML List Tags</strong></p><p>&lt;ul&gt;, &lt;ol&gt;, &lt;li&gt;, &lt;dl&gt;, &lt;dt&gt; and &lt;dd&gt;</p><p><strong>HTML Table Tags</strong></p><p>table, tr, td, th, tbody, thead, tfoot, col, colgroup, and caption.</p><h4>HTML Tags List</h4><p>Following is the complete list of HTML tags with the description which are arranged alphabetically.</p><h3>HTML Tags by Alphabets</h3><p><strong>&lt;!- -&gt;</strong> This tag is used to apply comments in an HTML document. <strong>&lt;!DOCTYPE&gt; </strong>This tag is used to specify the version of the HTML.</p><h3>A</h3><p><strong>&lt;a&gt; </strong>It is termed an anchor tag and it creates a hyperlink or link.</p><p><strong>&lt;abbr&gt; </strong>It defines an abbreviation for a phrase or longer word.</p><p><strong>&lt;acronym&gt;</strong>It defines an acronym for a word. <strong>(Not supported in HTML5)</strong></p><p><strong>&lt;address&gt;</strong>It defines the author’s contact information of the HTML article</p><p><strong>&lt;applet&gt;</strong>It defines an embedded Java applet. <strong>(Not supported in HTML5)</strong></p><p><strong>&lt;area&gt;</strong>It defines the area of an image map.</p><p><strong>&lt;article&gt;</strong>It defines the self-contained content.</p><p><strong>&lt;aside&gt;</strong>It defines content aside from main content. Mainly represented as a sidebar.</p><p><strong>&lt;audio&gt;</strong>It is used to embed sound content in HTML documents.</p><h3>B</h3><p><strong>&lt;b&gt;</strong>It is used to make the text bold.</p><p><strong>&lt;base&gt;</strong>This tag defines the base URL for all relative URLs within the document.</p><p><strong>&lt;basefont&gt;</strong>This tag is used to set the default font, size, and color for all elements of the document. <strong>(Not supported in HTML5)</strong></p><p><strong>&lt;bdi&gt;</strong>This tag is used to provide isolation for that part of the text which may be formatted in different directions from its surrounding text.</p><p><strong>&lt;bdo&gt;</strong>It is used to override the current text direction.</p><p><strong>&lt;big&gt;</strong>This tag is used to make font size one level larger than its surrounding content. <strong>(Not supported in HTML5)</strong></p><p><strong>&lt;blockquote&gt;</strong>It is used to define content that is taken from another source.</p><p><strong>&lt;body&gt;</strong>It is used to define the body section of an HTML document.</p><p><strong>&lt;br&gt;</strong>It is used to apply a single line break.</p><p><strong>&lt;button&gt;</strong>It is used to represent a clickable button</p><h3>C</h3><p><strong>&lt;canvas&gt;</strong>It is used to provide a graphics space within a web document.</p><p><strong>&lt;caption&gt;</strong>It is used to define a caption for a table.</p><p><strong>&lt;center&gt;</strong>It is used to align the content in the center. <strong>(Not supported in HTML5)</strong></p><p><strong>&lt;cite&gt;</strong>It is used to define the title of the work, book, website, etc.</p><p><strong>&lt;code&gt;</strong>It is used to display a part of programming code in an HTML document.</p><p><strong>&lt;col&gt;</strong>It defines a column within a table that represents common properties of columns and is used with the &lt;colgroup&gt; element.</p><p><strong>&lt;colgroup&gt;</strong>It is used to define a group of columns in a table.</p><h3>D</h3><p><strong>&lt;data&gt;</strong>It is used to link the content with the machine-readable translation.</p><p><strong>&lt;datalist&gt;</strong>It is used to provide a predefined list for input options.</p><p><strong>&lt;dd&gt;</strong>It is used to provide a definition/description of a term in the description list.</p><p><strong>&lt;del&gt;</strong>It defines a text which has been deleted from the document.</p><p><strong>&lt;details&gt;</strong>It defines additional details which users can either view or hide.</p><p><strong>&lt;dfn&gt;</strong>It is used to indicate a term that is defined within a sentence/phrase.</p><p><strong>&lt;dialog&gt;</strong>It defines a dialog box or other interactive components.</p><p><strong>&lt;dir&gt;</strong>It is used as a container for a directory list of files. <strong>(Not supported in HTML5)</strong></p><p><strong>&lt;div&gt;</strong>It defines a division or section within an HTML document.</p><p><strong>&lt;dl&gt;</strong>It is used to define a description list.</p><p><strong>&lt;dt&gt;</strong>It is used to define a term in the description list.</p><h3>E</h3><p><strong>&lt;em&gt;</strong>It is used to emphasize the content applied within this element.</p><p><strong>&lt;embed&gt;</strong>It is used as an embedded container for external files/applications/media, etc.</p><h3><strong>F</strong></h3><p><strong>&lt;fieldset&gt;</strong>It is used to group related elements/labels within a web form.</p><p><strong>&lt;figcaption&gt;</strong>It is used to add a caption or explanation for the &lt;figure&gt; element.</p><p><strong>&lt;figure&gt;</strong>It is used to define the self-contained content and s mostly refer as a single unit.</p><p><strong>&lt;font&gt;</strong>It defines the font, size, color, and face for the content. <strong>(Not supported in HTML5)</strong></p><p><strong>&lt;footer&gt;</strong>It defines the footer section of a webpage.</p><p><strong>&lt;form&gt;</strong>It is used to define an HTML form.</p><p><strong>&lt;frame&gt;</strong>It defines a particular area of a webpage that can contain another HTML file. <strong>(Not supported in HTML5)</strong></p><p><strong>&lt;frameset&gt;</strong>It defines a group of Frames. <strong>(Not supported in HTML5)</strong></p><h3>H</h3><p><strong>&lt;h1&gt; to &lt;h6&gt;</strong>It defines headings for an HTML document from level 1 to level 6.</p><p><strong>&lt;head&gt;</strong>It defines the head section of an HTML document.</p><p><strong>&lt;header&gt;</strong>It defines the header of a section or webpage.</p><p><strong>&lt;hr&gt;</strong>It is used to apply thematic breaks between paragraph-level elements.</p><p><strong>&lt;html&gt;</strong>It represents the root of an HTML document.</p><h3>I</h3><p><strong>&lt;i&gt;</strong>It is used to represent a text in some different voice.</p><p><strong>&lt;iframe&gt;</strong>It defines an inline frame that can embed other content.</p><p><strong>&lt;img&gt;</strong>It is used to insert an image within an HTML document.</p><p><strong>&lt;input&gt;</strong>It defines an input field within an HTML form.</p><p><strong>&lt;ins&gt;</strong>It represents text that has been inserted within an HTML document.</p><p><strong>&lt;isindex&gt;</strong>It is used to display search strings for the current documents. <strong>(Not supported in HTML5)</strong></p><h3>K</h3><p><strong>&lt;kbd&gt;</strong>It is used to define keyboard input.</p><h3>L</h3><p><strong>&lt;label&gt;</strong>It defines a text label for the input field of the form.</p><p><strong>&lt;legend&gt;</strong>It defines a caption for the content of &lt;fieldset&gt;</p><p><strong>&lt;li&gt;</strong>It is used to represent items in the list.</p><p><strong>&lt;link&gt;</strong>It represents a relationship between the current document and an external resource.</p><h3>M</h3><p><strong>&lt;main&gt;</strong>It represents the main content of an HTML document.</p><p><strong>&lt;map&gt;</strong>It defines an image map with active areas.</p><p><strong>&lt;mark&gt;</strong>It represents a highlighted text.</p><p><strong>&lt;marquee&gt;</strong>It is used to insert the scrolling text or an image either horizontally or vertically. <strong>(Not supported in HTML5)</strong></p><p><strong>&lt;menu&gt;</strong>It is used for creating a menu list of commands.</p><p><strong>&lt;meta&gt;</strong>It defines the metadata of an HTML document.</p><p>&lt;<strong>meter&gt;</strong>It defines scalar measurement with a known range or fractional value.</p><h3>N</h3><p><strong>&lt;nav&gt;</strong>It represents a section of the page to represent navigation links.</p><p><strong>&lt;noframes&gt;</strong>It provides alternate content to represent in the browser which does not support the &lt;frame&gt; elements. <strong>(Not supported in HTML5)</strong></p><p><strong>&lt;noscript&gt;</strong>It provides alternative content if a script type is not supported in the browser.</p><h3>O</h3><p><strong>&lt;object&gt;</strong>It is used to embed an object in HTML file.</p><p><strong>&lt;ol&gt;</strong>It defines an ordered list of items.</p><p><strong>&lt;optgroup&gt;</strong>It is used to group the options of a drop-down list.</p><p><strong>&lt;option&gt;</strong>It is used to define options or items in a drop-down list.</p><p><strong>&lt;output&gt;</strong>It is used as a container element that can show the result of a calculation.</p><h3>P</h3><p><strong>&lt;p&gt;</strong>It represents a paragraph in an HTML document.</p><p><strong>&lt;param&gt;</strong>It defines parameter for an &lt;object&gt; element</p><p><strong>&lt;picture&gt;</strong>It defines more than one source element and one image element.</p><p><strong>&lt;pre&gt;</strong>It defines preformatted text in an HTML document.</p><p><strong>&lt;progress&gt;</strong>It defines the progress of a task within an HTML document.</p><h3><strong>Q</strong></h3><p><strong>&lt;q&gt;</strong>It defines a short inline quotation.</p><h3><em>R</em></h3><p><strong>&lt;rp&gt;</strong>It defines alternative content if the browser does not support ruby annotations.</p><p><strong>&lt;rt&gt;</strong>It defines explanations and pronunciations in ruby annotations.</p><p><strong>&lt;ruby&gt;</strong>It is used to represent ruby annotations.</p><h3>S</h3><p><strong>&lt;s&gt;</strong>It renders text which is no longer correct or relevant.</p><p><strong>&lt;samp&gt;</strong>It is used to represent the sample output of a computer program.</p><p><strong>&lt;script&gt;</strong>It is used to declare the JavaScript within an HTML document.</p><p><strong>&lt;section&gt;</strong>It defines a generic section for a document.</p><p><strong>&lt;select&gt;</strong>It represents a control that provides a menu of options.</p><p><strong>&lt;small&gt;</strong>It is used to make text font one size smaller than the document’s base font size.</p><p><strong>&lt;source&gt;</strong>It defines multiple media recourses for different media element such as &lt;picture&gt;, &lt;video&gt;, and &lt;audio&gt; element.</p><p><strong>&lt;span&gt;</strong>It is used for styling and grouping inline.</p><p><strong>&lt;strike&gt;</strong>It is used to render strikes through the text. <strong>(Not supported in HTML5)</strong></p><p><strong>&lt;strong&gt;</strong>It is used to define important text.</p><p><strong>&lt;style&gt;</strong>It is used to contain style information for an HTML document.</p><p><strong>&lt;sub&gt;</strong>It defines a text which displays as a subscript text.</p><p><strong>&lt;summary&gt;</strong>It defines a summary that can be used with &lt;details&gt; tag.</p><p><strong>&lt;sup&gt;</strong>It defines a text which represents as superscript text.</p><p><strong>&lt;svg&gt;</strong>It is used as a container of SVG (Scalable Vector Graphics).</p><h3>T</h3><p><strong>&lt;table&gt;</strong>It is used to present data in tabular form or to create a table within an HTML document.</p><p><strong>&lt;tbody&gt;</strong>It represents the body content of an HTML table and used along with &lt;thead&gt; and &lt;tfoot&gt;.</p><p><strong>&lt;td&gt;</strong>It is used to define cells of an HTML table that contains table data</p><p><strong>&lt;template&gt;</strong>It is used to contain the client-side content which will not display at the time of page load and may render later using JavaScript.</p><p><strong>&lt;textarea&gt;</strong>It is used to define multiple line inputs, such as comments, feedback, and review, etc.</p><p><strong>&lt;tfoot&gt;</strong>It defines the footer content of an HTML table.</p><p><strong>&lt;th&gt;</strong>It defines the head cell of an HTML table.</p><p>&lt;<strong>thead&gt;</strong>It defines the header of an HTML table. It is used along with &lt;tbody&gt; and &lt;tfoot&gt; tags.</p><p><strong>&lt;time&gt;</strong>It is used to define data/time within an HTML document.</p><p><strong>&lt;title&gt;</strong>It defines the title or name of an HTML document.</p><p><strong>&lt;tr&gt;</strong>It defines the row cells in an HTML table</p><p><strong>&lt;track&gt;</strong>It is used to define text tracks for &lt;audio&gt; and &lt;video&gt; elements.</p><p><strong>&lt;tt&gt;</strong>It is used to define teletype text. <strong>(Not supported in HTML5)</strong></p><h3>U</h3><p><strong>&lt;u&gt;</strong>It is used to render enclosed text with an underline.</p><p><strong>&lt;ul&gt;</strong>It defines an unordered list of items.</p><h3>V</h3><p><strong>&lt;var&gt;</strong>It defines variable names used in mathematical or programming contexts.</p><p><strong>&lt;video&gt;</strong>It is used to embed video content with an HTML document</p><h3>W</h3><p><strong>&lt;wbr&gt;</strong>It defines a position within text where a broken line is possible.</p><p>So, now we have learned HTML and the tags used in HTML with examples. Now in the other section, we are going to learn what is CSS and CSS tags.</p><h3>WHAT IS CSS?</h3><p><strong>CSS means Cascading Style Sheets</strong> (<strong>CSS</strong>) is a stylesheet language which is used to describe the presentation of a document written in HTML or XML (including XML dialects such as SVG, MathML or XHTML).</p><p>In simple terms, CSS is used to style webpages, create webpage animations, create shapes, and make the webpage responsive to different device sizes.</p><p>Important:</p><p>It works with HTML files so before learning CSS you must be knowing HTML and HTML tags.</p><h3>Example:</h3><p>Without doing CSS code see how the look of the webpage is.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/729/1*hrNAdEhHP4G0w01SyD9IJg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/687/1*cXwvq35j630pH8mxgaXj9Q.png" /></figure><h4>Output:</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/689/1*eVRb-Q5L5R7XklXkv6KDVA.png" /></figure><p>Now adding CSS code see how the look of the webpage changed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/665/1*RCT3OXXWVeapPaB9nre4vg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/662/1*dpRJ72G0RGy-eAxjpVJrSQ.png" /></figure><h3>Output:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/612/1*YVrIWa9tZ932RX4crJfVbg.png" /></figure><p>You can see how CSS code changes the look of the webpage. Well, this is just a glimpse of what CSS can do, you will be able to do even more after you learn it.</p><h3>Accessing HTML Elements</h3><p>HTML elements need to be accessed so that CSS styles can be applied to them and so that we can get hold of these elements with JavaScript in order to change or manipulate them.</p><h3>Accessing HTML Elements in CSS</h3><p>There are three main methods of accessing or referring to HTML elements in CSS:</p><ul><li>By referring to the HTML element by its HTML tag name, e.g. <strong>p</strong> to refer to the paragraph HTML tag — &lt;p&gt;</li><li>By using an ID, e.g. &lt;p id=”red_text”&gt;Some text&lt;/p&gt;</li><li>By using a class, e.g. &lt;p class=”red_text”&gt;Some text&lt;/p&gt;</li></ul><p>A combination of the above methods can also be used to access an HTML element.</p><p>We will now look at an example of id and classmethods.</p><h4>Reference by ID</h4><p>An ID of a specific name can only be used once on a web page. The name of the ID is chosen by the person writing the HTML and CSS. An ID would normally be used for something like a menu that occurs only once per page. Using an ID also allows JavaScript to access the element using the unique ID.</p><p>This <strong>example code</strong> shows the use of an ID:</p><pre>&lt;!DOCTYPE html&gt;</pre><pre>&lt;html&gt;</pre><pre>&lt;head&gt;</pre><pre>&lt;title&gt;Arduino SD Card Web Page&lt;/title&gt;</pre><pre>&lt;style type=”text/css”&gt;</pre><pre>h1 {</pre><pre>font-family: arial, verdana, sans-serif;</pre><pre>font-size: 16pt;</pre><pre>color: blue;</pre><pre>}</pre><pre>p {</pre><pre>font-family: arial, verdana, sans-serif;</pre><pre>font-size: 12pt;</pre><pre>color: #6B6BD7;</pre><pre>}</pre><pre>#green_small {</pre><pre>font-size: 9pt;</pre><pre>color: green;<br>}</pre><pre>&lt;/style&gt;</pre><pre>&lt;/head&gt;</pre><pre>&lt;body&gt;</pre><pre>&lt;h1&gt;Arduino SD Card Page with CSS&lt;/h1&gt;</pre><pre>&lt;p&gt;Welcome to the Arduino web page with CSS styling.&lt;/p&gt;</pre><pre>&lt;p id=”green_small”&gt;This is a second paragraph.&lt;/p&gt;</pre><pre>&lt;p&gt;This is a third paragraph.&lt;/p&gt;</pre><pre>&lt;/body&gt;</pre><pre>&lt;/html&gt;</pre><p>The above markup code produces the following text on the web page when loaded in a browser:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/372/0*VLhHe8VoqunoBVht" /></figure><p>As can be seen in the above markup, when an HTML element is referred to by its ID, the # character is used before its name in the CSS style:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/165/0*rCVp2unUvxv-dZxD" /></figure><p>This style is then applied to the HTML element with that ID:</p><pre><strong>&lt;p id=”green_small”&gt;This is a second paragraph.&lt;/p&gt;</strong></pre><p>Because it is an ID, it may not be used again on the web page — other IDs may be used, but each must have a unique name.</p><p>Also notice that the ID overrides the <strong>p</strong> default style that applies to all paragraphs. The other paragraphs that do not have an ID are then formatted with the default paragraph style.</p><h4>Reference by Class</h4><p>A class works the same way as an ID, except that it may be used more than once on a web page. A class uses a dot (.) in front of the class name in the CSS style to show that it is referring to a class and not an ID or HTML element.</p><p>The following example shows how to apply a CSS style to HTML elements that have class names.</p><pre>&lt;!DOCTYPE html&gt;</pre><pre>&lt;html&gt;</pre><pre>&lt;head&gt;</pre><pre>&lt;title&gt;Arduino SD Card Web Page&lt;/title&gt;</pre><pre>&lt;style type=”text/css”&gt;</pre><pre>h1 {</pre><pre>font-family: arial, verdana, sans-serif;</pre><pre>font-size: 16pt;</pre><pre>color: blue;</pre><pre>}</pre><pre>p {</pre><pre>font-family: arial, verdana, sans-serif;</pre><pre>font-size: 12pt;</pre><pre>color: #6B6BD7;</pre><pre>}</pre><pre>.red_big {</pre><pre>font-size: 14pt;</pre><pre>color: red;</pre><pre>}</pre><pre>&lt;/style&gt;</pre><pre>&lt;/head&gt;</pre><pre>&lt;body&gt;</pre><pre>&lt;h1&gt;Arduino SD Card Page with &lt;span class=”red_big”&gt;CSS&lt;/span&gt;&lt;/h1&gt;</pre><pre>&lt;p&gt;Welcome to the &lt;span class=”red_big”&gt;Arduino&lt;/span&gt; web page</pre><pre>with &lt;span class=”red_big”&gt;CSS styling&lt;/span&gt;.&lt;/p&gt;</pre><pre>&lt;p&gt;This is a second paragraph.&lt;/p&gt;</pre><pre>&lt;p class=”red_big”&gt;This is a third paragraph.&lt;/p&gt;</pre><pre>&lt;/body&gt;</pre><pre>&lt;/html&gt;</pre><p>The above markup produces the following web page:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/387/0*zcNLe1fU8i3aahNC" /></figure><p>Notice that the class style has been applied both to the HTML <strong>span</strong> tag as well as the HTML <strong>p</strong> (paragraph) tag. The style applied to the HTML elements that have class names overrides the default style.</p><p>The CSS style applied to the HTML elements with the class name <strong>red_big</strong> can be seen here using the dot to show that it is referring to a class:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/170/0*NujuOmKyCBaYPJXi" /></figure><p><strong>Congratulations🎉. You learned about HTML &amp; CSS tags somewhat. As I said you can access HTML Tags with CSS, so learn to explore more and more widgets and build a Website that you want.</strong></p><p>Follow this series on medium, to learn about Complex UI using flex, grides, and other cool geeky stuff.</p><p>If you found this story helpful consider clapping 👏, for queries comment.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d0eccbdea568" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What’s Hacktoberfest and How to Contribute to it?]]></title>
            <link>https://medium.com/@gdsc.cu/whats-hacktoberfest-and-how-to-contribute-to-it-fdce8a0fbc10?source=rss-c8eb60562400------2</link>
            <guid isPermaLink="false">https://medium.com/p/fdce8a0fbc10</guid>
            <category><![CDATA[github]]></category>
            <category><![CDATA[student-clubs]]></category>
            <category><![CDATA[hacktoberfest]]></category>
            <category><![CDATA[google]]></category>
            <category><![CDATA[developer-student-club]]></category>
            <dc:creator><![CDATA[GDSC CU]]></dc:creator>
            <pubDate>Sat, 09 Oct 2021 17:11:53 GMT</pubDate>
            <atom:updated>2021-10-09T17:11:53.250Z</atom:updated>
            <content:encoded><![CDATA[<p>A chance to be part of the open source community and get rewarded for it as well.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*WWlW3sXHY24qETUp" /></figure><h3>What is Hacktoberfest?</h3><p>Hacktoberfest is an annual month-long hackathon event celebrating open source software hosted by DigitalOcean in partnership with Github.<strong> </strong>It’s the biggest Open Source event that encourages newbies to participate in Open Source and create their 1st meaningful PR.</p><h3>Official Rules and Guidelines from DigitalOcean:</h3><ul><li>Pull requests can be made in any participating <strong>GitHub</strong> or <strong>GitLab</strong> hosted repository/projects. Look for the <strong>‘hacktoberfest’</strong> topic to know if a project is participating in Hacktoberfest.</li><li>You can sign up anytime between October 1 and October 31. Just be sure to sign up on the official Hacktoberfest website for your pull requests to count.</li><li>The pull request must contain commits you made yourself.</li><li>If a maintainer reports your pull request as spam, it will not be counted toward your participation in Hacktoberfest.</li><li>A pull request is considered approved once it has an overall approving review from maintainers, or has been merged by maintainers, or has been given the ‘hacktoberfest-accepted’ label.</li></ul><p>So, overall to participate in Hacktoberfest and win the rewards you’ll have to make 4 appropriate Pull Requests so that they either get approved or merged. Don’t worry we’ll be explaining things like Pull Requests as we go and you don’t even need to know how to code to make a meaningful contribution.</p><h3>What You’ll be Winning?</h3><p>The participants will be winning T-shirts, stickers, socks, etc depending on the projects they contribute to.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/880/0*IWumFrangpmpdeRL" /></figure><h3>What Can You Contribute?</h3><p>Hacktoberfest is a global hackathon event open to everyone in the world, you can make a contribution whether you’re a veteran coder or a student learning to code.</p><p>Contributions you can make:</p><ul><li><strong>Documentation: </strong>Good documentation is critical to a project’s development. It’s main focuses are <strong>development, maintenance and knowledge transfer </strong>to other developers. With good documentation, a project can be adopted and contributed to by other devs. It also helps out in ease of use for everyday users.</li><li><strong>Fixing Issues:</strong> Various issues are opened to Hacktoberfest participants with the label hacktoberfest. They can be minor issues requiring small bug fixes or input.</li><li><strong>Adding User Input: </strong>Projects may ask for input from others such as the project I contributed to in this article was a Quiz-Generator and needed questions for it’s question pool.</li></ul><h3>How Can You Contribute?</h3><p>To start contributing, we’ll first set up Git on our machine. Git is not Github, many people confuse the two, Github is a website that hosts projects that use Git.</p><p>Git is a type of <strong>version control system (VCS)</strong> that makes it easier to track changes to files. For example, when you edit a file, git can help you determine exactly <em>what</em> changed, <em>who</em> changed it, and <em>why</em>.</p><p>So, we’ll use Git to make changes on your computer and push those changes online.</p><h3>Installing Git</h3><p><strong>On Windows and macOS:</strong></p><ol><li>Begin downloading the latest Git Release for your respective OS by choosing Windows or macOS from <a href="https://git-scm.com/downloads">Git — Downloads (git-scm.com)</a></li><li>Now, run the installer and I hope you can press the few “Next”s to install git, it’s just that easy.</li></ol><p><strong>On Linux:</strong></p><p>Being a Linux user myself, I know you can figure it out on your own buddy :)</p><h3>Running Git</h3><ol><li>Windows users follow 1(a) and macOS users follow 1(b)</li><li>Open either Windows Terminal or Windows Powershell using the Windows Start Menu.</li><li>Open Terminal using Launchpad</li><li>Verify Git installed successfully by entering and running this command in the terminal.</li></ol><pre>git — version</pre><p>Now this should return something like “git version 5.x.x”, this means Git was installed successfully.</p><p>Next, we register ourselves so that the changes you make will be associated with your name.</p><ol><li>Enter this command with replacing my name with your name in the quotation marks(“”)</li></ol><pre>git config — global user.name “Suraaj Vashisht”</pre><p>Here ‘git’ is the program you’re executing/starting while ‘config — global user.name “Suraaj Vashisht”’ are the arguments that you’re telling your program.</p><ol><li>Enter this command with replacing that random email id with your own email id in the quotation marks(“”)</li></ol><pre>git config — global user.email “suraaj@doesnotexist.com”</pre><p>Now, your Git is set up and ready. Time to get to work</p><h3>Get Yourself Registered</h3><p>Get yourself a <a href="https://github.com/signup">Github</a> Account, if you haven’t already and then get registered at <a href="https://hacktoberfest.digitalocean.com/">Hacktoberfest</a> by clicking on “Start Hacking”.</p><p>p.s. you can use Gitlab too, but for the sake of simplicity, this article will be focused on using Github.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*rBCBlvuC2rwzqWqr" /></figure><h3>Find the Project You Want to Contribute to</h3><p>If you’re familiar with Github and have the coding skills then you can find projects you can contribute to <a href="https://github.com/search?q=state%3Aopen+label%3Ahacktoberfest&amp;type=Issues">here</a>.</p><p>Those not familiar with Github or coding can go <a href="https://github.com/search?q=state%3Aopen+label%3Ahacktoberfest+label%3A%22good+first+issue%22&amp;type=Issues">here</a>. This page has issues with the label “good first issue”, these are issues that are easy and nice to start with.</p><p>Now, choose the issue you want to contribute to, I decided to add some questions to a quiz-generator for this article.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/363/0*L1BIcrVAa0sy_x6j" /></figure><p>For making changes to files, I request you to not use a text editor such as Notepad or TextEdit, they can cause issues. Please use a text editor such as Sublime Text, Atom, VSCode. I’m using VSCode.</p><p>First we’re going to fork the repository, here the “repository” is the place where the files of the project are stored and “fork” means you’re taking a copy of it for yourself online so you can make changes to it while “clone” is a copy that you make locally i.e. you save the copy on your machine.</p><p>Head to the project’s main page and fork it using the “Fork” button.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/126/0*2EHmSVfLzULVKY_2" /></figure><p>Now you should see a copy of the project under your name and to make changes to it, we have to make it available to us on our own machine locally.</p><p>Before we do that, we must set up authentication for our work.</p><h3>Setting up Git Authentication</h3><p>We have to generate a key that’s unique for us. Don’t share the id_rsa file with anyone, it must remain with you as it’s the private key, while you can share id_rsa.pub file as it’s the public key.</p><p>Run this command in the terminal</p><pre>ssh-keygen</pre><p>Let the key be generated at the default location and set a password if you desire.</p><p>Next, run these two commands</p><pre>ssh-agent -s</pre><p><strong>For Windows:</strong></p><pre>ssh-add .\.ssh\id_rsa</pre><p><strong>For macOS:</strong></p><pre>ssh-add .ssh/id_rsa</pre><p>If the above command fails, make sure you’re in the right directory.</p><p>Now it’s time to let Github know about our public key</p><p>First run</p><p><strong>For Windows:</strong></p><pre>explorer .ssh\</pre><p><strong>For macOS:</strong></p><pre>open .ssh/</pre><p>This will open the File Explorer/Finder and you’ll be seeing a hidden folder with a id_rsa.pub file.</p><p>Open the file using a good text editor and copy the contents of id_rsa.pub</p><p>Go to <a href="https://github.com/settings/keys">this page</a> and Click “New SSH key” and paste the contents you copied earlier and add it.</p><p>You completed setting up authentication.</p><p>Now to go back to the main page of your fork, first head to “Your Repositories” which is under your user avatar.</p><p>Make a copy of the fork’s SSH address using this for the next command</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/533/0*24xicZrQGZqJVdas" /></figure><p>Go back to your terminal and run this command but with your fork’s address</p><p>git clone git@github.com:SUNGOLDSV/Quiz-Generator.git</p><p>This will download the files of the repository. The location of the files is written before your command, like this</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/346/0*wHWpgs5fIKI64yjO" /></figure><p>Now, if you go to the location, you’ll find a folder with the same project name you forked. Now make the desired changes in the files of the project using your text editor.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*RXyDpwklfXZV2hD_" /></figure><p>To verify that you made changes in the file, run this command</p><pre>git status</pre><p>The above command should fail as you’re not the folder where all the project files are, so run this command to change directory(folder)</p><pre>cd &lt;folder’s name&gt;</pre><p>Before running this, press the Tab key, Windows/macOS will enter the name of the folder correctly, you can keep pressing the Tab key to change the folders. This is known as command-line completion.</p><p>This should show that a file has been modified like this</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/873/0*_dY7nCFbnmreuu7b" /></figure><p>Now, Git doesn’t know about this changed file and it’ll say it’s untracked or not staged for commit. To add the file to the repository, run this command with your file name and file path</p><pre>git add js/questions.c</pre><p>Run `git status` again and you should see something like this</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/643/0*b1nsKBvfHLKnSJnz" /></figure><p>Now, it’s time to tell Git about the changes you made, before you run the command below. Here “commit” means change and with “-m” you’re telling git about the commit message.</p><pre>git commit -m “Add new questions and fix syntax issues”</pre><p>You should see something like this if it was a successful commit</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/0*PtwMFuPV2S1kNCNO" /></figure><p>Now the changes you made were saved on your computer i.e. they were local changes, now you need to send the changes to the online repository i.e the remote repository.</p><p>Run this command to send your changes</p><pre>git push</pre><p>You should see a successful push like this</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/847/0*PrEsvM0KO3pfrxTM" /></figure><p>Now go to your repository online on Github and you should see your commit like this.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*1uORzJZpxxkOQt9v" /></figure><p>Finally to make a Pull Request i.e. send your changes to the original project, click on Contribute and open Pull Request.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*IBweI-m3AVdEw3UG" /></figure><p>“Able to merge” is a good sign that your changes are valid and can be merged.</p><p>Select “Create Pull Request” and later even add a helpful comment about your PR like mentioning the issue number.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*GIaqwggxZfESEllk" /></figure><p>If your PR is acceptable to maintainers, they will either merge it or mark it with the label “hacktoberfest-accepted”, which makes the PR count.</p><p>You’re now done with 1 out of 4 PRs, time to go on contributing<strong>.</strong></p><p><strong>Happy Hacktoberfest :)</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fdce8a0fbc10" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[GDSC CU Insights — “September Month”]]></title>
            <link>https://medium.com/@gdsc.cu/gdsc-cu-insights-september-month-aa233ec95669?source=rss-c8eb60562400------2</link>
            <guid isPermaLink="false">https://medium.com/p/aa233ec95669</guid>
            <category><![CDATA[developer-student-club]]></category>
            <category><![CDATA[google]]></category>
            <category><![CDATA[github]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[google-cloud-platform]]></category>
            <dc:creator><![CDATA[GDSC CU]]></dc:creator>
            <pubDate>Fri, 01 Oct 2021 09:31:57 GMT</pubDate>
            <atom:updated>2021-10-01T09:31:57.793Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/295/1*RLho3yltB9qJVDyOcjqP-A.png" /></figure><h3><strong>GDSC CU Insights — “September Month”</strong></h3><p>For students in universities who’re inquisitive about Google Developer technologies, the Google Developer Student Club is the proper community for them to amplify their expertise in the peer learning environment and create solutions for local businesses and other communities. We invite students from all undergraduate and graduate programs with the spirit of development to this network.</p><p>Google developer Student Clubs — Chandigarh University is the biggest community in the university campus, with over 1,400 active members. The club provides its members with a wide space to grow through several events and campaigns.</p><p>And here is the Insight of events and campaigns of this community for the month of September.</p><p>Each club begins with the core team formation, as if a building needs a firm base as its foundation.</p><h4><strong>Recruitment of Core team</strong></h4><p>Students had to give an application, and the selected one had a telephonic interview. 14 candidates with the right skills and spirit were shortlisted as core team members of GDSC CU. The core team has the members for each technical and non-technical role. And not just taking it as a role, these versatile individuals work collectively to help others to gain heights under this club.</p><p>Was taking roles and responsibilities enough? Not just to that, we had our next session to dive deep with the roadmaps and directions to be followed to make our best.</p><h4><strong>Orientation Session</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/593/1*Gfr-ghMGo2VwEHH6w3yx7A.png" /></figure><p>The first huge session, which was a good start, was the <a href="https://medium.com/@gdsc.cu/get-onboard-orientation-session-chandigarh-university-54127084cbce">orientation session</a> for the members of the community, where the roadmap for the year, mission and vision of the community and the surprises were revealed and explained. Introducing the new core members to the community and gathering more members made it all.</p><p>On to the surprise list comes the first! And why not grab the opportunity of the best of both worlds?</p><h4><strong>Github Streak Challenge</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*N0U7L76LiWe5UVwdY3rpOg.jpeg" /></figure><p>Nowadays, a good GitHub account represents the best CV or business card you could ever have. With this you can show your skills, your mindset as a developer, and your attitude to collaborate with others so to promote this a creative approach was taken. Github streak challenge was one such challenge, in which one has to create a 7 days streak on GitHub to get featured on official social links of GDSC-CU. To take part and get perks is the enormous secret to one’s growth, and this challenge gives a motive and reward for their work for the entire week, by getting featured on to the gdsc platforms.</p><p>On to the surprise list comes the second!!</p><h4><strong>Glinthub</strong></h4><p>All the developers face issues while buying the domain for a website or publishing the application in stores. Being a student, everyone can’t spend on the same, and so GDSC-CU is here with Glinthub, a platform to host and publish all our projects for FREE. This gesture provides confidence to all developers within the club.</p><p>Spotting a project available for the public and managing it in real-time gives a unique feeling and even outshines in one&#39;s resume. Taking charge of all the costs involved in publishing and hosting has opened the wings of many developers, start-ups, and businesses.</p><h4><strong>Win the Weekend</strong></h4><p>What is better than winning the opportunity of getting featured by just giving quizzes on a weekend?</p><p>Agree to all the struggle we have with these less productive weekends just slaying the couch, and once you are a member of GDSC we assure to make it productive by just answering quizzes and learn new things while doing the same and getting featured on Monday</p><p><em>On getting featured, don’t forget to swank it on your connections and social media</em>.😉</p><h4><strong>The Fluttery Show for the Core Team Members</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*IwS68dKozIac2_mGKyjU8w.jpeg" /></figure><p>Once you’re in a team,team, it’s not that you are super skilled, we got to brush our perfections too. And so this session was mainly for the core team members to gain the basic knowledge of flutter and create applications using the same.</p><p>Do not know what <a href="https://medium.com/@gdsc.cu/complete-flutter-basics-932c3a88775e">flutter</a> is?</p><p><a href="https://medium.com/@gdsc.cu/complete-flutter-basics-932c3a88775e">Flutter</a> is very much hyped among new app developers, just because it is a cross-platform framework that delivers performance near to the native applications.</p><h4><strong>30 Days of Google Cloud Program</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/660/1*jkHlx6Ybt-tlvXNq861T5g.jpeg" /></figure><p>Google students developers club — Chandigarh University brings you the ’30 Days Of Google Cloud’ program scheduled from 27th September 2021 to 27th October 2021; to up-skill your Google Cloud Skills by learning hand-on lab experience on Qwiklabs.A great opportunity to unlock all the learning material and labs available on qwiklabs.</p><p>This program provides you with ‘FREE’ hands-on training, where you’ll also get to learn GCP live from our cloud facilitator, Ansh.</p><h4><strong>GDSC CU Volunteers Recruitment</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/571/1*ZtolM8BzR03k1U4d4OD1cw.png" /></figure><p>To volunteer in the club to work on different projects under the mentorship of the skilled team working closely with the GDSC in Chandigarh University is a golden opportunity one can get . The volunteers for the club were selected for the technical and non-technical domains based on their skills and tricks to grow the community.</p><p>Each volunteer is allotted a mentor from the core team to guide them through their journey. At the end of tenure for 2 months, the best volunteer will be placed in the core team to mark their growth and spectacular performance.</p><h4><strong>Hacktoberfest Git &amp; Github Event</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/978/1*oNGUyXYoYy1SjAEmbewDRA.png" /></figure><p>GDSC CU had brought the best way to a fresh start to our winter with “Hacktoberfest”. Mr.Harshvardhan Singh, Hacktoberfest mentor, guided us in the workshop and imparted absolute knowledge about Git &amp; GitHub to mold us into an ever-ready comrade for any technical war.</p><p>Making this workshop fruitful for both newbies and experts in open-source, the workshop covered the insight of Hacktoberfest, how to take part and contribute to the open source and win your cool Hacktoberfest T-shirt. This workshop made the evening of 30th September so exciting for the open-source enthusiasts.</p><blockquote><strong>Wrap Up</strong></blockquote><p><em>And that’s now a wrap of the insights. Not too far, not behind to lead. This was all our work in progress that we gave to you in September.</em></p><p><em>Here comes Mr. Techtober, to give it a fresh, fiery hit and to work our fingers to the bone</em></p><p><em>To strengthen and grow,</em></p><p><em>To work more, to and fro,</em></p><p><em>Steps to gain in and leave behind the flaws,</em></p><p><em>We strived and will strive to maintain and provide the best to the bests.</em></p><p>Google developer student club- Chandigarh University is working great to give the best opportunities to all developers out there! The community takes care that everyone grows together to become better than tomorrow!!</p><blockquote>Stay tuned for the next amazing blog on the way!</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aa233ec95669" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>