Skip to content

Instantly share code, notes, and snippets.

Quiz Java Script

1 [10%] Equality of numbers

    The following expression yields the boolean value true:

            (1 + 2 === 3)

    while the following expression yields false:

Title: Create Employee Profile Form with Relevant Fields

Description: As a user, I want to be able to create an employee profile form with relevant fields using HTML and JavaScript. Once the form data is entered, I expect the entered data to be displayed in a grid below the form.

Acceptance Criteria:

Design and implement an HTML form with the following fields:

  • First Name (text input)
  • Last Name (text input)
@snvastaffing
snvastaffing / Closures.md
Last active June 8, 2023 19:20
Closures for cure !

WHy closures are required in java script

<!-- Why we need closures  -->

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
@snvastaffing
snvastaffing / Readme.md
Created June 7, 2023 17:25
creating a profile puller utility using the GitHub API, the fetch method, HTML, and Bootstrap

getGituser

Title: Create Profile Puller Utility

Description: As a developer, I want to create a profile puller utility that retrieves user profiles from the GitHub API using the fetch method. The utility should display the retrieved profiles in a visually appealing manner using HTML and Bootstrap.

Acceptance Criteria:

  • The utility should have a text input field to enter a GitHub username.
  • Upon submitting a username, the utility should retrieve the user's profile data from the GitHub API using the fetch method.
  • The retrieved profile data should be displayed in a visually appealing manner, utilizing HTML and Bootstrap.

Interview Questions

Node.js

Q1: What do you mean by Asynchronous API? ☆☆

Answer: All APIs of Node.js library are aynchronous that is non-blocking. It essentially means a Node.js based server never waits for a API to return data. Server moves to next API after calling it and a notification mechanism of Events of Node.js helps server to get response from the previous API call.

Source: tutorialspoint.com