Search Header Logo
ChatGPT for Web Design - Create Amazing Websites - Applying JavaScript: Smooth Scroll and Image Slider

ChatGPT for Web Design - Create Amazing Websites - Applying JavaScript: Smooth Scroll and Image Slider

Assessment

Interactive Video

•

Information Technology (IT), Architecture

•

University

•

Practice Problem

•

Hard

Created by

Wayground Content

FREE Resource

This tutorial guides users through creating a smooth scrolling navigation bar and an image slider using HTML, CSS, and JavaScript. It covers modifying the navigation bar to enable smooth scrolling, integrating JavaScript for functionality, and setting up an image slider with additional features like navigation buttons. The tutorial emphasizes using ChatGPT for code generation and adjustments.

Read more

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What was the initial issue with the navigation bar that needed fixing?

It was not visible on the page.

It was not scrolling to the correct section.

It was overlapping with the image slider.

It was not linked to any JavaScript file.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What tool was used to modify the HTML code for the navigation bar?

Sublime Text

Atom

ChatGPT

Visual Studio Code

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which JavaScript function was suggested for smooth scrolling?

scrollIntoView

scrollTo

scrollBy

scrollSmooth

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Where is it best practice to place the JavaScript link in an HTML file?

In the head tag

At the bottom of the body tag

At the top of the body tag

In a separate HTML file

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What was the purpose of using OpenAI's image generation?

To create a background image for the homepage

To generate icons for the navigation bar

To find images for the web design portfolio

To create a new logo for the website

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What was the main transformation applied to the images in the portfolio section?

They were resized to fit the screen.

They were linked to external websites.

They were converted into an image slider.

They were given a border and shadow.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What additional feature was added to the image slider for better navigation?

Automatic image rotation

Image captions

Navigation buttons

Image zoom functionality

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?