HTML/JavaScript Web Application Answers

Questions: 588

Answers by our Experts: 588

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

1. Add code to the HTML file to reference the script.js file using best practices. Other than this, do not modify either the HTML or CSS file. 2. In the script.js file set strict mode for JavaScript. 3. Create a new h3 element with your name in it and insert it before the first paragraph. 4. In the footer, add a cite element with the text "Information and photos from Wikipedia" where "Wikipedia" is a link to the page "https://en.wikipedia.org/wiki/Bumblebee". 5. console.log the number of paragraphs with some descriptive text (open the browser console to see the output). 6. Add the class "special" to the second h2 element. 7. Select all the figcaptions and make the font italic. (This will require a for loop.) 8. Once complete, use Zip to compress the whole folder (including all files) and submit the zip file.


Using multi dimensional arrays, create an array that will store 10 items of stock with brand name. Number of stock in store and Quantity sold

Bike Search

The goal of this coding exam is to quickly get you off the ground with HTML search input element and Bootstrap spinner

Use the below reference image

https://assets.ccbp.in/frontend/content/dynamic-webapps/bike-search-op.gif

HTML

<!DOCTYPE html>

<html>

  <head></head>

 <body>

  Your code

 </body>

</html>

Instructions

  • Add the id searchInput to the HTML input element
  • Add the id searchResults to the HTML container element

Achieve the design with HTML, CSS, and functionality with JS

  • When the page is opened or a value is entered in the HTML input element with id searchInput and press on Enter key
  • Make an HTTP Request (GET method) using Fetch with URL https://apis.ccbp.in/city-bikes?bike_name=
  • The value entered in the HTML input element with id searchInput should be the value for the query parameter of the given URL
  • Add the loading status with the Bootstrap component spinner while making HTTP Request (GET method) as shown in the image.

Create an HTML & CSS quick-reference guide that covers all of the tags we've covered so far (and a few extras) with a description of how to use them and code examples.

  • Use an external stylesheet.
  • Be creative with your styling, but keep it professional.
  • Use the <code> and <pre> HTML tags to include code examples.
  • Include a minimum of 10 HTML tags.
  • Include a minimum of 8 CSS properties.
  • Include a variety of different headers.
  • Make sure the code is indented and spaced properly.

Create a new index.html file and include the following:

  • All of the mandatory structural elements.
  • Six headings using all of the <h> tags.
  • A paragraph of text underneath your headings.
  • Make sure the code is indented and spaced properly.
  • Add comments explaining what each element does.

Nature View

The goal of this coding exam is to quickly get you off the ground with the media feature orientation with different values

Refer to the below images

In portrait mode

https://assets.ccbp.in/frontend/content/intermediate-rwd/nature-view-op-portrait.png

In landscape mode

https://assets.ccbp.in/frontend/content/intermediate-rwd/nature-view-op-landscape.png

  • The given pre-filled code is of in portrait mode.
  • Apply media query to the screen devices such that when the width of the viewport is greater than the height then
  • The background image for the CSS class selector with the name nature-view-container should be the same as shown in the reference image.
  • The background color for the HTML button should be changed.
  • The font-size for the HTML heading element should be of 48px.

Resources

Use the image URL given below.

  • https://assets.ccbp.in/frontend/content/intermediate-rwd/nature-view-landscape.png

Responsive Header

Refer to the below images

Extra Small (Size < 576px), Small (767 >= 576px):

https://assets.ccbp.in/frontend/content/intermediate-rwd/responsive-header-op-mobile-v2.png

Medium (Size >= 768px), Large (Size >= 992px) and Extra Large (Size >= 1200px):

https://assets.ccbp.in/frontend/content/intermediate-rwd/responsive-header-op-desktop.png

  • Add the necessary HTML elements to the HTML container element with the class mobile-nav-items-container
  • Apply media query to extra small and small screen devices such that the CSS class selector with the name header should have desired flexbox property and value.
  • Apply media query to medium and above screen devices such that the output should be the same as shown in the respective reference image.

Resources

Use the image URLs given below.

  • https://assets.ccbp.in/frontend/content/intermediate-rwd/home-v3.png
  • https://assets.ccbp.in/frontend/content/intermediate-rwd/bookmark-v3.png
  • https://assets.ccbp.in/frontend/content/intermediate-rwd/upload-v3.png








Responsive Layout

Refer to the below image

Extra Small (Size < 576px), Small (Size >= 576px):

https://assets.ccbp.in/frontend/content/intermediate-rwd/responsive-layout-op-mobile.png

Medium (Size >= 768px), Large (Size >= 992px) and Extra Large (Size >= 1200px):

https://assets.ccbp.in/frontend/content/intermediate-rwd/responsive-layout-op-desktop.png

  • The given pre-filled code is of extra small and small devices.
  • Apply media query to the medium and above screen devices such that
  • The CSS class selector with the name menu-and-body-container should have desired flexbox property and value such that output should be the same as shown in the reference image.
  • The font-sizes for the heading text of the navbar, menu, body and footer sections should be 24px.
  • The heading text of the navbar, menu, body, and footer should align to the left of the respective container.








The goal of this coding exam is to quickly get you off the ground with All Syntaxes Of Event Listeners

Use the below reference image

https://assets.ccbp.in/frontend/content/dynamic-webapps/all-syntaxes-of-event-listeners-op.gif

HTML

<!DOCTYPE html>

<html>

 <head>

  </head>

 <body>

  <div class="text-center">

   <p class="message-text" id="message"></p>

   <button onclick="inlineEventListener()" class="btn-primary mb-3">

    Button with Inline event listener

   </button>

   <button id="onEventListenerBtn" class="btn-secondary mb-3">

    Button with onevent listener

   </button>

   <button id="addEventListenerBtn" class="btn-warning mb-3">

    Button with addEventListener

   </button>

  </div>

 </body>

</html>






Hourly Stop Watch

The goal of this coding exam is to quickly get you off the ground with the clearInterval and setInterval.

Refer to the below image.

https://assets.ccbp.in/frontend/content/react-js/hourly-stop-watch-op.gif

HTML

<!DOCTYPE html>

<html>

<head></head>

<body>

  <div class="text-center">

    <p class="timer">

      <span id="minutes">00</span>:<span id="seconds">00</span>

    </p>

    <button class="bg-start-button button" id="startBtn">

      Start

    </button>

    <button class="bg-stop-button button" id="stopBtn">

      Stop

    </button>

  </div>

</body>

</html>






LATEST TUTORIALS
APPROVED BY CLIENTS